diff options
author | wiz <wiz@pkgsrc.org> | 2005-03-14 16:20:58 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2005-03-14 16:20:58 +0000 |
commit | 188fde5d60e529f3ade6436f2019f3e6ccb5dac5 (patch) | |
tree | f705ea3e73a45af5bd0e1ace1cf49fcab951e625 /emulators/DatUtil/patches | |
parent | d5e5421414216ca2dae3e9da064f7bc6e0fd4334 (diff) | |
download | pkgsrc-188fde5d60e529f3ade6436f2019f3e6ccb5dac5.tar.gz |
Automatically convert all files to unix line endings by extracting, and
remove DOS line endings from patches too. Improves probability of
compilation on gcc2 systems.
Diffstat (limited to 'emulators/DatUtil/patches')
-rw-r--r-- | emulators/DatUtil/patches/patch-aa | 60 | ||||
-rw-r--r-- | emulators/DatUtil/patches/patch-ab | 34 |
2 files changed, 47 insertions, 47 deletions
diff --git a/emulators/DatUtil/patches/patch-aa b/emulators/DatUtil/patches/patch-aa index 8179d281bf8..76e13364735 100644 --- a/emulators/DatUtil/patches/patch-aa +++ b/emulators/DatUtil/patches/patch-aa @@ -1,36 +1,36 @@ -$NetBSD: patch-aa,v 1.1.1.1 2005/03/04 12:05:13 wiz Exp $ +$NetBSD: patch-aa,v 1.2 2005/03/14 16:20:58 wiz Exp $ --- makefile.orig 2004-07-01 16:25:16.000000000 +0200 +++ makefile @@ -3,7 +3,7 @@ - #
-
- NAME=datutil
--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
+ # + + NAME=datutil +-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
++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
+ + $(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/DatUtil/patches/patch-ab b/emulators/DatUtil/patches/patch-ab index d38ee72bdbf..daa22e55b22 100644 --- a/emulators/DatUtil/patches/patch-ab +++ b/emulators/DatUtil/patches/patch-ab @@ -1,21 +1,21 @@ -$NetBSD: patch-ab,v 1.1.1.1 2005/03/04 12:05:13 wiz Exp $ +$NetBSD: patch-ab,v 1.2 2005/03/14 16:20:58 wiz Exp $ --- src/datutil.c.orig 2005-02-22 21:04:44.000000000 +0100 +++ src/datutil.c @@ -21,13 +21,13 @@ -
- /* --- 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/misc/getopt.h>
-
-
- /* --- DatUtil definitions and macros --- */
+ + /* --- 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/misc/getopt.h> + + + /* --- DatUtil definitions and macros --- */ |