summaryrefslogtreecommitdiff
path: root/devel/gettext/patches/patch-an
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gettext/patches/patch-an')
-rw-r--r--devel/gettext/patches/patch-an15
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/gettext/patches/patch-an b/devel/gettext/patches/patch-an
new file mode 100644
index 00000000000..7fac37420de
--- /dev/null
+++ b/devel/gettext/patches/patch-an
@@ -0,0 +1,15 @@
+$NetBSD: patch-an,v 1.1 2004/10/13 17:14:36 gavan Exp $
+
+--- lib/pipe-bidi.c.orig 2002-01-02 10:55:32.000000000 +0000
++++ lib/pipe-bidi.c
+@@ -51,6 +51,10 @@
+ # define STDOUT_FILENO 1
+ #endif
+
++#ifndef HAVE_ENVIRON_DECL
++extern char **environ;
++#endif
++
+ #define _(str) gettext (str)
+
+