From 71978cf105a158cc682049c203bd0739ed3ac356 Mon Sep 17 00:00:00 2001 From: Luka Perkov Date: Thu, 28 Feb 2013 00:52:34 +0000 Subject: bison: upgrade to version 2.7 SVN-Revision: 35827 --- tools/bison/patches/010-intl-stub-compat.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tools/bison/patches/010-intl-stub-compat.patch') 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"); -- cgit v1.2.3