summaryrefslogtreecommitdiff
path: root/textproc/grep
diff options
context:
space:
mode:
authortnn <tnn>2008-03-11 02:18:22 +0000
committertnn <tnn>2008-03-11 02:18:22 +0000
commit30f06669b7c9b49e46f3b68d433aef70307b8bdb (patch)
tree87ed7e7a6a043aba58079e0da63bb1694f60f97d /textproc/grep
parentbf50c2c18c44feda30b0287cc5768d817554f563 (diff)
downloadpkgsrc-30f06669b7c9b49e46f3b68d433aef70307b8bdb.tar.gz
MIPSPro doesn't like code such as:
void foo(void) {} void bar(void) { return foo(); } Stripping away the return makes it happy. PR pkg/38210.
Diffstat (limited to 'textproc/grep')
-rw-r--r--textproc/grep/distinfo3
-rw-r--r--textproc/grep/patches/patch-aa26
2 files changed, 28 insertions, 1 deletions
diff --git a/textproc/grep/distinfo b/textproc/grep/distinfo
index 2f2bd30f3fe..d63e8cbe1f7 100644
--- a/textproc/grep/distinfo
+++ b/textproc/grep/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.8 2008/03/08 12:16:43 tnn Exp $
+$NetBSD: distinfo,v 1.9 2008/03/11 02:18:22 tnn Exp $
SHA1 (grep-2.5.3.tar.bz2) = 53227ca9a01d5548448372f9b2e9111adf159f3b
RMD160 (grep-2.5.3.tar.bz2) = dafa692fd67dfcd1c94115e9831d291b29fa7729
Size (grep-2.5.3.tar.bz2) = 618184 bytes
+SHA1 (patch-aa) = 4b25015c920849a3fd5bd13a544eb87029223d36
diff --git a/textproc/grep/patches/patch-aa b/textproc/grep/patches/patch-aa
new file mode 100644
index 00000000000..d062bf33804
--- /dev/null
+++ b/textproc/grep/patches/patch-aa
@@ -0,0 +1,26 @@
+$NetBSD: patch-aa,v 1.5 2008/03/11 02:18:22 tnn Exp $
+
+--- src/search.c.orig 2007-06-28 20:57:19.000000000 +0200
++++ src/search.c
+@@ -280,18 +280,18 @@ GEAcompile (char const *pattern, size_t
+ #ifndef EGREP_PROGRAM
+ COMPILE_FCT(Gcompile)
+ {
+- return GEAcompile (pattern, size,
++ GEAcompile (pattern, size,
+ RE_SYNTAX_GREP | RE_HAT_LISTS_NOT_NEWLINE);
+ }
+
+ COMPILE_FCT(Acompile)
+ {
+- return GEAcompile (pattern, size, RE_SYNTAX_AWK);
++ GEAcompile (pattern, size, RE_SYNTAX_AWK);
+ }
+
+ COMPILE_FCT(Ecompile)
+ {
+- return GEAcompile (pattern, size, RE_SYNTAX_POSIX_EGREP);
++ GEAcompile (pattern, size, RE_SYNTAX_POSIX_EGREP);
+ }
+ #endif /* !EGREP_PROGRAM */
+