diff options
author | B. Watson <yalhcru@gmail.com> | 2011-02-17 22:50:54 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-02-28 09:42:03 -0600 |
commit | f68c028e33fb9fb0d3267cd72fe26f432b1ea643 (patch) | |
tree | ffef188fedfaa9c1dd69c6e5c9c105153015e635 /games/o2em/compile_fix.diff | |
parent | 848cabfbeb0846e0de4597fd83f555c274740311 (diff) | |
download | slackbuilds-f68c028e33fb9fb0d3267cd72fe26f432b1ea643.tar.gz |
games/o2em: Added (Magnavox Odyssey II/VideoPac+ emulator)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'games/o2em/compile_fix.diff')
-rw-r--r-- | games/o2em/compile_fix.diff | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/games/o2em/compile_fix.diff b/games/o2em/compile_fix.diff new file mode 100644 index 0000000000..127967c09c --- /dev/null +++ b/games/o2em/compile_fix.diff @@ -0,0 +1,54 @@ +diff -Naur o2em118src/src/debug.c o2em118src.patched//src/debug.c +--- o2em118src/src/debug.c 2006-11-24 05:41:34.000000000 -0500 ++++ o2em118src.patched//src/debug.c 2011-01-12 16:02:24.000000000 -0500 +@@ -16,6 +16,7 @@ +
+ #include <stdio.h>
+ #include <string.h>
++#include <errno.h>
+ #include "cpu.h"
+ #include "keyboard.h"
+ #include "vmachine.h"
+@@ -1042,4 +1043,4 @@ +
+ printf("\n");
+ return 1;
+-} +\ No newline at end of file ++}
+diff -Naur o2em118src/src/makefile.linux o2em118src.patched//src/makefile.linux +--- o2em118src/src/makefile.linux 2006-05-05 16:45:14.000000000 -0400 ++++ o2em118src.patched//src/makefile.linux 2011-01-12 16:07:46.000000000 -0500 +@@ -1,8 +1,8 @@ + CC = gcc
+
+-CFLAGS = -O3 -Wall -fomit-frame-pointer -I/usr/include
++CFLAGS = -Wall $(SLKCFLAGS) `allegro-config --cflags`
+ LFLAGS = -s
+-LIBALLEG = /usr/lib/liballeg.so.4.2 -lalleg_unsharable
++LIBALLEG = `allegro-config --libs`
+
+
+ all: o2em dis48
+diff -Naur o2em118src/src/score.c o2em118src.patched//src/score.c +--- o2em118src/src/score.c 2006-05-01 01:58:08.000000000 -0400 ++++ o2em118src.patched//src/score.c 2011-01-12 16:02:35.000000000 -0500 +@@ -19,6 +19,7 @@ + #include <string.h>
+ #include <ctype.h>
+ #include <time.h>
++#include <errno.h>
+ #include "vmachine.h"
+ #include "types.h"
+ #include "score.h"
+diff -Naur o2em118src/src/vmachine.c o2em118src.patched//src/vmachine.c +--- o2em118src/src/vmachine.c 2006-11-24 11:59:26.000000000 -0500 ++++ o2em118src.patched//src/vmachine.c 2011-01-12 16:02:43.000000000 -0500 +@@ -18,6 +18,7 @@ + #include <stdlib.h>
+ #include <stdio.h>
+ #include <time.h>
++#include <errno.h>
+ #include "audio.h"
+ #include "types.h"
+ #include "cpu.h"
|