diff options
author | kristerw <kristerw@pkgsrc.org> | 2002-12-14 15:14:26 +0000 |
---|---|---|
committer | kristerw <kristerw@pkgsrc.org> | 2002-12-14 15:14:26 +0000 |
commit | 793e97cbb6f43fe7cac3a796ff6bc18061bda0f8 (patch) | |
tree | 94d54dd473440c562fd790c22ad445a2f30cd0d5 /emulators/xmess/patches | |
parent | 148665ba3f628bc3dff3794abff8c957cb63f834 (diff) | |
download | pkgsrc-793e97cbb6f43fe7cac3a796ff6bc18061bda0f8.tar.gz |
Update xmess to 0.62.1 (rc3)
Changes since last packaged version are mainly that the emulation core
is based on MAME 0.62, together with random bugfixes.
Diffstat (limited to 'emulators/xmess/patches')
-rw-r--r-- | emulators/xmess/patches/patch-aa | 2 | ||||
-rw-r--r-- | emulators/xmess/patches/patch-ab | 20 | ||||
-rw-r--r-- | emulators/xmess/patches/patch-ac | 60 | ||||
-rw-r--r-- | emulators/xmess/patches/patch-ad | 2 | ||||
-rw-r--r-- | emulators/xmess/patches/patch-ae | 48 |
5 files changed, 25 insertions, 107 deletions
diff --git a/emulators/xmess/patches/patch-aa b/emulators/xmess/patches/patch-aa index 0fab76f2388..f538327596f 100644 --- a/emulators/xmess/patches/patch-aa +++ b/emulators/xmess/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.14 2002/01/03 00:19:01 kristerw Exp $ +$NetBSD: patch-aa,v 1.15 2002/12/14 15:14:26 kristerw Exp $ --- makefile.unix.orig Wed Jan 2 01:32:01 2002 +++ makefile.unix Wed Jan 2 18:44:08 2002 @@ -32,7 +32,6 @@ diff --git a/emulators/xmess/patches/patch-ab b/emulators/xmess/patches/patch-ab deleted file mode 100644 index 056bba006f9..00000000000 --- a/emulators/xmess/patches/patch-ab +++ /dev/null @@ -1,20 +0,0 @@ -$NetBSD: patch-ab,v 1.6 2002/01/12 22:53:16 kristerw Exp $ ---- src/unix/unix.mak.orig Sun Jan 6 03:44:58 2002 -+++ src/unix/unix.mak Sun Jan 6 19:01:36 2002 -@@ -214,7 +214,16 @@ - endif - ifdef JOY_USB - CONFIG += -DUSB_JOYSTICK -+ifeq ($(ARCH), netbsd) -+ifeq ($(shell test -f /usr/include/usbhid.h && echo have_usbhid), have_usbhid) -+CONFIG += -DHAVE_USBHID_H -+MY_LIBS += -lusbhid -+else - MY_LIBS += -lusb -+endif -+else -+MY_LIBS += -lusb -+endif - endif - - ifdef EFENCE diff --git a/emulators/xmess/patches/patch-ac b/emulators/xmess/patches/patch-ac deleted file mode 100644 index 2dbcdc1a106..00000000000 --- a/emulators/xmess/patches/patch-ac +++ /dev/null @@ -1,60 +0,0 @@ -$NetBSD: patch-ac,v 1.1 2002/01/12 22:53:16 kristerw Exp $ ---- src/unix/joystick-drivers/joy_usb.c.orig Wed Jan 2 03:45:55 2002 -+++ src/unix/joystick-drivers/joy_usb.c Sun Jan 6 22:17:55 2002 -@@ -21,7 +21,11 @@ - #endif - - #if defined(__ARCH_netbsd) -+#ifdef HAVE_USBHID_H -+#include <usbhid.h> -+#else - #include <usb.h> -+#endif - #elif defined(__ARCH_freebsd) - #include <libusb.h> - #endif -@@ -69,7 +73,7 @@ - - static int joy_initialize_hid(int i) - { -- int size, is_joystick, report_id; -+ int size, is_joystick, report_id = 0; - struct hid_data *d; - struct hid_item h; - report_desc_t rd; -@@ -82,7 +86,19 @@ - - priv_joy_data[i].hids = NULL; - -+#ifdef HAVE_USBHID_H -+ if (ioctl(joy_data[i].fd, USB_GET_REPORT_ID, &report_id) < 0) -+ { -+ fprintf(stderr_file, "error: /dev/uhid%d: %s", i, strerror(errno)); -+ return FALSE; -+ } -+ -+ size = hid_report_size(rd, hid_input, report_id); -+ priv_joy_data[i].offset = 0; -+#else - size = hid_report_size(rd, hid_input, &report_id); -+ priv_joy_data[i].offset = (report_id != 0); -+#endif - if ((priv_joy_data[i].data_buf = malloc(size)) == NULL) - { - fprintf(stderr_file, "error: couldn't malloc %d bytes\n", size); -@@ -90,10 +106,14 @@ - return FALSE; - } - priv_joy_data[i].dlen = size; -- priv_joy_data[i].offset = (report_id != 0); - - is_joystick = 0; -+#ifdef HAVE_USBHID_H -+ for (d = hid_start_parse(rd, 1 << hid_input, report_id); -+ hid_get_item(d, &h); ) -+#else - for (d = hid_start_parse(rd, 1 << hid_input); hid_get_item(d, &h); ) -+#endif - { - int axis, usage, page, interesting_hid; - diff --git a/emulators/xmess/patches/patch-ad b/emulators/xmess/patches/patch-ad index 7fb26aacd46..54f008fdfbd 100644 --- a/emulators/xmess/patches/patch-ad +++ b/emulators/xmess/patches/patch-ad @@ -1,4 +1,4 @@ -$NetBSD: patch-ad,v 1.1 2002/12/07 21:00:09 kristerw Exp $ +$NetBSD: patch-ad,v 1.2 2002/12/14 15:14:27 kristerw Exp $ --- src/unix/video-drivers/blit.h.orig Sat Dec 7 03:00:00 2002 +++ src/unix/video-drivers/blit.h Sat Dec 7 03:02:49 2002 @@ -156,6 +156,7 @@ diff --git a/emulators/xmess/patches/patch-ae b/emulators/xmess/patches/patch-ae index cbe8d07ee91..6f3d31f3f5e 100644 --- a/emulators/xmess/patches/patch-ae +++ b/emulators/xmess/patches/patch-ae @@ -1,30 +1,28 @@ -$NetBSD: patch-ae,v 1.4 2001/09/02 23:04:24 kristerw Exp $ ---- doc/xmamerc.dist.orig Mon Jul 2 02:03:49 2001 -+++ doc/xmamerc.dist Mon Sep 3 00:34:24 2001 -@@ -70,20 +70,18 @@ +$NetBSD: patch-ae,v 1.5 2002/12/14 15:14:27 kristerw Exp $ +--- doc/xmessrc.dist.orig Tue Dec 10 05:58:31 2002 ++++ doc/xmessrc.dist Sat Dec 14 15:46:29 2002 +@@ -69,16 +69,16 @@ mouse 1 ### Fileio Related ### --rompath /usr/games/lib/xmame --spooldir /usr/games/lib/xmame -+rompath @ROMPATH@ -+spooldir @SPOOLDIR@ - screenshotdir . --cheatfile /usr/games/lib/xmame/cheat.dat --hiscorefile /usr/games/lib/xmame/hiscore.dat --historyfile /usr/games/lib/xmame/history.dat --mameinfofile /usr/games/lib/xmame/mameinfo.dat -+cheatfile @SPOOLDIR@/cheat.dat -+hiscorefile @SPOOLDIR@/hiscore.dat -+historyfile @SPOOLDIR@/history.dat -+mameinfofile @SPOOLDIR@/mameinfo.dat +-biospath /usr/games/lib/xmess/bios +-softwarepath /usr/games/lib/xmess/software +-CRC_directory /usr/games/lib/xmess/crc +-hiscore_directory /usr/games/lib/xmess/hiscore ++biospath @ROMPATH@/bios ++softwarepath @ROMPATH@/software ++CRC_directory @ROMPATH@/crc ++hiscore_directory @SPOOLDIR@/hiscore + snapshot_directory . +-cheat_directory /usr/games/lib/xmess/cheat ++cheat_directory @SPOOLDIR@/cheat + cheatfile cheat.cdb +-hiscore_file /usr/games/lib/xmess/hiscore.dat +-history_file /usr/games/lib/xmess/history.dat +-mameinfo_file /usr/games/lib/xmess/mameinfo.dat ++hiscore_file @SPOOLDIR@/hiscore.dat ++history_file @SPOOLDIR@/history.dat ++mameinfo_file @SPOOLDIR@/mameinfo.dat - ### Mame Related ### --defaultgame pacman + ### Mess Related ### language english - fuzzycmp 1 - cheat 0 --debug 0 - - ### Frontend Related ### - clones 1 |