summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-03-06 13:45:34 +0000
committerrillig <rillig@pkgsrc.org>2007-03-06 13:45:34 +0000
commit41641ef3e37ac6c63034891e1600ee618782ac7c (patch)
treebc5af9b2a0ef1b022968062ab1e39bd9cdc81ae0
parent88bc02707e640504c9426ee6bbb7054f15ad35b0 (diff)
downloadpkgsrc-41641ef3e37ac6c63034891e1600ee618782ac7c.tar.gz
Second part of the patch. Now the package builds.
-rw-r--r--devel/gettext-tools/distinfo3
-rw-r--r--devel/gettext-tools/patches/patch-ar15
2 files changed, 17 insertions, 1 deletions
diff --git a/devel/gettext-tools/distinfo b/devel/gettext-tools/distinfo
index a1fdac9b411..3091bc60b4c 100644
--- a/devel/gettext-tools/distinfo
+++ b/devel/gettext-tools/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2007/03/06 13:08:24 rillig Exp $
+$NetBSD: distinfo,v 1.6 2007/03/06 13:45:34 rillig Exp $
SHA1 (gettext-0.14.6.tar.gz) = 0d8ce8d9a09a719065a1530399c4f45c15a002c5
RMD160 (gettext-0.14.6.tar.gz) = 02138d12fd4d9ce0b3bda2d132f1569b30d16726
@@ -17,3 +17,4 @@ SHA1 (patch-an) = f99f345f9b23f72e4a462445bcce8281dd1e5308
SHA1 (patch-ao) = 9e81b05b6e1ee76197c360a441264588607a475c
SHA1 (patch-ap) = 2955c2d6b2b2d52248d449a0b7ea025a0d632bea
SHA1 (patch-aq) = e3faeb0beddf878c6c87f51638e4cd23f7222873
+SHA1 (patch-ar) = 9cf5eb416ffa14aab30f3df33af8eebb3bf6f956
diff --git a/devel/gettext-tools/patches/patch-ar b/devel/gettext-tools/patches/patch-ar
new file mode 100644
index 00000000000..99ff70f7e45
--- /dev/null
+++ b/devel/gettext-tools/patches/patch-ar
@@ -0,0 +1,15 @@
+$NetBSD: patch-ar,v 1.1 2007/03/06 13:45:34 rillig Exp $
+
+See patch-aq.
+
+--- gettext-tools/src/po-lex.c.orig Fri May 20 17:03:44 2005
++++ gettext-tools/src/po-lex.c Tue Mar 6 08:39:03 2007
+@@ -71,7 +71,7 @@
+ These functions can access gram_pos and gram_pos_column. */
+
+ #if !(__STDC__ && \
+- ((defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L && !defined __DECC) \
++ ((defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L && !defined __DECC && !(defined(__sgi) && !defined(__GNUC__))) \
+ || (defined __GNUC__ && __GNUC__ >= 2 && !defined __APPLE_CC__)))
+
+ /* CAUTION: If you change this function, you must also make identical