summaryrefslogtreecommitdiff
path: root/textproc/bsdgrep-devel/patches
diff options
context:
space:
mode:
authorcjep <cjep@pkgsrc.org>2003-08-31 09:37:51 +0000
committercjep <cjep@pkgsrc.org>2003-08-31 09:37:51 +0000
commitd14700a9b357c9745bf1361ad3020b4c66e2c139 (patch)
tree34f688c1d467d0b6d2bc2b98c72cee86050ba0f0 /textproc/bsdgrep-devel/patches
parent5ed77489aa08060764edd0be3cb681b512d40608 (diff)
downloadpkgsrc-d14700a9b357c9745bf1361ad3020b4c66e2c139.tar.gz
After discussion with grant, reimport bgrep as bsdgrep-devel.
Diffstat (limited to 'textproc/bsdgrep-devel/patches')
-rw-r--r--textproc/bsdgrep-devel/patches/patch-aa42
-rw-r--r--textproc/bsdgrep-devel/patches/patch-ab16
-rw-r--r--textproc/bsdgrep-devel/patches/patch-ac12
-rw-r--r--textproc/bsdgrep-devel/patches/patch-ad12
-rw-r--r--textproc/bsdgrep-devel/patches/patch-ae20
5 files changed, 102 insertions, 0 deletions
diff --git a/textproc/bsdgrep-devel/patches/patch-aa b/textproc/bsdgrep-devel/patches/patch-aa
new file mode 100644
index 00000000000..95320a3ed47
--- /dev/null
+++ b/textproc/bsdgrep-devel/patches/patch-aa
@@ -0,0 +1,42 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/08/31 09:37:51 cjep Exp $
+
+--- Makefile.orig 2003-07-20 14:45:41.000000000 +0100
++++ Makefile
+@@ -2,16 +2,18 @@
+
+-PROG= grep
++PROG= bgrep
+ SRCS= binary.c file.c grep.c mmfile.c queue.c util.c
+
+-LINKS= ${BINDIR}/grep ${BINDIR}/egrep \
+- ${BINDIR}/grep ${BINDIR}/fgrep \
+- ${BINDIR}/grep ${BINDIR}/zgrep \
+- ${BINDIR}/grep ${BINDIR}/zegrep \
+- ${BINDIR}/grep ${BINDIR}/zfgrep
+-
+-MLINKS= grep.1 egrep.1 \
+- grep.1 fgrep.1 \
+- grep.1 zgrep.1 \
+- grep.1 zegrep.1 \
+- grep.1 zfgrep.1
++PREFIX?= /usr/local
++
++LINKS= ${BINDIR}/bgrep ${BINDIR}/ebgrep \
++ ${BINDIR}/bgrep ${BINDIR}/fbgrep \
++ ${BINDIR}/bgrep ${BINDIR}/zbgrep \
++ ${BINDIR}/bgrep ${BINDIR}/zebgrep \
++ ${BINDIR}/bgrep ${BINDIR}/zfbgrep
++
++MLINKS= bgrep.1 ebgrep.1 \
++ bgrep.1 fbgrep.1 \
++ bgrep.1 zbgrep.1 \
++ bgrep.1 zebgrep.1 \
++ bgrep.1 zfbgrep.1
+
+@@ -19,2 +21,6 @@ LDADD= -lz
+
++MANDIR=${PREFIX}/man
++BINDIR=${PREFIX}/bin
++MKCATPAGES=no
++
+ WARNS=2
diff --git a/textproc/bsdgrep-devel/patches/patch-ab b/textproc/bsdgrep-devel/patches/patch-ab
new file mode 100644
index 00000000000..37e562fcea2
--- /dev/null
+++ b/textproc/bsdgrep-devel/patches/patch-ab
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.1.1.1 2003/08/31 09:37:51 cjep Exp $
+
+--- file.c.orig Wed Aug 27 12:59:52 2003
++++ file.c Wed Aug 27 13:00:09 2003
+@@ -34,10 +34,10 @@
+
+ #include <sys/param.h>
+
++#include <zlib.h>
+ #include <err.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+-#include <zlib.h>
+
+ #include "grep.h"
+
diff --git a/textproc/bsdgrep-devel/patches/patch-ac b/textproc/bsdgrep-devel/patches/patch-ac
new file mode 100644
index 00000000000..4cc1a33bc2f
--- /dev/null
+++ b/textproc/bsdgrep-devel/patches/patch-ac
@@ -0,0 +1,12 @@
+$NetBSD: patch-ac,v 1.1.1.1 2003/08/31 09:37:51 cjep Exp $
+
+--- grep.c.orig Wed Aug 27 13:00:48 2003
++++ grep.c Wed Aug 27 13:01:03 2003
+@@ -37,6 +37,7 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
+
++#include <zlib.h>
+ #include <err.h>
+ #include <errno.h>
+ #include <getopt.h>
diff --git a/textproc/bsdgrep-devel/patches/patch-ad b/textproc/bsdgrep-devel/patches/patch-ad
new file mode 100644
index 00000000000..90dbd1500a2
--- /dev/null
+++ b/textproc/bsdgrep-devel/patches/patch-ad
@@ -0,0 +1,12 @@
+$NetBSD: patch-ad,v 1.1.1.1 2003/08/31 09:37:51 cjep Exp $
+
+--- mmfile.c.orig Wed Aug 27 13:01:21 2003
++++ mmfile.c Wed Aug 27 13:01:42 2003
+@@ -36,6 +36,7 @@
+ #include <sys/mman.h>
+ #include <sys/stat.h>
+
++#include <zlib.h>
+ #include <err.h>
+ #include <fcntl.h>
+ #include <stdlib.h>
diff --git a/textproc/bsdgrep-devel/patches/patch-ae b/textproc/bsdgrep-devel/patches/patch-ae
new file mode 100644
index 00000000000..12271f5c786
--- /dev/null
+++ b/textproc/bsdgrep-devel/patches/patch-ae
@@ -0,0 +1,20 @@
+$NetBSD: patch-ae,v 1.1.1.1 2003/08/31 09:37:51 cjep Exp $
+
+--- util.c.orig Wed Aug 27 13:01:54 2003
++++ util.c Wed Aug 27 13:02:02 2003
+@@ -36,6 +36,7 @@
+ #include <sys/stat.h>
+
+ #include <ctype.h>
++#include <zlib.h>
+ #include <err.h>
+ #include <errno.h>
+ #include <fts.h>
+@@ -44,7 +45,6 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <unistd.h>
+-#include <zlib.h>
+
+ #include "grep.h"
+