From: Jo-Philipp Wich Date: Fri, 4 Mar 2011 20:37:15 +0000 (+0000) Subject: bison: fix compilation with stub intl header X-Git-Tag: reboot~17346 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=200460fb548b87312b22542ca66b6265cc05aab6;p=openwrt%2Fstaging%2Fchunkeey.git bison: fix compilation with stub intl header SVN-Revision: 25869 --- diff --git a/tools/bison/patches/010-intl-stub-compat.patch b/tools/bison/patches/010-intl-stub-compat.patch new file mode 100644 index 0000000000..7690e10ed8 --- /dev/null +++ b/tools/bison/patches/010-intl-stub-compat.patch @@ -0,0 +1,15 @@ +--- a/src/main.c ++++ b/src/main.c +@@ -57,9 +57,9 @@ main (int argc, char *argv[]) + { + program_name = argv[0]; + setlocale (LC_ALL, ""); +- (void) bindtextdomain (PACKAGE, LOCALEDIR); +- (void) bindtextdomain ("bison-runtime", LOCALEDIR); +- (void) textdomain (PACKAGE); ++ bindtextdomain (PACKAGE, LOCALEDIR); ++ bindtextdomain ("bison-runtime", LOCALEDIR); ++ textdomain (PACKAGE); + + uniqstrs_new (); +