diff -r c1ab501b4751 -r 7a6617235946 gettext/gettext.patch --- a/gettext/gettext.patch Tue Aug 28 18:54:50 2012 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,25 +0,0 @@ -Index: gettext-runtime/intl/plural-exp.c ---- gettext-runtime/intl/plural-exp.c.orig 2009-06-28 21:44:04.000000000 +0200 -+++ gettext-runtime/intl/plural-exp.c 2010-05-10 08:51:14.000000000 +0200 -@@ -27,7 +27,7 @@ - - #include "plural-exp.h" - --#if (defined __GNUC__ && !(__APPLE_CC__ > 1) && !defined __cplusplus) \ -+#if (defined __GNUC__ && !(__APPLE_CC__+0 > 1) && !defined __cplusplus) \ - || (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L) - - /* These structs are the constant expression for the germanic plural -Index: gettext-tools/gnulib-lib/execute.c ---- gettext-tools/gnulib-lib/execute.c.orig 2010-02-16 22:32:17.000000000 +0100 -+++ gettext-tools/gnulib-lib/execute.c 2010-05-10 20:22:18.000000000 +0200 -@@ -200,6 +200,9 @@ - subprocess to exit with return code 127. It is implementation - dependent which error is reported which way. We treat both cases as - equivalent. */ -+#ifndef HAVE_ENVIRON_DECL -+ extern char **environ; -+#endif - sigset_t blocked_signals; - posix_spawn_file_actions_t actions; - bool actions_allocated;