diff options
Diffstat (limited to 'emulators/xmame/patches/patch-aa')
-rw-r--r-- | emulators/xmame/patches/patch-aa | 61 |
1 files changed, 31 insertions, 30 deletions
diff --git a/emulators/xmame/patches/patch-aa b/emulators/xmame/patches/patch-aa index 9f8c6b6862a..0b1dcc43ed7 100644 --- a/emulators/xmame/patches/patch-aa +++ b/emulators/xmame/patches/patch-aa @@ -1,6 +1,8 @@ ---- makefile.unix.orig Sun Aug 23 17:44:39 1998 -+++ makefile.unix Mon Aug 31 04:03:21 1998 -@@ -38,7 +38,7 @@ +$NetBSD: patch-aa,v 1.14 1998/09/05 12:27:40 mycroft Exp $ + +--- makefile.unix.orig Fri Sep 4 03:02:07 1998 ++++ makefile.unix Sat Sep 5 08:07:04 1998 +@@ -39,7 +39,7 @@ # GNU MAKE is MANDATORY !!! # so please give me the path... # if GNU make is "native" use this @@ -9,7 +11,7 @@ # else ... # MAKE=/usr/people/jantonio/bin/gmake -@@ -98,18 +98,18 @@ +@@ -99,18 +99,18 @@ # *** Select destination directory for your compiled program , manual page # and binary distribution ( if you want to... ) # ( only needed to install, not to compile... ) @@ -17,23 +19,23 @@ -MANDIR = /usr/local/man/man6 +DESTDIR = ${PREFIX}/bin +MANDIR = ${PREFIX}/man/man6 - DISTDIR = /home/ftp/pub/emulators/mame + DISTDIR = /home/ftp/pub/emulators/$(NAME) # *** Where the ROM source tree ? --MDIR = \"/usr/games/lib/mame\" -+MDIR = \"${PREFIX}/share/xmame\" +-ROMPATH = \"/usr/games/lib/$(NAME)\" ++ROMPATH = \"${PREFIX}/share/$(NAME)\" # *** Where to store high scores ? --SDIR = \"/usr/games/lib/mame\" -+SDIR = \"${PREFIX}/share/xmame\" +-SDIR = \"/usr/games/lib/$(NAME)\" ++SDIR = \"${PREFIX}/share/$(NAME)\" # *** Where resides global configuration file ? --MRC = \"/usr/games/lib/mame/xmamerc\" -+MRC = \"${PREFIX}/share/xmame/xmamerc\" +-MRC = \"/usr/games/lib/$(NAME)/$(NAME)rc\" ++MRC = \"${PREFIX}/share/$(NAME)/$(NAME)rc\" ############################################################################## -@@ -117,7 +117,9 @@ +@@ -118,7 +118,9 @@ ############################################################################## # *** To disable joystick support comment next line @@ -44,7 +46,7 @@ # *** To disable mouse support comment next line MOUSE = -DUSE_MOUSE -@@ -136,7 +138,9 @@ +@@ -137,7 +139,9 @@ # JSLIB = -lXi # On iX86 based OS's, if supported, you can use standard joystick driver @@ -55,7 +57,7 @@ # Linux FM-TOWNS game PAD joystick emulation support # Thanks to Osamu Kurati for provided patch -@@ -157,8 +161,8 @@ +@@ -158,8 +162,8 @@ # you might decide to use these feature. Otherwise, you should use a # timer based audio code and ajust in src/unix/sound.h AUDIO_TIMER_FREQ item # @@ -66,22 +68,21 @@ # *** When using timer, you should provide the frequency to generate audio sample # frames in your system. See readme.unix notes about these item -@@ -186,7 +190,7 @@ - # note: xwindows is the only one supported on all platforms +@@ -202,7 +206,7 @@ + # note: x11 is the only one supported on all platforms - ### normal X-windows --DISPLAY_METHOD = xwindows -+#DISPLAY_METHOD = xwindows - ### xfree86's DGA extension, only tested under linux + ### normal X11 +-DISPLAY_METHOD = x11 ++#DISPLAY_METHOD = x11 + ### XFree86's DGA extension, only tested under linux #DISPLAY_METHOD = xf86_dga ### svgalib, only supported under linux -@@ -208,14 +212,16 @@ - # *** If you haven't the MIT-Shared Memory X Extensions, comment the following: - # ( Test if available by mean of xdpyinfo command ) - # Comment it if not compiling for normal xwindows --# MSHM = -DUSE_MITSHM -+ifeq (${DISPLAY_METHOD},xwindows) -+MSHM = -DUSE_MITSHM +@@ -224,14 +228,16 @@ + + # *** If you don't have the MIT-Shared Memory X Extensions, comment the + # following: ( Test if available by mean of xdpyinfo command ) ++ifeq (${DISPLAY_METHOD},x11) + MSHM = -DUSE_MITSHM +endif # standard location for X11 @@ -95,7 +96,7 @@ # for Sun systems # X11INC = -I/usr/openwin/include # X11LIB = -L/usr/openwin/lib -@@ -236,11 +242,12 @@ +@@ -252,11 +258,12 @@ ######## Alpha/Linux # ARCH = linux_alpha ######## ix86/Linux @@ -110,7 +111,7 @@ ######## Sparc/SunOS ( no sound ) # ARCH = sunos ######## ix86/Solaris -@@ -275,7 +282,11 @@ +@@ -291,7 +298,11 @@ DEFS.linux_alpha = -Dlinux -DLSB_FIRST -DAXP_ASM -DACORN DEFS.linux_i386 = -Dlinux -DLSB_FIRST -DX86_ASM DEFS.FREEBSD = -DLSB_FIRST -DX86_ASM -Dlinux -DFREEBSD_SOUND_WORKAROUND @@ -123,7 +124,7 @@ DEFS.sunos = -Dsun -DCLOCKS_PER_SEC=1000000 -DACORN DEFS.solaris = -Dsun -DACORN DEFS.solaris_i386 = -DLSB_FIRST -Dsun -Dsolaris -@@ -293,12 +304,14 @@ +@@ -309,12 +320,14 @@ LIBS.solaris_i386 = -lm -lnsl -lsocket LIBS.irix = -lm -laudio LIBS.aix = -lm -lUMSobj |