summaryrefslogtreecommitdiff
path: root/devel/gettext-tools
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-03-06 13:08:24 +0000
committerrillig <rillig@pkgsrc.org>2007-03-06 13:08:24 +0000
commit88bc02707e640504c9426ee6bbb7054f15ad35b0 (patch)
treedc1d562d860fa6aa6da330c4154576713b445593 /devel/gettext-tools
parent07da582827545250054134dedd234577f1a6acdc (diff)
downloadpkgsrc-88bc02707e640504c9426ee6bbb7054f15ad35b0.tar.gz
ISO C99 does not require support for varargs macros with zero arguments,
so MIPSpro doesn't support it either.
Diffstat (limited to 'devel/gettext-tools')
-rw-r--r--devel/gettext-tools/distinfo3
-rw-r--r--devel/gettext-tools/patches/patch-aq19
2 files changed, 21 insertions, 1 deletions
diff --git a/devel/gettext-tools/distinfo b/devel/gettext-tools/distinfo
index 1925db21a3e..a1fdac9b411 100644
--- a/devel/gettext-tools/distinfo
+++ b/devel/gettext-tools/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2006/07/26 06:53:02 adam Exp $
+$NetBSD: distinfo,v 1.5 2007/03/06 13:08:24 rillig Exp $
SHA1 (gettext-0.14.6.tar.gz) = 0d8ce8d9a09a719065a1530399c4f45c15a002c5
RMD160 (gettext-0.14.6.tar.gz) = 02138d12fd4d9ce0b3bda2d132f1569b30d16726
@@ -16,3 +16,4 @@ SHA1 (patch-am) = c130b93748604e3823ba17d29af9d91aaeecfcde
SHA1 (patch-an) = f99f345f9b23f72e4a462445bcce8281dd1e5308
SHA1 (patch-ao) = 9e81b05b6e1ee76197c360a441264588607a475c
SHA1 (patch-ap) = 2955c2d6b2b2d52248d449a0b7ea025a0d632bea
+SHA1 (patch-aq) = e3faeb0beddf878c6c87f51638e4cd23f7222873
diff --git a/devel/gettext-tools/patches/patch-aq b/devel/gettext-tools/patches/patch-aq
new file mode 100644
index 00000000000..e0f37b421d9
--- /dev/null
+++ b/devel/gettext-tools/patches/patch-aq
@@ -0,0 +1,19 @@
+$NetBSD: patch-aq,v 1.1 2007/03/06 13:08:24 rillig Exp $
+
+Don't assume that any compiler other than gcc can handle varargs macros
+where zero arguments are given for "...". Accepting zero arguments is
+not required by ISO C99.
+
+Fixed in gettext-tools-0.16.
+
+--- gettext-tools/src/po-lex.h.orig Fri May 20 17:03:44 2005
++++ gettext-tools/src/po-lex.h Tue Mar 6 07:10:13 2007
+@@ -73,7 +73,7 @@
+
+ /* ISO C 99 is smart enough to allow optimizations like this.
+ Note: OpenVMS 7.3 cc pretends to support ISO C 99 but chokes on '...'. */
+-#if __STDC__ && (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L && !defined __DECC)
++#if defined(__GNUC__)
+
+ /* CAUTION: If you change this macro, you must also make identical
+ changes to the function of the same name in src/po-lex.c */