diff options
author | Luka Perkov <luka@openwrt.org> | 2013-02-28 00:52:34 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2013-02-28 00:52:34 +0000 |
commit | 71978cf105a158cc682049c203bd0739ed3ac356 (patch) | |
tree | 306bec3971b6348ecfd5f522bd3326f51279e788 /tools/bison/patches/010-intl-stub-compat.patch | |
parent | 829e0bc8b38c57f3d8d674a68c5b3ce322882c6e (diff) | |
download | upstream-71978cf105a158cc682049c203bd0739ed3ac356.tar.gz upstream-71978cf105a158cc682049c203bd0739ed3ac356.tar.bz2 upstream-71978cf105a158cc682049c203bd0739ed3ac356.zip |
bison: upgrade to version 2.7
SVN-Revision: 35827
Diffstat (limited to 'tools/bison/patches/010-intl-stub-compat.patch')
-rw-r--r-- | tools/bison/patches/010-intl-stub-compat.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/bison/patches/010-intl-stub-compat.patch b/tools/bison/patches/010-intl-stub-compat.patch index 2cd720b68c..d2dfcadbab 100644 --- a/tools/bison/patches/010-intl-stub-compat.patch +++ b/tools/bison/patches/010-intl-stub-compat.patch @@ -1,8 +1,8 @@ --- a/src/main.c +++ b/src/main.c -@@ -58,9 +58,9 @@ main (int argc, char *argv[]) +@@ -60,9 +60,9 @@ main (int argc, char *argv[]) { - program_name = argv[0]; + set_program_name (argv[0]); setlocale (LC_ALL, ""); - (void) bindtextdomain (PACKAGE, LOCALEDIR); - (void) bindtextdomain ("bison-runtime", LOCALEDIR); @@ -11,5 +11,5 @@ + bindtextdomain ("bison-runtime", LOCALEDIR); + textdomain (PACKAGE); - uniqstrs_new (); - muscle_init (); + { + char const *cp = getenv ("LC_CTYPE"); |