summaryrefslogtreecommitdiff
path: root/emulators/ROMInfo/patches
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/ROMInfo/patches')
-rw-r--r--emulators/ROMInfo/patches/patch-aa36
-rw-r--r--emulators/ROMInfo/patches/patch-ab23
2 files changed, 59 insertions, 0 deletions
diff --git a/emulators/ROMInfo/patches/patch-aa b/emulators/ROMInfo/patches/patch-aa
new file mode 100644
index 00000000000..47574052b7b
--- /dev/null
+++ b/emulators/ROMInfo/patches/patch-aa
@@ -0,0 +1,36 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/03/04 12:05:13 wiz Exp $
+
+--- makefile.orig 2005-02-24 23:39:06.000000000 +0100
++++ makefile
+@@ -3,7 +3,7 @@
+ #
+
+ NAME=rominfo
+-EXT=.exe
++EXT=
+ EXE=$(NAME)$(EXT)
+
+ SRC=src
+@@ -18,9 +18,10 @@ OBJS= $(DLOBJS) \
+ # Build the obj tree then build the EXE
+ #
+
+-all: dlmaketree maketree $(EXE)
++all: maketree $(EXE)
+
+-include $(LOGIQX)/dev/datlib/makefile
++DLSRC= $(PREFIX)/include/DatLib
++CFLAGS+= -I src -I $(PREFIX)/include
+
+ #
+ # Creating obj directory tree
+@@ -45,8 +46,7 @@ $(OBJ)/%.o: $(SRC)/%.c $(SRC)/%.h $(DLSR
+
+ $(EXE): $(OBJS)
+ @echo Linking $@...
+- $(LD) $(OBJS) $(LIBS) -o $@
+- $(UPX) $@
++ $(CC) $(OBJS) $(LIBS) -o $@ -ldatlib -lm -lz
+
+ #
+ # Complete removal of built objects
diff --git a/emulators/ROMInfo/patches/patch-ab b/emulators/ROMInfo/patches/patch-ab
new file mode 100644
index 00000000000..06394135882
--- /dev/null
+++ b/emulators/ROMInfo/patches/patch-ab
@@ -0,0 +1,23 @@
+$NetBSD: patch-ab,v 1.1.1.1 2005/03/04 12:05:13 wiz Exp $
+
+--- src/rominfo.c.orig 2005-02-28 19:17:24.000000000 +0100
++++ src/rominfo.c
+@@ -22,14 +22,14 @@
+
+ /* --- Dat library includes --- */
+
+-#include "datlib/src/datlib.h"
+-#include "datlib/src/macro.h"
++#include "DatLib/datlib.h"
++#include "DatLib/macro.h"
+
+
+ /* --- Misc library includes --- */
+
+-#include "datlib/src/misc/getopt.h"
+-#include "datlib/src/mame/unzip.h"
++#include "DatLib/misc/getopt.h"
++#include "DatLib/mame/unzip.h"
+
+
+ /* --- ROMInfo definitions and macros --- */