From: glenlow Date: Wed, 21 May 2008 03:21:07 +0000 (+0000) Subject: binary prebuild fix: _nl_msg_cat_cntr in libintl uninitialized X-Git-Tag: LAST_LIBGRAPH~32^2~4044 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5c475cdff739518c0f31782aed4594a72afe56ec;p=graphviz binary prebuild fix: _nl_msg_cat_cntr in libintl uninitialized --- diff --git a/windows/prebuild/gettext.patch b/windows/prebuild/gettext.patch new file mode 100644 index 000000000..2ae95c8bf --- /dev/null +++ b/windows/prebuild/gettext.patch @@ -0,0 +1,12 @@ +diff -ru gettext-0.17/gettext-runtime/intl/loadmsgcat.c gettext-0.17.patched/gettext-runtime/intl/loadmsgcat.c +--- gettext-0.17/gettext-runtime/intl/loadmsgcat.c 2007-10-14 00:26:32.000000000 +0800 ++++ gettext-0.17.patched/gettext-runtime/intl/loadmsgcat.c 2008-05-20 14:43:12.000000000 +0800 +@@ -503,7 +503,7 @@ + /* We need a sign, whether a new catalog was loaded, which can be associated + with all translations. This is important if the translations are + cached by one of GCC's features. */ +-int _nl_msg_cat_cntr; ++int _nl_msg_cat_cntr = 0; + + + /* Expand a system dependent string segment. Return NULL if unsupported. */