diff options
Diffstat (limited to 'misc/mmv/patches')
-rw-r--r-- | misc/mmv/patches/patch-aa | 28 | ||||
-rw-r--r-- | misc/mmv/patches/patch-ab | 18 |
2 files changed, 46 insertions, 0 deletions
diff --git a/misc/mmv/patches/patch-aa b/misc/mmv/patches/patch-aa new file mode 100644 index 00000000000..77f5a4fbbbb --- /dev/null +++ b/misc/mmv/patches/patch-aa @@ -0,0 +1,28 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/08/15 21:09:04 agc Exp $ + +--- Makefile 2001/08/15 21:53:53 1.1 ++++ Makefile 2001/08/15 21:57:23 +@@ -1,16 +1,16 @@ + # Possible defines in CONF: + # IS_MSDOS IS_SYSV IS_V7 IS_BSD HAS_DIRENT HAS_RENAME MV_DIR + +-CC =gcc -traditional +-LD =$(CC) +-CONF =-DIS_SYSV -DHAS_DIRENT -DHAS_RENAME +-CFLAGS =-O2 -m486 $(CONF) +-LDFLAGS =-s -N ++#CC =gcc -traditional ++#LD =$(CC) ++CCFLAGS+= -DIS_BSD -DHAS_DIRENT -DHAS_RENAME ++#CFLAGS =-O2 $(CONF) ++#LDFLAGS =-s -N + + #IBIN =$(LOCAL)$(ARCH)/bin + #IMAN =$(LOCAL)$(ANY)/man +-IBIN=$(DESTDIR)/usr/bin/ +-IMAN=$(DESTDIR)/usr/man/ ++IBIN=${PREFIX}/bin ++IMAN=${PREFIX}/man + + mmv: mmv.o + diff --git a/misc/mmv/patches/patch-ab b/misc/mmv/patches/patch-ab new file mode 100644 index 00000000000..d636cf8a5ad --- /dev/null +++ b/misc/mmv/patches/patch-ab @@ -0,0 +1,18 @@ +$NetBSD: patch-ab,v 1.1.1.1 2001/08/15 21:09:04 agc Exp $ + +--- mmv.c 2001/08/15 21:55:50 1.1 ++++ mmv.c 2001/08/15 21:56:37 +@@ -123,10 +123,13 @@ + #include <sys/types.h> + #include <sys/stat.h> + #include <sys/file.h> ++#include <sys/param.h> + ++#if !(defined(BSD) && BSD >= 199306) + extern char *getenv(); + extern long lseek(); + extern char *malloc(); ++#endif + + #ifdef HAS_DIRENT + #include <dirent.h> |