diff options
author | schmonz <schmonz@pkgsrc.org> | 2002-12-12 08:59:10 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2002-12-12 08:59:10 +0000 |
commit | b3b7f82b4e851b03f3754abef3d085f58fe63463 (patch) | |
tree | 26145798ed85871a3223927656af015571767125 /devel/gettext-lib | |
parent | 2cf4f09e3ac0854093bf8190e9cb00c26e7fec79 (diff) | |
download | pkgsrc-b3b7f82b4e851b03f3754abef3d085f58fe63463.tar.gz |
Work around a obscure compiler error in devel/gtexinfo on Darwin. Patch from
<URL:http://mail.gnu.org/pipermail/bug-gnu-utils/2002-September/002920.html>.
Diffstat (limited to 'devel/gettext-lib')
-rw-r--r-- | devel/gettext-lib/distinfo | 3 | ||||
-rw-r--r-- | devel/gettext-lib/patches/patch-aa | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/devel/gettext-lib/distinfo b/devel/gettext-lib/distinfo index e559668b615..f29c9321a9a 100644 --- a/devel/gettext-lib/distinfo +++ b/devel/gettext-lib/distinfo @@ -1,4 +1,5 @@ -$NetBSD: distinfo,v 1.4 2002/11/27 17:41:07 drochner Exp $ +$NetBSD: distinfo,v 1.5 2002/12/12 08:59:10 schmonz Exp $ SHA1 (gettext-0.11.5.tar.gz) = 4d17534afac106bc0f2310a9fd77a291d433234b Size (gettext-0.11.5.tar.gz) = 3724099 bytes +SHA1 (patch-aa) = f246e85f695e5999aac270e7e5f2cceb31e7b7ed diff --git a/devel/gettext-lib/patches/patch-aa b/devel/gettext-lib/patches/patch-aa new file mode 100644 index 00000000000..98d2826c7dc --- /dev/null +++ b/devel/gettext-lib/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1 2002/12/12 08:59:11 schmonz Exp $ + +--- intl/libgnuintl.h.orig Tue Jul 23 08:27:52 2002 ++++ intl/libgnuintl.h +@@ -93,7 +93,7 @@ extern "C" { + If he doesn't, we choose the method. A third possible method is + _INTL_REDIRECT_ASM, supported only by GCC. */ + #if !(defined _INTL_REDIRECT_INLINE || defined _INTL_REDIRECT_MACROS) +-# if __GNUC__ >= 2 && (defined __STDC__ || defined __cplusplus) ++# if __GNUC__ >= 2 && !defined __APPLE_CC__ && (defined __STDC__ || defined __cplusplus) + # define _INTL_REDIRECT_ASM + # else + # ifdef __cplusplus |