aboutsummaryrefslogtreecommitdiff
path: root/emulators/stella/files
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/stella/files')
-rw-r--r--emulators/stella/files/patch-OSS.c15
-rw-r--r--emulators/stella/files/patch-ac16
2 files changed, 23 insertions, 8 deletions
diff --git a/emulators/stella/files/patch-OSS.c b/emulators/stella/files/patch-OSS.c
new file mode 100644
index 000000000000..df0899b821dc
--- /dev/null
+++ b/emulators/stella/files/patch-OSS.c
@@ -0,0 +1,15 @@
+--- ../ui/sound/OSS.c.orig Tue Jan 8 17:11:32 2002
++++ ../ui/sound/OSS.c Mon Dec 30 04:08:03 2002
+@@ -32,12 +32,7 @@
+ #include <sys/types.h>
+ #include <unistd.h>
+ #include <string.h>
+-
+-#ifdef __FreeBSD__
+- #include <machine/soundcard.h>
+-#else
+- #include <sys/soundcard.h>
+-#endif
++#include <sys/soundcard.h>
+
+ #include "TIASound.h"
diff --git a/emulators/stella/files/patch-ac b/emulators/stella/files/patch-ac
index 3374a5ca23e3..b34fb7a2de8f 100644
--- a/emulators/stella/files/patch-ac
+++ b/emulators/stella/files/patch-ac
@@ -1,15 +1,15 @@
---- makefile.orig Thu Mar 4 16:52:03 1999
-+++ makefile Thu Mar 4 16:53:33 1999
-@@ -129,6 +129,15 @@
- LDLIBS=`gtk-config --libs` \
- OBJS="gtk.o editor.o SndUnix.o"
+--- makefile.orig Mon Apr 22 01:53:19 2002
++++ makefile Mon Dec 30 03:44:36 2002
+@@ -218,6 +218,15 @@
+ LDLIBS+="$(LIBS.X11)" \
+ OBJS="mainX11.o SndUnix.o"
+freebsd-x:
-+ make xstella \
++ gmake stella.x11 \
+ INCLUDES="$(INCLUDES) -I$(UI)/x11 -I$(UI)/sound" \
-+ SYS_INCLUDES="-I${X11BASE}/include" \
++ SYS_INCLUDES="-I$(X11BASE)/include" \
+ OPTIONS="-DBSPF_UNIX -DSHOW_TIMING" \
-+ LDFLAGS="-L${X11BASE}/lib" \
++ LDFLAGS="-L$(X11BASE)/lib" \
+ LDLIBS="-lX11 -lXext" \
+ OBJS="mainX11.o SndUnix.o"
+