aboutsummaryrefslogtreecommitdiff
path: root/emulators/fmsx/files
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2000-08-16 16:52:39 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2000-08-16 16:52:39 +0000
commitb4a64dae9d23c05c173024cfde57197c2c4c00a8 (patch)
treee3c61104231ce95e8217251390310562eb4cdfd0 /emulators/fmsx/files
parente239ae85565c4360a503f9094c1fdfb9cd8ed266 (diff)
downloadports-b4a64dae9d23c05c173024cfde57197c2c4c00a8.tar.gz
ports-b4a64dae9d23c05c173024cfde57197c2c4c00a8.zip
Notes
Diffstat (limited to 'emulators/fmsx/files')
-rw-r--r--emulators/fmsx/files/fmsx3
-rw-r--r--emulators/fmsx/files/patch-aa20
-rw-r--r--emulators/fmsx/files/patch-ab21
3 files changed, 33 insertions, 11 deletions
diff --git a/emulators/fmsx/files/fmsx b/emulators/fmsx/files/fmsx
index 4b29b4dedbcc..d48efecc5fff 100644
--- a/emulators/fmsx/files/fmsx
+++ b/emulators/fmsx/files/fmsx
@@ -1,4 +1,3 @@
#!/bin/sh
-cd /usr/local/share/fmsx || { echo "cannot cd to /usr/local/share/fmsx" ; exit 1; }
-exec /usr/local/bin/fmsx.bin $@
+exec /usr/local/bin/fmsx.bin -home /usr/local/share/fmsx "$@"
diff --git a/emulators/fmsx/files/patch-aa b/emulators/fmsx/files/patch-aa
index 77474bb7b7d0..90b0bf24d5a8 100644
--- a/emulators/fmsx/files/patch-aa
+++ b/emulators/fmsx/files/patch-aa
@@ -1,13 +1,15 @@
---- Makefile.orig Wed Jul 3 00:49:39 1996
-+++ Makefile Mon Feb 24 14:20:26 1997
-@@ -34,8 +34,8 @@
+--- Makefile.orig Thu Aug 3 20:23:33 2000
++++ Makefile Wed Aug 16 17:24:53 2000
+@@ -44,10 +44,10 @@
# change the -L/usr/X11R6/lib to the directory where X11
# libraries libX11.* and libXext.* are located on your system.
CC = gcc
--DEFINES = -DUNIX -DLSB_FIRST -DDEBUG -DMITSHM -DSOUND
--CFLAGS = -O2 -I/usr/X11/include -L/usr/X11/lib ${DEFINES}
-+DEFINES = -DUNIX -DLSB_FIRST -DMITSHM -DSOUND #-DBEBUG
-+CFLAGS = -O2 -I${X11BASE}/include -L${X11BASE}/lib ${DEFINES}
- OBJECTS = fMSX.o MSX.o Z80.o Debug.o Unix.o Sound.o
+-DEFINES = -DFMSX -DUNIX -DLSB_FIRST -DDEBUG -DMITSHM \
++DEFINES = -DFMSX -DUNIX -DLSB_FIRST -DMITSHM \
+ -DDISK -DNARROW -DSOUND -DBPP16
+ CFLAGS = -O3 -fomit-frame-pointer \
+- -I/usr/X11/include -L/usr/X11/lib ${DEFINES}
++ -I${X11BASE}/include -L${X11BASE}/lib ${DEFINES}
+ OBJECTS = fMSX.o MSX.o Z80.o AY8910.o SCC.o V9938.o Patch.o Debug.o \
+ Disk.o Unix.o LibUnix.o SndUnix.o MIDI.o
- # Make the standard distribution: fMSX and DASM.
diff --git a/emulators/fmsx/files/patch-ab b/emulators/fmsx/files/patch-ab
new file mode 100644
index 000000000000..57562636345d
--- /dev/null
+++ b/emulators/fmsx/files/patch-ab
@@ -0,0 +1,21 @@
+--- Unix.c.orig Thu Aug 3 20:10:32 2000
++++ Unix.c Wed Aug 16 16:14:50 2000
+@@ -309,12 +309,16 @@
+ }
+ break;
+
+- case XK_F9:
++ case XK_F6:
+ if(Control) AutoFire=!AutoFire;
+ break;
+
+- case XK_F10:
++ case XK_F9:
+ if(Control) UseFont=UseFont? 0:FontBuf? 1:0;
++ break;
++
++ case XK_F10:
++ if(Control) LogSnd=!LogSnd;
+ break;
+
+ case XK_F12: ExitNow=1;break;