]> granicus.if.org Git - graphviz/commitdiff
binary prebuild fix: _nl_msg_cat_cntr in libintl uninitialized
authorglenlow <devnull@localhost>
Wed, 21 May 2008 03:21:07 +0000 (03:21 +0000)
committerglenlow <devnull@localhost>
Wed, 21 May 2008 03:21:07 +0000 (03:21 +0000)
windows/prebuild/Makefile

index 58839f1b569e716fc3c04f4d8a0bd420566473ad..d7796e8f4d5dbe136751350840fa788da5aefb3b 100755 (executable)
@@ -202,6 +202,7 @@ $(GLIB_DIR).tar.gz:
 # gettext
 #
 # actually tries to run code linked to iconv.dll, so we need to copy it over first
+# patch to correct uninitialized _nl_msg_cat_cntr
 
 $(LOCAL_LIB)/$(INTL): $(GETTEXT_DIR)/gettext-runtime/intl/$(INTL)
        @echo
@@ -226,7 +227,7 @@ $(GETTEXT_DIR)/configure: | $(GETTEXT_DIR).tar.gz
        @echo
        @echo UNTARRING GETTEXT...
        @echo
-       $(TAR) xzf $|
+       $(TAR) xzf $| && patch -p0 <gettext.patch
        
 $(GETTEXT_DIR).tar.gz:
        @echo