diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-03-04 20:37:15 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-03-04 20:37:15 +0000 |
commit | 020319a7cc425efb1098aad3936282c04f73510c (patch) | |
tree | 5c3397034aa1f23c75e73555b0d271de51b494f0 /tools/bison/patches | |
parent | cca11ba5236ca7104ee7f5e82190b032084c5fdf (diff) | |
download | upstream-020319a7cc425efb1098aad3936282c04f73510c.tar.gz upstream-020319a7cc425efb1098aad3936282c04f73510c.tar.bz2 upstream-020319a7cc425efb1098aad3936282c04f73510c.zip |
[tools] bison: fix compilation with stub intl header
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25869 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/bison/patches')
-rw-r--r-- | tools/bison/patches/010-intl-stub-compat.patch | 15 |
1 files changed, 15 insertions, 0 deletions
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 (); + |