summaryrefslogtreecommitdiff
path: root/devel/gettext/patches
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2011-08-05 00:36:09 +0000
committeradam <adam@pkgsrc.org>2011-08-05 00:36:09 +0000
commitca3d3e23362b5095c22d1a65d1b9c8eae0bde720 (patch)
treee8da8f133f6a9c1629257a7bd5aa812986b8d84b /devel/gettext/patches
parent0450812a5579393e198e24e6437f73f2c3492496 (diff)
downloadpkgsrc-ca3d3e23362b5095c22d1a65d1b9c8eae0bde720.tar.gz
Fix buidling on Mac OS X 10.7
Diffstat (limited to 'devel/gettext/patches')
-rw-r--r--devel/gettext/patches/patch-ae12
1 files changed, 11 insertions, 1 deletions
diff --git a/devel/gettext/patches/patch-ae b/devel/gettext/patches/patch-ae
index 38638457f56..9340c17b155 100644
--- a/devel/gettext/patches/patch-ae
+++ b/devel/gettext/patches/patch-ae
@@ -1,4 +1,4 @@
-$NetBSD: patch-ae,v 1.4 2011/04/12 17:41:28 adam Exp $
+$NetBSD: patch-ae,v 1.5 2011/08/05 00:36:10 adam Exp $
--- gettext-tools/configure.orig 2010-06-06 20:12:20.000000000 +0000
+++ gettext-tools/configure
@@ -13,3 +13,13 @@ $NetBSD: patch-ae,v 1.4 2011/04/12 17:41:28 adam Exp $
fi
CATOBJEXT=
+@@ -40606,7 +40602,9 @@ else
+ #include <stdlib.h>
+ #include <string.h> /* for strcpy */
+ /* The stpncpy prototype is missing in <string.h> on AIX 4. */
++#ifndef __APPLE__
+ extern char *stpncpy (char *dest, const char *src, size_t n);
++#endif
+ int main () {
+ const char *src = "Hello";
+ char dest[10];