pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/gettext Workaround build problem on Solaris 10.
details: https://anonhg.NetBSD.org/pkgsrc/rev/60f2df1f4035
branches: trunk
changeset: 481849:60f2df1f4035
user: gavan <gavan%pkgsrc.org@localhost>
date: Wed Oct 13 17:14:36 2004 +0000
description:
Workaround build problem on Solaris 10.
If HAVE_POSIX_SPAWN is defined, code is compiled in that requires environ
to be declared. Solaris doesn't declare environ, so declare it (guarded by
HAVE_ENVIRON_DECL) in the files in which it is used.
Solaris 10 systems HAVE_POSIX_SPAWN, whereas previous versions do not.
diffstat:
devel/gettext/distinfo | 6 +++++-
devel/gettext/patches/patch-am | 15 +++++++++++++++
devel/gettext/patches/patch-an | 15 +++++++++++++++
devel/gettext/patches/patch-ao | 15 +++++++++++++++
devel/gettext/patches/patch-ap | 15 +++++++++++++++
5 files changed, 65 insertions(+), 1 deletions(-)
diffs (93 lines):
diff -r 7f18f70341d0 -r 60f2df1f4035 devel/gettext/distinfo
--- a/devel/gettext/distinfo Wed Oct 13 16:10:02 2004 +0000
+++ b/devel/gettext/distinfo Wed Oct 13 17:14:36 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2003/12/05 18:15:49 erh Exp $
+$NetBSD: distinfo,v 1.11 2004/10/13 17:14:36 gavan Exp $
SHA1 (gettext-0.11.5.tar.gz) = 4d17534afac106bc0f2310a9fd77a291d433234b
Size (gettext-0.11.5.tar.gz) = 3724099 bytes
@@ -10,3 +10,7 @@
SHA1 (patch-aj) = 8c8cf6fcc6f23a54b5e20e1ab741d4a7d92a11a7
SHA1 (patch-ak) = 6ba1e5c4180cfc76b3545551f18c16f2c1bdbb15
SHA1 (patch-al) = de803407110c28b044aad8c122ff42181510a0e3
+SHA1 (patch-am) = 572a97eb3f0d805e27a3654eb4a4294433a51674
+SHA1 (patch-an) = 5bda0ba8f1e8a9c5d2c073b80caa253993111f1d
+SHA1 (patch-ao) = 9d2aea0904acc72951b1f449b65948ec0ecca1e7
+SHA1 (patch-ap) = 99153dcd56d937b15caf25d3f12aa958ea096825
diff -r 7f18f70341d0 -r 60f2df1f4035 devel/gettext/patches/patch-am
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gettext/patches/patch-am Wed Oct 13 17:14:36 2004 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-am,v 1.1 2004/10/13 17:14:36 gavan Exp $
+
+--- lib/execute.c.orig 2002-01-02 10:55:32.000000000 +0000
++++ lib/execute.c
+@@ -56,6 +56,10 @@
+ # define STDERR_FILENO 2
+ #endif
+
++#ifndef HAVE_ENVIRON_DECL
++extern char **environ;
++#endif
++
+ #define _(str) gettext (str)
+
+
diff -r 7f18f70341d0 -r 60f2df1f4035 devel/gettext/patches/patch-an
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gettext/patches/patch-an Wed Oct 13 17:14:36 2004 +0000
@@ -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)
+
+
diff -r 7f18f70341d0 -r 60f2df1f4035 devel/gettext/patches/patch-ao
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gettext/patches/patch-ao Wed Oct 13 17:14:36 2004 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ao,v 1.1 2004/10/13 17:14:36 gavan Exp $
+
+--- lib/pipe-in.c.orig 2002-01-02 10:55:32.000000000 +0000
++++ lib/pipe-in.c
+@@ -51,6 +51,10 @@
+ # define STDOUT_FILENO 1
+ #endif
+
++#ifndef HAVE_ENVIRON_DECL
++extern char **environ;
++#endif
++
+ #define _(str) gettext (str)
+
+
diff -r 7f18f70341d0 -r 60f2df1f4035 devel/gettext/patches/patch-ap
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gettext/patches/patch-ap Wed Oct 13 17:14:36 2004 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ap,v 1.1 2004/10/13 17:14:36 gavan Exp $
+
+--- lib/pipe-out.c.orig 2002-01-02 10:55:32.000000000 +0000
++++ lib/pipe-out.c
+@@ -51,6 +51,10 @@
+ # define STDOUT_FILENO 1
+ #endif
+
++#ifndef HAVE_ENVIRON_DECL
++extern char **environ;
++#endif
++
+ #define _(str) gettext (str)
+
+
Home |
Main Index |
Thread Index |
Old Index