pkgsrc/emulators/DatLib/patches/patch-aa
wiz 58534730cc Update to 2.20:
01/01/2007  *** v2.20 ***

            - Added 'prune' feature for removing roms, disk and/or samples
            - Added 'incorporate' feature to assist in combining datafiles

30/12/2006  *** v2.19 ***

            - Internal change that only affects MAMEDiff (see note below)
            - Improved -dX modes (understands merging despite differing names)

17/10/2006  *** v2.18 ***

            - More intelligent DTD creation when saving in ListXML format
            - Added support for game/display (MAME v0.107)
            - Added support for game/input/control (MAME v0.107)
            - Added support for emulator/build (MAME+MESS v0.101u4 upwards)
            - Added support for driver/savestate (MAME v0.101u1 upwards)
            - Note: The above changes affect the tab delimited format!

16/07/2006  *** v2.17 ***

            - Fixed bug that caused the DatUtil -g and -r options to crash

11/07/2006  *** v2.16 ***

            - Fixed bug that messed up internal indices (affected crc matching)
            - More intelligent directory scanner (regarding samples and CHDs)
            - Removed 64MB file limit from directory scanner (reads 1MB blocks)
2007-02-26 00:00:32 +00:00

48 lines
898 B
Text

$NetBSD: patch-aa,v 1.3 2007/02/26 00:00:32 wiz Exp $
--- makefile.orig 2007-01-01 18:13:12.000000000 +0000
+++ makefile
@@ -5,20 +5,20 @@
MD=mkdir
CC=@gcc
-CFLAGS+=-Wall -O3 -I $(LOGIQX)/dev
+CFLAGS+=-Wall -O3 -I .
LD=@gcc
LIBS+=-lz -lm
UPX=@upx -9
-DLSRC=$(LOGIQX)/dev/datlib/src
+DLSRC=./src
DLINCS= $(DLSRC)/macro.h \
$(DLSRC)/type.h \
$(DLSRC)/token.h \
-DLOBJ=$(LOGIQX)/dev/datlib/obj
+DLOBJ=./obj
DLOBJDIRS=$(DLOBJ) \
$(DLOBJ)/drv \
@@ -42,7 +42,7 @@ DLOBJS= $(DLOBJ)/datlib.o \
# Build the obj tree then build the EXE
#
-datlib: dlmaketree $(DLOBJS)
+datlib: dlmaketree $(DLOBJS) $(DLOBJ)/libdatlib.a
#
# Creating obj directory tree
@@ -53,6 +53,10 @@ dlmaketree: $(sort $(DLOBJDIRS))
$(sort $(DLOBJDIRS)):
$(MD) $@
+$(DLOBJ)/libdatlib.a: $(DLOBJS)
+ @echo Creating $@...
+ $(AR) r $@ $(DLOBJS)
+ $(RANLIB) $@
#
# Compiling of separate modules
#