gettext/gettext.patch

changeset 271
f45355418dfd
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gettext/gettext.patch	Fri Oct 22 13:22:33 2010 +0200
     1.3 @@ -0,0 +1,25 @@
     1.4 +Index: gettext-runtime/intl/plural-exp.c
     1.5 +--- gettext-runtime/intl/plural-exp.c.orig	2009-06-28 21:44:04.000000000 +0200
     1.6 ++++ gettext-runtime/intl/plural-exp.c	2010-05-10 08:51:14.000000000 +0200
     1.7 +@@ -27,7 +27,7 @@
     1.8 + 
     1.9 + #include "plural-exp.h"
    1.10 + 
    1.11 +-#if (defined __GNUC__ && !(__APPLE_CC__ > 1) && !defined __cplusplus) \
    1.12 ++#if (defined __GNUC__ && !(__APPLE_CC__+0 > 1) && !defined __cplusplus) \
    1.13 +     || (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L)
    1.14 + 
    1.15 + /* These structs are the constant expression for the germanic plural
    1.16 +Index: gettext-tools/gnulib-lib/execute.c
    1.17 +--- gettext-tools/gnulib-lib/execute.c.orig	2010-02-16 22:32:17.000000000 +0100
    1.18 ++++ gettext-tools/gnulib-lib/execute.c	2010-05-10 20:22:18.000000000 +0200
    1.19 +@@ -200,6 +200,9 @@
    1.20 +      subprocess to exit with return code 127.  It is implementation
    1.21 +      dependent which error is reported which way.  We treat both cases as
    1.22 +      equivalent.  */
    1.23 ++#ifndef HAVE_ENVIRON_DECL
    1.24 ++  extern char **environ;
    1.25 ++#endif
    1.26 +   sigset_t blocked_signals;
    1.27 +   posix_spawn_file_actions_t actions;
    1.28 +   bool actions_allocated;

mercurial