diff options
author | kristerw <kristerw> | 2002-08-15 00:16:35 +0000 |
---|---|---|
committer | kristerw <kristerw> | 2002-08-15 00:16:35 +0000 |
commit | aa99a93bac5d0e0c6cd5c739112f5ce4806e22d9 (patch) | |
tree | cbd7490e7aee2748e0e32d3d49aeefa8bc42ab5a /emulators | |
parent | 7ec37791521a635c09b50493a6bdfb87415cf283 (diff) | |
download | pkgsrc-aa99a93bac5d0e0c6cd5c739112f5ce4806e22d9.tar.gz |
Make the package compile for ${MACHINE_ARCH} != "i386".
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/snes9x/distinfo | 4 | ||||
-rw-r--r-- | emulators/snes9x/patches/patch-aa | 32 |
2 files changed, 23 insertions, 13 deletions
diff --git a/emulators/snes9x/distinfo b/emulators/snes9x/distinfo index 60d98387b2d..07da0c75016 100644 --- a/emulators/snes9x/distinfo +++ b/emulators/snes9x/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.6 2002/07/14 07:44:44 kristerw Exp $ +$NetBSD: distinfo,v 1.7 2002/08/15 00:16:35 kristerw Exp $ SHA1 (s9xs139.zip) = 15acf6d8a31dc51b26a42abf747cec1b72c2aa29 Size (s9xs139.zip) = 666463 bytes -SHA1 (patch-aa) = 2443c745cbf309690c8e9770dc7c376ac3b1e186 +SHA1 (patch-aa) = a881151e77638ec98c33fbdd79020c5a3fc7c3e9 SHA1 (patch-ab) = b99893934074d8693a9609d49e49953ade2b2062 SHA1 (patch-ac) = e54f4fff397dd4ca3be28711fd23c4fbef57ed54 SHA1 (patch-ad) = 72cc9904c74e0668cce450fcada24453aec344e4 diff --git a/emulators/snes9x/patches/patch-aa b/emulators/snes9x/patches/patch-aa index e28959907f4..70a57a1b214 100644 --- a/emulators/snes9x/patches/patch-aa +++ b/emulators/snes9x/patches/patch-aa @@ -1,6 +1,6 @@ -$NetBSD: patch-aa,v 1.7 2002/07/14 07:44:44 kristerw Exp $ +$NetBSD: patch-aa,v 1.8 2002/08/15 00:16:36 kristerw Exp $ --- Makefile.orig Tue Sep 18 08:03:58 2001 -+++ Makefile Sat Jul 13 22:15:09 2002 ++++ Makefile Thu Aug 15 02:00:53 2002 @@ -1,14 +1,14 @@ -ZSNESFX=1 -ZSNESC4=1 @@ -21,7 +21,7 @@ $NetBSD: patch-aa,v 1.7 2002/07/14 07:44:44 kristerw Exp $ ifdef ZSNESFX FXOBJ=i386/fxemu2b.o i386/fxemu2.o i386/fxemu2c.o i386/fxtable.o i386/sfxproc.o i386/zsnes.o -@@ -34,7 +34,10 @@ +@@ -34,13 +34,20 @@ C4NO_DEPENDS=zsnes_c4 endif @@ -32,7 +32,17 @@ $NetBSD: patch-aa,v 1.7 2002/07/14 07:44:44 kristerw Exp $ ifdef SPC700ASM SOUNDOBJ=spctool/spc700.o spctool/dsp.o spctool.o spctool/soundmod.o spc.o -@@ -58,6 +61,16 @@ + SOUNDDEFINES=-DSPCTOOL + else ++ifdef USING_I386 + SOUNDOBJ=spc700.o soundux.o apu.o i386/spc.o ++else ++SOUNDOBJ=spc700.o soundux.o apu.o ++endif + SOUNDDEFINES=-DSPC700_C + endif + +@@ -58,6 +65,16 @@ KREEDOBJ=2xsai.o endif @@ -49,7 +59,7 @@ $NetBSD: patch-aa,v 1.7 2002/07/14 07:44:44 kristerw Exp $ OBJECTS=$(CPUOBJ) $(SOUNDOBJ) apudebug.o $(FXOBJ) $(C4OBJ) \ cpu.o sa1.o debug.o sdd1.o tile.o srtc.o \ gfx.o memmap.o snaporig.o clip.o dsp1.o \ -@@ -81,9 +94,10 @@ +@@ -81,9 +98,10 @@ UNZIPDEFINES=-DUNZIP_SUPPORT endif @@ -62,7 +72,7 @@ $NetBSD: patch-aa,v 1.7 2002/07/14 07:44:44 kristerw Exp $ endif ifdef GLIDE -@@ -113,9 +127,13 @@ +@@ -113,9 +131,13 @@ CC = gcc NASM = nasm @@ -77,7 +87,7 @@ $NetBSD: patch-aa,v 1.7 2002/07/14 07:44:44 kristerw Exp $ #OPTIMISE=-g -fno-exceptions #-DMITSHM -@@ -124,10 +142,8 @@ +@@ -124,10 +146,8 @@ -Ii386 \ -I. \ -Iunzip \ @@ -88,7 +98,7 @@ $NetBSD: patch-aa,v 1.7 2002/07/14 07:44:44 kristerw Exp $ -DCPU_SHUTDOWN \ -DSPC700_SHUTDOWN \ -DOLD_COLOUR_BLENDING \ -@@ -142,7 +158,7 @@ +@@ -142,7 +162,7 @@ $(OPENGLDEFINES) \ $(GUIDEFINES) \ $(KREEDDEFINES) \ @@ -97,7 +107,7 @@ $NetBSD: patch-aa,v 1.7 2002/07/14 07:44:44 kristerw Exp $ #-DSOUND #-DDEBUGGER -@@ -154,9 +170,9 @@ +@@ -154,9 +174,9 @@ CFLAGS=$(CCFLAGS) .SUFFIXES: .o .cpp .c .cc .h .m .i .S .asm .obj @@ -109,7 +119,7 @@ $NetBSD: patch-aa,v 1.7 2002/07/14 07:44:44 kristerw Exp $ #ggisnes9x #xf86snes9x -@@ -182,7 +198,7 @@ +@@ -182,7 +202,7 @@ ./offsets >i386/offsets.h snes9x: $(OBJECTS) unix/x11.o $(GLIDEOBJS) $(OPENGLOBJS) $(GUIOBJS) $(KREEDOBJ) @@ -118,7 +128,7 @@ $NetBSD: patch-aa,v 1.7 2002/07/14 07:44:44 kristerw Exp $ ssnes9x: $(OBJECTS) unix/svga.o $(GLIDEOBJS) $(CCC) $(INCLUDES) -o $@ $(OBJECTS) $(GLIDEOBJS) unix/svga.o $(LDLIBS) $(GLIDELIBS) -lvga -lvgagl -lz $(EXTRALIBS) -lm -@@ -212,7 +228,7 @@ +@@ -212,7 +232,7 @@ $(CCC) $(INCLUDES) -c -E $(CCFLAGS) $*.S -o $@ .asm.o: |