diff options
author | martin <martin> | 2000-07-13 20:54:01 +0000 |
---|---|---|
committer | martin <martin> | 2000-07-13 20:54:01 +0000 |
commit | 38b2e9881fa9a07f42a863e7782df15c6b1ede40 (patch) | |
tree | 253df95a4526b115a00242b9ecae18094de36a22 /emulators/xmame/patches | |
parent | de8077a5b1e0b8c7fa29354a4b2f47f765f92105 (diff) | |
download | pkgsrc-38b2e9881fa9a07f42a863e7782df15c6b1ede40.tar.gz |
Update pkg to version 0.37b4.1
Diffstat (limited to 'emulators/xmame/patches')
-rw-r--r-- | emulators/xmame/patches/patch-aa | 86 | ||||
-rw-r--r-- | emulators/xmame/patches/patch-ae | 16 | ||||
-rw-r--r-- | emulators/xmame/patches/patch-am | 13 |
3 files changed, 61 insertions, 54 deletions
diff --git a/emulators/xmame/patches/patch-aa b/emulators/xmame/patches/patch-aa index a2d8eae4092..3f1c8145ca7 100644 --- a/emulators/xmame/patches/patch-aa +++ b/emulators/xmame/patches/patch-aa @@ -1,7 +1,7 @@ -$NetBSD: patch-aa,v 1.23 2000/03/16 12:41:22 wiz Exp $ ---- makefile.unix.orig Fri Mar 3 10:16:40 2000 -+++ makefile.unix Tue Mar 14 12:02:51 2000 -@@ -142,14 +142,14 @@ +$NetBSD: patch-aa,v 1.24 2000/07/13 20:54:04 martin Exp $ +--- makefile.unix.orig Fri Jun 23 12:05:25 2000 ++++ makefile.unix Wed Jul 12 23:55:46 2000 +@@ -138,13 +138,13 @@ # *** Select destination directory for your compiled program , manual page # and binary distribution ( if you want to... ) # ( only needed to install, not to compile... ) @@ -9,39 +9,61 @@ $NetBSD: patch-aa,v 1.23 2000/03/16 12:41:22 wiz Exp $ -MANDIR = /usr/local/man/man6 +DESTDIR = ${PREFIX}/bin +MANDIR = ${PREFIX}/man/man6 - DISTDIR = /home/ftp/pub/emulators/$(NAME) # *** xmameroot, this is the default rompath, place where the highscores are # stored, global rc location etc. Since most of these are configurable through # the rc-file anyway, there are no longer seperate defines for each. --XMAMEROOT = /usr/games/lib/$(NAME) -+XMAMEROOT = ${PREFIX}/share/$(NAME) +-XMAMEROOT = /usr/games/lib/x$(TARGET) ++XMAMEROOT = ${PREFIX}/share/xmame ############################################################################## -@@ -214,7 +214,7 @@ - # JSLIB = -lXi +@@ -152,7 +152,7 @@ + ############################################################################## + + ### i386 + gnu-asm +-MY_CPU = i386 ++MY_CPU = ${MAME_CPU} + ### i386 no asm + # MY_CPU = i386_noasm + ### alpha +@@ -171,11 +171,11 @@ + ############################################################################## - # *** On iX86 based OS's, if supported, you can use standard joystick driver --# JSI386 = -DI386_JOYSTICK -+JSI386 = -DI386_JOYSTICK + ### Linux +-ARCH = linux ++# ARCH = linux + ### FreeBSD + # ARCH = freebsd + ### NetBSD +-# ARCH = netbsd ++ARCH = netbsd + ### Solaris / SunOS + # ARCH = solaris + ### OpenStep +@@ -207,6 +207,9 @@ + # JOY_I386 = 1 + # Linux FM-TOWNS game PAD joystick emulation support, thanks to Osamu Kurati + # JOY_PAD = 1 ++ifeq (${NETBSD_JOYSTICK},yes) ++JOY_I386 = 1 ++endif - # *** Linux FM-TOWNS game PAD joystick emulation support - # Thanks to Osamu Kurati for provided patch -@@ -265,8 +265,10 @@ - MSHM = -DUSE_MITSHM - # *** If you are running xfree86 and wnat to use DGA, uncomment the following: --# DGA = -DUSE_DGA --# DGALIBS = -lXxf86dga -lXxf86vm -+ifeq (${NETBSD_DGA},yes) -+DGA = -DUSE_DGA -+DGALIBS = -lXxf86dga -lXxf86vm + ############################################################################## +@@ -249,7 +252,10 @@ + # MIT-Shared Memory X Extensions, comment the + X11_MITSHM = 1 + # XFree86 DGA +-# X11_DGA = 1 ++ifeq (${NETBSD_DGA},yes) ++X11_DGA = 1 +endif ++ + # The XIL library (Solaris 2.5.1 and higher), uncomment + # X11_XIL = 1 - # *** If you have the XIL library (Solaris 2.5.1 and higher), uncomment - # the following lines: -@@ -278,8 +280,8 @@ +@@ -258,8 +264,8 @@ # X11INC = -I/usr/include/X11 # X11LIB = -L/usr/lib/X11 # standard location for XFree86 @@ -52,17 +74,3 @@ $NetBSD: patch-aa,v 1.23 2000/03/16 12:41:22 wiz Exp $ # for Sun systems # X11INC = -I/usr/openwin/include # X11LIB = -L/usr/openwin/lib -@@ -321,11 +323,11 @@ - ############################################################################## - - ### Linux --ARCH = linux -+# ARCH = linux - ### FreeBSD - # ARCH = freebsd - ### NetBSD --# ARCH = netbsd -+ARCH = netbsd - ### Solaris - # ARCH = solaris - ### OpenStep diff --git a/emulators/xmame/patches/patch-ae b/emulators/xmame/patches/patch-ae index 4e49fa32bca..91a3c6f372f 100644 --- a/emulators/xmame/patches/patch-ae +++ b/emulators/xmame/patches/patch-ae @@ -1,15 +1,15 @@ -$NetBSD: patch-ae,v 1.10 2000/03/16 12:41:22 wiz Exp $ ---- doc/xmamerc.dist.orig Fri Mar 3 14:42:02 2000 -+++ doc/xmamerc.dist Tue Mar 14 12:41:39 2000 -@@ -3,15 +3,15 @@ +$NetBSD: patch-ae,v 1.11 2000/07/13 20:54:04 martin Exp $ +--- doc/xmamerc.dist.orig Mon May 8 20:57:08 2000 ++++ doc/xmamerc.dist Wed Jul 12 23:58:34 2000 +@@ -2,15 +2,15 @@ + ### Digital sound related ### - # dsp-driver <NULL> (not set) - bufsize 0.080000 + # dsp-plugin <NULL> (not set) -timer 0 +timer 1 ### Sound mixer related ### - # sound-mixer-driver <NULL> (not set) + # sound-mixer-plugin <NULL> (not set) ### Video Related ### bpp 0 @@ -21,8 +21,8 @@ $NetBSD: patch-ae,v 1.10 2000/03/16 12:41:22 wiz Exp $ dirty 1 scanlines 0 @@ -61,7 +61,7 @@ - samples 1 samplefreq 22050 + bufsize 2.000000 volume -3 -# audiodevice <NULL> (not set) +audiodevice /dev/audio0 diff --git a/emulators/xmame/patches/patch-am b/emulators/xmame/patches/patch-am index 99da7ed1862..d8979ec6290 100644 --- a/emulators/xmame/patches/patch-am +++ b/emulators/xmame/patches/patch-am @@ -1,8 +1,7 @@ -$NetBSD: patch-am,v 1.2 1999/11/10 08:01:29 soren Exp $ - ---- src/cpuintrf.c.orig Thu Nov 4 09:13:49 1999 -+++ src/cpuintrf.c Wed Nov 10 07:26:25 1999 -@@ -94,13 +94,34 @@ +$NetBSD: patch-am,v 1.3 2000/07/13 20:54:04 martin Exp $ +--- src/cpuintrf.c.orig Fri Jun 23 12:05:01 2000 ++++ src/cpuintrf.c Thu Jul 13 00:02:05 2000 +@@ -126,13 +126,34 @@ #define LOG(x) #endif @@ -34,9 +33,9 @@ $NetBSD: patch-am,v 1.2 1999/11/10 08:01:29 soren Exp $ + /* How do I calculate the next power of two from CPUINFO_SIZE using a macro? */ -#ifdef __LP64__ --#define CPUINFO_ALIGN (128-CPUINFO_SIZE) +-#define CPUINFO_ALIGN (128-CPUINFO_SIZE) -#else --#define CPUINFO_ALIGN (64-CPUINFO_SIZE) +-#define CPUINFO_ALIGN (64-CPUINFO_SIZE) -#endif + +#define CPUINFO_ALIGN ((sizeof(cpuinfo_test) > 64 ? 128 : 64) - sizeof(cpuinfo_test)) |