Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/base
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv1203
Added Files:
gettext-tools-0.17.patch
Log Message:
...
--- NEW FILE: gettext-tools-0.17.patch ---
diff -uNr gettext-0.17/gettext-runtime/gnulib-lib/setenv.c
gettext-0.17-new/gettext-runtime/gnulib-lib/setenv.c
--- gettext-0.17/gettext-runtime/gnulib-lib/setenv.c 2007-10-07
16:28:16.000000000 -0400
+++ gettext-0.17-new/gettext-runtime/gnulib-lib/setenv.c 2007-12-06
16:31:05.000000000 -0500
@@ -37,9 +37,14 @@
#endif
#if !_LIBC
-# define __environ environ
-# ifndef HAVE_ENVIRON_DECL
-extern char **environ;
+# define __environ environ
+# if ! HAVE_ENVIRON_DECL
+# ifdef __APPLE__
+# include <crt_externs.h>
+# define environ (*_NSGetEnviron())
+# else
+ extern char **environ;
+# endif
# endif
#endif
diff -uNr gettext-0.17/gettext-runtime/libasprintf/Makefile.in
gettext-0.17-new/gettext-runtime/libasprintf/Makefile.in
--- gettext-0.17/gettext-runtime/libasprintf/Makefile.in 2007-11-06
18:35:22.000000000 -0500
+++ gettext-0.17-new/gettext-runtime/libasprintf/Makefile.in 2007-12-06
16:31:05.000000000 -0500
@@ -290,7 +290,7 @@
# How to build libasprintf.
# With libtool 1.5.14, on some platforms, like BeOS, "libtool --tag=CXX" fails
# to create a shared library, however "libtool --tag=CC" succeeds.
-libasprintf_la_LDFLAGS = @LTNOUNDEF@
+libasprintf_la_LDFLAGS = @LTNOUNDEF@ -static
MAKEINFOFLAGS = --no-split
info_TEXINFOS = autosprintf.texi
CLEANFILES = autosprintf.pdf
diff -uNr gettext-0.17/gettext-tools/doc/gettext.info
gettext-0.17-new/gettext-tools/doc/gettext.info
--- gettext-0.17/gettext-tools/doc/gettext.info 2007-11-01 22:23:13.000000000
-0400
+++ gettext-0.17-new/gettext-tools/doc/gettext.info 2007-12-06
16:30:28.000000000 -0500
@@ -1,7 +1,7 @@
-INFO-DIR-SECTION GNU Gettext Utilities
-START-INFO-DIR-ENTRY
This is gettext.info, produced by makeinfo version 4.11 from gettext.texi.
+INFO-DIR-SECTION GNU Gettext Utilities
+START-INFO-DIR-ENTRY
* gettext: (gettext). GNU gettext utilities.
* autopoint: (gettext)autopoint Invocation. Copy gettext infrastructure.
* envsubst: (gettext)envsubst Invocation. Expand environment variables.
diff -uNr gettext-0.17/gettext-tools/gnulib-lib/execute.c
gettext-0.17-new/gettext-tools/gnulib-lib/execute.c
--- gettext-0.17/gettext-tools/gnulib-lib/execute.c 2007-10-07
16:29:19.000000000 -0400
+++ gettext-0.17-new/gettext-tools/gnulib-lib/execute.c 2007-12-06
16:31:05.000000000 -0500
@@ -55,7 +55,12 @@
#endif
#if ! HAVE_ENVIRON_DECL
-extern char **environ;
+# ifdef __APPLE__
+# include <crt_externs.h>
+# define environ (*_NSGetEnviron())
+# else
+ extern char **environ;
+# endif
#endif
#ifndef STDIN_FILENO
diff -uNr gettext-0.17/gettext-tools/gnulib-lib/pipe.c
gettext-0.17-new/gettext-tools/gnulib-lib/pipe.c
--- gettext-0.17/gettext-tools/gnulib-lib/pipe.c 2007-10-07
16:29:34.000000000 -0400
+++ gettext-0.17-new/gettext-tools/gnulib-lib/pipe.c 2007-12-06
16:31:05.000000000 -0500
@@ -54,7 +54,12 @@
#endif
#if ! HAVE_ENVIRON_DECL
-extern char **environ;
+# ifdef __APPLE__
+# include <crt_externs.h>
+# define environ (*_NSGetEnviron())
+# else
+ extern char **environ;
+# endif
#endif
#ifndef STDIN_FILENO
diff -uNr gettext-0.17/gettext-tools/gnulib-lib/setenv.c
gettext-0.17-new/gettext-tools/gnulib-lib/setenv.c
--- gettext-0.17/gettext-tools/gnulib-lib/setenv.c 2007-10-07
16:29:34.000000000 -0400
+++ gettext-0.17-new/gettext-tools/gnulib-lib/setenv.c 2007-12-06
16:31:05.000000000 -0500
@@ -38,8 +38,13 @@
#if !_LIBC
# define __environ environ
-# ifndef HAVE_ENVIRON_DECL
-extern char **environ;
+# if ! HAVE_ENVIRON_DECL
+# ifdef __APPLE__
+# include <crt_externs.h>
+# define environ (*_NSGetEnviron())
+# else
+ extern char **environ;
+# endif
# endif
#endif
diff -uNr gettext-0.17/gettext-tools/gnulib-lib/unsetenv.c
gettext-0.17-new/gettext-tools/gnulib-lib/unsetenv.c
--- gettext-0.17/gettext-tools/gnulib-lib/unsetenv.c 2007-10-07
16:29:39.000000000 -0400
+++ gettext-0.17-new/gettext-tools/gnulib-lib/unsetenv.c 2007-12-06
16:31:05.000000000 -0500
@@ -27,8 +27,13 @@
#if !_LIBC
# define __environ environ
-# ifndef HAVE_ENVIRON_DECL
-extern char **environ;
+# if ! HAVE_ENVIRON_DECL
+# ifdef __APPLE__
+# include <crt_externs.h>
+# define environ (*_NSGetEnviron())
+# else
+ extern char **environ;
+# endif
# endif
#endif
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs