pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/grep MIPSPro doesn't like code such as:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2f00f194b7b9
branches:  trunk
changeset: 539670:2f00f194b7b9
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Tue Mar 11 02:18:22 2008 +0000

description:
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:

 textproc/grep/distinfo         |   3 ++-
 textproc/grep/patches/patch-aa |  26 ++++++++++++++++++++++++++
 2 files changed, 28 insertions(+), 1 deletions(-)

diffs (41 lines):

diff -r b99437f444d2 -r 2f00f194b7b9 textproc/grep/distinfo
--- a/textproc/grep/distinfo    Tue Mar 11 02:03:13 2008 +0000
+++ b/textproc/grep/distinfo    Tue Mar 11 02:18:22 2008 +0000
@@ -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 -r b99437f444d2 -r 2f00f194b7b9 textproc/grep/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/grep/patches/patch-aa    Tue Mar 11 02:18:22 2008 +0000
@@ -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 */
+ 



Home | Main Index | Thread Index | Old Index