aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bison/patches
diff options
context:
space:
mode:
authorDaniel Engberg <daniel.engberg.lists@pyret.net>2019-02-10 12:16:30 +0000
committerHans Dedecker <dedeckeh@gmail.com>2019-02-10 20:49:56 +0100
commita3383e4b016478c73cf149ae7f42ad8f9b87ffbb (patch)
treeccbed03a1b10eb5178af50d3ba1e103e454b68c5 /tools/bison/patches
parenta3df068b3119585d2c46807a1ff0d66956da954b (diff)
downloadupstream-a3383e4b016478c73cf149ae7f42ad8f9b87ffbb.tar.gz
upstream-a3383e4b016478c73cf149ae7f42ad8f9b87ffbb.tar.bz2
upstream-a3383e4b016478c73cf149ae7f42ad8f9b87ffbb.zip
tools/bison: Update to 3.3.2
Update bison to 3.3.2 Enable pthreads support Refresh patches Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Diffstat (limited to 'tools/bison/patches')
-rw-r--r--tools/bison/patches/010-intl-stub-compat.patch22
1 files changed, 10 insertions, 12 deletions
diff --git a/tools/bison/patches/010-intl-stub-compat.patch b/tools/bison/patches/010-intl-stub-compat.patch
index d2dfcadbab..8108c53c61 100644
--- a/tools/bison/patches/010-intl-stub-compat.patch
+++ b/tools/bison/patches/010-intl-stub-compat.patch
@@ -1,15 +1,13 @@
--- a/src/main.c
+++ b/src/main.c
-@@ -60,9 +60,9 @@ main (int argc, char *argv[])
- {
- set_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);
-
+@@ -66,8 +66,8 @@ main (int argc, char *argv[])
{
- char const *cp = getenv ("LC_CTYPE");
+ char *cp = NULL;
+ char const *localedir = relocate2 (LOCALEDIR, &cp);
+- (void) bindtextdomain (PACKAGE, localedir);
+- (void) bindtextdomain ("bison-runtime", localedir);
++ bindtextdomain (PACKAGE, localedir);
++ bindtextdomain ("bison-runtime", localedir);
+ free (cp);
+ }
+ (void) textdomain (PACKAGE);