gettext/gettext.patch

Sat, 24 Mar 2012 21:40:49 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 24 Mar 2012 21:40:49 +0100
changeset 414
fd611cde817f
permissions
-rw-r--r--

Introduce many changes to the buildconf and source code including:
(01) clean up, update, and partially update default config files,
(02) seems that Melware is unable to perform release engineering so
update chan_capi to new daily snapshot to solve echo problems,
(03) correct Asterisk inadequate hard coded gmime version check,
(04) force postgresql pthreads linkage to solve build problem,
(05) remove buggy hard coded LibXML configure definitions,
(06) remove local architecture specification to allow GCC
internal logic to determine proper CPU type instead,
(07) remove vendor sound install target causing uncontrolled
downloads and non RPM managed file installation,
(08) solve long outstanding bug in tcptls causing Asterisk
to ignore any intermediate CA certificate signatures,
(09) back out Digium engineering team's bright idea of replacing the
very portable and pervasive POSIX rand(1) with ast_random(), and
then not even implementing it causing all references to fail in
platforms not providing the very new POSIX.1-2008 mkdtemp(3)
function only distributed by BSD and some Linux,
(10) withdraw advanced linker symbol manipulations from SVR5 builds
until either Binutils supports hybrid versioned and anonymous
linker scripts or GCC stops hard coding versioned linker scripts,
(11) correct missing library linkage, some tailored to a specific OS,
(12) remove outdated logic for the no longer distributed gmime-config(1),
(13) remove local gmime buildconf hacks now that Asterisk has corrected
their own build configuration to almost portably support gmime,
(14) solve build problems relating to undetected LibXML paths,
(15) correct erroneous out of tree include definitions,
(16) improve some variable and comment naming,
(17) simplify sound language path hierarchy creation,
and correct australian english installation logic.

michael@271 1 Index: gettext-runtime/intl/plural-exp.c
michael@271 2 --- gettext-runtime/intl/plural-exp.c.orig 2009-06-28 21:44:04.000000000 +0200
michael@271 3 +++ gettext-runtime/intl/plural-exp.c 2010-05-10 08:51:14.000000000 +0200
michael@271 4 @@ -27,7 +27,7 @@
michael@271 5
michael@271 6 #include "plural-exp.h"
michael@271 7
michael@271 8 -#if (defined __GNUC__ && !(__APPLE_CC__ > 1) && !defined __cplusplus) \
michael@271 9 +#if (defined __GNUC__ && !(__APPLE_CC__+0 > 1) && !defined __cplusplus) \
michael@271 10 || (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L)
michael@271 11
michael@271 12 /* These structs are the constant expression for the germanic plural
michael@271 13 Index: gettext-tools/gnulib-lib/execute.c
michael@271 14 --- gettext-tools/gnulib-lib/execute.c.orig 2010-02-16 22:32:17.000000000 +0100
michael@271 15 +++ gettext-tools/gnulib-lib/execute.c 2010-05-10 20:22:18.000000000 +0200
michael@271 16 @@ -200,6 +200,9 @@
michael@271 17 subprocess to exit with return code 127. It is implementation
michael@271 18 dependent which error is reported which way. We treat both cases as
michael@271 19 equivalent. */
michael@271 20 +#ifndef HAVE_ENVIRON_DECL
michael@271 21 + extern char **environ;
michael@271 22 +#endif
michael@271 23 sigset_t blocked_signals;
michael@271 24 posix_spawn_file_actions_t actions;
michael@271 25 bool actions_allocated;

mercurial