summaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-11-15 18:12:36 +0000
committerijliao <ijliao@FreeBSD.org>2002-11-15 18:12:36 +0000
commitf962f60edbfa061acefcefe77c21b88baa50cdfd (patch)
tree53e105b73289f8fb46c377ee7e8e52559f5c8506 /emulators
parentd486d9eb3236b5a1e4f98d2557939fcad4c23592 (diff)
downloadFreeBSD-ports-f962f60edbfa061acefcefe77c21b88baa50cdfd.zip
FreeBSD-ports-f962f60edbfa061acefcefe77c21b88baa50cdfd.tar.gz
- Update of xmame and xmess to 0.61.1
- Update datfiles to latest version - Use master site sorting for WITH_DATFILES - (hopefully) fix pkg-plist issues PR: 45292 Submitted by: mainatiner
Diffstat (limited to 'emulators')
-rw-r--r--emulators/xmame/files/patch-makefile.unix15
-rw-r--r--emulators/xmame/files/patch-src::unix::dsp-drivers::oss.c13
-rw-r--r--emulators/xmame/files/patch-src::unix::joystick-drivers::joy_usb.c38
-rw-r--r--emulators/xmame/files/patch-src::unix::sysdep::mixer-drivers::oss.c13
-rw-r--r--emulators/xmame/files/patch-src::unix::unix.mak56
-rw-r--r--emulators/xmame/files/patch-src::unix::video-drivers::svgainput.c13
-rw-r--r--emulators/xmess/files/patch-makefile.unix15
-rw-r--r--emulators/xmess/files/patch-src::unix::dsp-drivers::oss.c13
-rw-r--r--emulators/xmess/files/patch-src::unix::joystick-drivers::joy_usb.c46
-rw-r--r--emulators/xmess/files/patch-src::unix::sysdep::mixer-drivers::oss.c13
-rw-r--r--emulators/xmess/files/patch-src::unix::unix.mak56
-rw-r--r--emulators/xmess/files/patch-src::unix::video-drivers::svgainput.c13
12 files changed, 0 insertions, 304 deletions
diff --git a/emulators/xmame/files/patch-makefile.unix b/emulators/xmame/files/patch-makefile.unix
deleted file mode 100644
index 9e54977..0000000
--- a/emulators/xmame/files/patch-makefile.unix
+++ /dev/null
@@ -1,15 +0,0 @@
---- makefile.unix.orig Fri May 3 02:53:55 2002
-+++ makefile.unix Thu Oct 31 12:40:33 2002
-@@ -363,6 +363,12 @@
- # XINPUT_DEVICES = 1
-
- ##############################################################################
-+# *** SDL options, only needed for SDL as display method
-+##############################################################################
-+# *** The name of your sdl-config executable
-+SDL_CONFIG = sdl-config
-+
-+##############################################################################
- # *** OpenGL info -- configure if you are using the xgl display option
- ##############################################################################
- GLLIBS= -ldl
diff --git a/emulators/xmame/files/patch-src::unix::dsp-drivers::oss.c b/emulators/xmame/files/patch-src::unix::dsp-drivers::oss.c
deleted file mode 100644
index 67a8e0f..0000000
--- a/emulators/xmame/files/patch-src::unix::dsp-drivers::oss.c
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/unix/sysdep/dsp-drivers/oss.c.orig Fri May 3 02:53:54 2002
-+++ src/unix/sysdep/dsp-drivers/oss.c Thu Oct 31 12:46:35 2002
-@@ -29,9 +29,7 @@
- #include <sys/types.h>
- #include <sys/stat.h>
- #include <sys/ioctl.h>
--#ifdef __ARCH_freebsd
--#include <machine/soundcard.h>
--#elif defined (__ARCH_openbsd)
-+#if defined (__ARCH_openbsd)
- #include <soundcard.h>
- #else
- #include <sys/soundcard.h>
diff --git a/emulators/xmame/files/patch-src::unix::joystick-drivers::joy_usb.c b/emulators/xmame/files/patch-src::unix::joystick-drivers::joy_usb.c
deleted file mode 100644
index 3a2f450..0000000
--- a/emulators/xmame/files/patch-src::unix::joystick-drivers::joy_usb.c
+++ /dev/null
@@ -1,38 +0,0 @@
---- src/unix/joystick-drivers/joy_usb.c.orig Fri May 3 02:53:54 2002
-+++ src/unix/joystick-drivers/joy_usb.c Thu Oct 31 13:17:45 2002
-@@ -27,8 +27,12 @@
- #include <usb.h>
- #endif
- #elif defined(__ARCH_freebsd)
-+#ifdef HAVE_USBHID_H
-+#include <libusbhid.h>
-+#else
- #include <libusb.h>
- #endif
-+#endif
- #include <dev/usb/usb.h>
- #include <dev/usb/usbhid.h>
-
-@@ -87,11 +91,13 @@
- priv_joy_data[i].hids = NULL;
-
- #ifdef HAVE_USBHID_H
-+#if defined(__ARCH_netbsd) || (defined(__ARCH_freebsd) && __FreeBSD_version > 500000)
- 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;
- }
-+#endif
-
- size = hid_report_size(rd, hid_input, report_id);
- priv_joy_data[i].offset = 0;
-@@ -108,7 +114,7 @@
- priv_joy_data[i].dlen = size;
-
- is_joystick = 0;
--#ifdef HAVE_USBHID_H
-+#if defined(__ARCH_netbsd) && defined(HAVE_USBHID_H)
- for (d = hid_start_parse(rd, 1 << hid_input, report_id);
- hid_get_item(d, &h); )
- #else
diff --git a/emulators/xmame/files/patch-src::unix::sysdep::mixer-drivers::oss.c b/emulators/xmame/files/patch-src::unix::sysdep::mixer-drivers::oss.c
deleted file mode 100644
index 0b85c3d..0000000
--- a/emulators/xmame/files/patch-src::unix::sysdep::mixer-drivers::oss.c
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/unix/sysdep/mixer-drivers/oss.c.orig Fri May 3 02:53:54 2002
-+++ src/unix/sysdep/mixer-drivers/oss.c Thu Oct 31 12:46:55 2002
-@@ -28,9 +28,7 @@
- #include <sys/types.h>
- #include <sys/stat.h>
- #include <sys/ioctl.h>
--#ifdef __ARCH_freebsd
--#include <machine/soundcard.h>
--#elif defined (__ARCH_openbsd)
-+#if defined (__ARCH_openbsd)
- #include <soundcard.h>
- #else
- #include <sys/soundcard.h>
diff --git a/emulators/xmame/files/patch-src::unix::unix.mak b/emulators/xmame/files/patch-src::unix::unix.mak
deleted file mode 100644
index 6dbc338..0000000
--- a/emulators/xmame/files/patch-src::unix::unix.mak
+++ /dev/null
@@ -1,56 +0,0 @@
---- src/unix/unix.mak.orig Fri May 3 02:53:53 2002
-+++ src/unix/unix.mak Thu Oct 31 13:15:25 2002
-@@ -56,14 +56,14 @@
- LIBS.xfx = $(X11LIB) $(JOY_X11_LIBS) -lX11 -lXext -lglide2x
- LIBS.svgafx = $(X11LIB) -lvga -lvgagl -lglide2x
- LIBS.openstep = -framework AppKit
--LIBS.SDL = `sdl-config --libs`
-+LIBS.SDL = $(X11LIB) `$(SDL_CONFIG) --libs`
- LIBS.photon2 = -L/usr/lib -lph -lphrender
-
- CFLAGS.x11 = $(X11INC) $(JOY_X11_CFLAGS) $(XINPUT_DEVICES_CFLAGS)
- CFLAGS.xgl = $(X11INC) $(JOY_X11_CFLAGS) $(GLCFLAGS)
- CFLAGS.xfx = $(X11INC) $(JOY_X11_CFLAGS) -I/usr/include/glide
- CFLAGS.svgafx = -I/usr/include/glide
--CFLAGS.SDL = -D_REENTRANT
-+CFLAGS.SDL = $(X11INC) `$(SDL_CONFIG) --cflags` -D_REENTRANT
- CFLAGS.photon2 =
-
- INST.x11 = doinstall
-@@ -235,8 +235,17 @@
- MY_LIBS += -lusb
- endif
- else
-+ifeq ($(ARCH), freebsd)
-+ifeq ($(shell test -f /usr/include/libusbhid.h && echo have_usbhid), have_usbhid)
-+CONFIG += -DHAVE_USBHID_H
-+MY_LIBS += -lusbhid
-+else
- MY_LIBS += -lusb
- endif
-+else
-+MY_LIBS += -lusb
-+endif
-+endif
- endif
-
- ifdef EFENCE
-@@ -366,7 +375,7 @@
-
- doc/x$(TARGET)rc.dist: all src/unix/xmamerc-keybinding-notes.txt
- ./x$(TARGET).$(DISPLAY_METHOD) -noloadconfig -showconfig | \
-- grep -v loadconfig > doc/x$(TARGET)rc.dist
-+ grep -v loadconfig | tr "\033" \# > doc/x$(TARGET)rc.dist
- cat src/unix/xmamerc-keybinding-notes.txt >> doc/x$(TARGET)rc.dist
-
- doc/gamelist.$(TARGET): all
-@@ -375,7 +384,8 @@
-
- doc/x$(TARGET).6: all src/unix/xmame.6-1 src/unix/xmame.6-3
- cat src/unix/xmame.6-1 > doc/x$(TARGET).6
-- ./x$(TARGET).$(DISPLAY_METHOD) -manhelp >> doc/x$(TARGET).6
-+ ./x$(TARGET).$(DISPLAY_METHOD) -noloadconfig -manhelp | \
-+ tr "\033" \# >> doc/x$(TARGET).6
- cat src/unix/xmame.6-3 >> doc/x$(TARGET).6
-
- install: $(INST.$(DISPLAY_METHOD)) install-man
diff --git a/emulators/xmame/files/patch-src::unix::video-drivers::svgainput.c b/emulators/xmame/files/patch-src::unix::video-drivers::svgainput.c
deleted file mode 100644
index 0095664..0000000
--- a/emulators/xmame/files/patch-src::unix::video-drivers::svgainput.c
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/unix/video-drivers/svgainput.c.orig Fri May 3 02:53:54 2002
-+++ src/unix/video-drivers/svgainput.c Thu Oct 31 12:46:04 2002
-@@ -12,6 +12,10 @@
- #include "devices.h"
- #include "keyboard.h"
-
-+#if defined(__ARCH_freebsd)
-+#define SIGUNUSED SIGUSR2
-+#endif
-+
- static int console_fd = -1;
- static int mouse_fd = -1;
- static int leds = 0;
diff --git a/emulators/xmess/files/patch-makefile.unix b/emulators/xmess/files/patch-makefile.unix
deleted file mode 100644
index 9e54977..0000000
--- a/emulators/xmess/files/patch-makefile.unix
+++ /dev/null
@@ -1,15 +0,0 @@
---- makefile.unix.orig Fri May 3 02:53:55 2002
-+++ makefile.unix Thu Oct 31 12:40:33 2002
-@@ -363,6 +363,12 @@
- # XINPUT_DEVICES = 1
-
- ##############################################################################
-+# *** SDL options, only needed for SDL as display method
-+##############################################################################
-+# *** The name of your sdl-config executable
-+SDL_CONFIG = sdl-config
-+
-+##############################################################################
- # *** OpenGL info -- configure if you are using the xgl display option
- ##############################################################################
- GLLIBS= -ldl
diff --git a/emulators/xmess/files/patch-src::unix::dsp-drivers::oss.c b/emulators/xmess/files/patch-src::unix::dsp-drivers::oss.c
deleted file mode 100644
index 67a8e0f..0000000
--- a/emulators/xmess/files/patch-src::unix::dsp-drivers::oss.c
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/unix/sysdep/dsp-drivers/oss.c.orig Fri May 3 02:53:54 2002
-+++ src/unix/sysdep/dsp-drivers/oss.c Thu Oct 31 12:46:35 2002
-@@ -29,9 +29,7 @@
- #include <sys/types.h>
- #include <sys/stat.h>
- #include <sys/ioctl.h>
--#ifdef __ARCH_freebsd
--#include <machine/soundcard.h>
--#elif defined (__ARCH_openbsd)
-+#if defined (__ARCH_openbsd)
- #include <soundcard.h>
- #else
- #include <sys/soundcard.h>
diff --git a/emulators/xmess/files/patch-src::unix::joystick-drivers::joy_usb.c b/emulators/xmess/files/patch-src::unix::joystick-drivers::joy_usb.c
deleted file mode 100644
index 5e6c05e..0000000
--- a/emulators/xmess/files/patch-src::unix::joystick-drivers::joy_usb.c
+++ /dev/null
@@ -1,46 +0,0 @@
---- src/unix/joystick-drivers/joy_usb.c.orig Sat Nov 3 02:22:56 2001
-+++ src/unix/joystick-drivers/joy_usb.c Thu Oct 31 15:27:02 2002
-@@ -23,8 +23,12 @@
- #if defined(__ARCH_netbsd)
- #include <usb.h>
- #elif defined(__ARCH_freebsd)
-+#ifdef HAVE_USBHID_H
-+#include <libusbhid.h>
-+#else
- #include <libusb.h>
- #endif
-+#endif
- #include <dev/usb/usb.h>
- #include <dev/usb/usbhid.h>
-
-@@ -82,7 +86,22 @@
-
- priv_joy_data[i].hids = NULL;
-
-+#if defined(__ARCH_freebsd) && __FreeBSD_version > 500000
-+ 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;
-+ }
-+#endif
-+
-+#if defined(__ARCH_freebsd) && defined(HAVE_USBHID_H)
-+ 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,7 +109,6 @@
- return FALSE;
- }
- priv_joy_data[i].dlen = size;
-- priv_joy_data[i].offset = (report_id != 0);
-
- is_joystick = 0;
- for (d = hid_start_parse(rd, 1 << hid_input); hid_get_item(d, &h); )
diff --git a/emulators/xmess/files/patch-src::unix::sysdep::mixer-drivers::oss.c b/emulators/xmess/files/patch-src::unix::sysdep::mixer-drivers::oss.c
deleted file mode 100644
index 0b85c3d..0000000
--- a/emulators/xmess/files/patch-src::unix::sysdep::mixer-drivers::oss.c
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/unix/sysdep/mixer-drivers/oss.c.orig Fri May 3 02:53:54 2002
-+++ src/unix/sysdep/mixer-drivers/oss.c Thu Oct 31 12:46:55 2002
-@@ -28,9 +28,7 @@
- #include <sys/types.h>
- #include <sys/stat.h>
- #include <sys/ioctl.h>
--#ifdef __ARCH_freebsd
--#include <machine/soundcard.h>
--#elif defined (__ARCH_openbsd)
-+#if defined (__ARCH_openbsd)
- #include <soundcard.h>
- #else
- #include <sys/soundcard.h>
diff --git a/emulators/xmess/files/patch-src::unix::unix.mak b/emulators/xmess/files/patch-src::unix::unix.mak
deleted file mode 100644
index b124af9..0000000
--- a/emulators/xmess/files/patch-src::unix::unix.mak
+++ /dev/null
@@ -1,56 +0,0 @@
---- src/unix/unix.mak.orig Mon Dec 31 09:19:03 2001
-+++ src/unix/unix.mak Thu Oct 31 15:25:37 2002
-@@ -51,14 +51,14 @@
- LIBS.xfx = $(X11LIB) $(JOY_X11_LIBS) -lX11 -lXext -lglide2x
- LIBS.svgafx = $(X11LIB) -lvga -lvgagl -lglide2x
- LIBS.openstep = -framework AppKit
--LIBS.SDL = `sdl-config --libs`
-+LIBS.SDL = $(X11LIB) `$(SDL_CONFIG) --libs`
- LIBS.photon2 = -L/usr/lib -lph -lphrender
-
- CFLAGS.x11 = $(X11INC) $(JOY_X11_CFLAGS)
- CFLAGS.xgl = $(X11INC) $(JOY_X11_CFLAGS) $(GLCFLAGS)
- CFLAGS.xfx = $(X11INC) $(JOY_X11_CFLAGS) -I/usr/include/glide
- CFLAGS.svgafx = -I/usr/include/glide
--CFLAGS.SDL = -D_REENTRANT
-+CFLAGS.SDL = $(X11INC) `$(SDL_CONFIG) --cflags` -D_REENTRANT
- CFLAGS.photon2 =
-
- INST.x11 = doinstall
-@@ -210,8 +210,17 @@
- endif
- ifdef JOY_USB
- CONFIG += -DUSB_JOYSTICK
-+ifeq ($(ARCH), freebsd)
-+ifeq ($(shell test -f /usr/include/libusbhid.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
- MY_LIBS += -lefence
-@@ -340,7 +349,7 @@
-
- doc/x$(TARGET)rc.dist: all src/unix/xmamerc-keybinding-notes.txt
- ./x$(TARGET).$(DISPLAY_METHOD) -noloadconfig -showconfig | \
-- grep -v loadconfig > doc/x$(TARGET)rc.dist
-+ grep -v loadconfig | tr "\033" \# > doc/x$(TARGET)rc.dist
- cat src/unix/xmamerc-keybinding-notes.txt >> doc/x$(TARGET)rc.dist
-
- doc/gamelist.$(TARGET): all
-@@ -349,7 +358,8 @@
-
- doc/x$(TARGET).6: all src/unix/xmame.6-1 src/unix/xmame.6-3
- cat src/unix/xmame.6-1 > doc/x$(TARGET).6
-- ./x$(TARGET).$(DISPLAY_METHOD) -manhelp >> doc/x$(TARGET).6
-+ ./x$(TARGET).$(DISPLAY_METHOD) -noloadconfig -manhelp | \
-+ tr "\033" \# >> doc/x$(TARGET).6
- cat src/unix/xmame.6-3 >> doc/x$(TARGET).6
-
- install: $(INST.$(DISPLAY_METHOD)) install-man
diff --git a/emulators/xmess/files/patch-src::unix::video-drivers::svgainput.c b/emulators/xmess/files/patch-src::unix::video-drivers::svgainput.c
deleted file mode 100644
index 0095664..0000000
--- a/emulators/xmess/files/patch-src::unix::video-drivers::svgainput.c
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/unix/video-drivers/svgainput.c.orig Fri May 3 02:53:54 2002
-+++ src/unix/video-drivers/svgainput.c Thu Oct 31 12:46:04 2002
-@@ -12,6 +12,10 @@
- #include "devices.h"
- #include "keyboard.h"
-
-+#if defined(__ARCH_freebsd)
-+#define SIGUNUSED SIGUSR2
-+#endif
-+
- static int console_fd = -1;
- static int mouse_fd = -1;
- static int leds = 0;
OpenPOWER on IntegriCloud