From 9fc03832bc46b13b377cbe2f6d1acca45f1ad002 Mon Sep 17 00:00:00 2001
From: Daniel Engberg <daniel.engberg.lists@pyret.net>
Date: Sat, 15 Jun 2019 02:26:56 +0000
Subject: tools/bison: Update to 3.4.1

Update bison to 3.4.1
Remove 010-intl-stub-compat.patch

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
---
 tools/bison/Makefile                           |  4 ++--
 tools/bison/patches/010-intl-stub-compat.patch | 13 -------------
 tools/bison/patches/100-fix-gets-removal.patch |  2 +-
 3 files changed, 3 insertions(+), 16 deletions(-)
 delete mode 100644 tools/bison/patches/010-intl-stub-compat.patch

(limited to 'tools/bison')

diff --git a/tools/bison/Makefile b/tools/bison/Makefile
index 2dcbe617af..45255da4fb 100644
--- a/tools/bison/Makefile
+++ b/tools/bison/Makefile
@@ -7,11 +7,11 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=bison
-PKG_VERSION:=3.3.2
+PKG_VERSION:=3.4.1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
-PKG_HASH:=039ee45b61d95e5003e7e8376f9080001b4066ff357bde271b7faace53b9d804
+PKG_HASH:=27159ac5ebf736dffd5636fd2cd625767c9e437de65baa63cb0de83570bd820d
 
 HOST_BUILD_PARALLEL:=1
 
diff --git a/tools/bison/patches/010-intl-stub-compat.patch b/tools/bison/patches/010-intl-stub-compat.patch
deleted file mode 100644
index 8108c53c61..0000000000
--- a/tools/bison/patches/010-intl-stub-compat.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- a/src/main.c
-+++ b/src/main.c
-@@ -66,8 +66,8 @@ main (int argc, char *argv[])
-   {
-     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);
diff --git a/tools/bison/patches/100-fix-gets-removal.patch b/tools/bison/patches/100-fix-gets-removal.patch
index 6f4abe58c7..8650b8226f 100644
--- a/tools/bison/patches/100-fix-gets-removal.patch
+++ b/tools/bison/patches/100-fix-gets-removal.patch
@@ -1,6 +1,6 @@
 --- a/lib/stdio.in.h
 +++ b/lib/stdio.in.h
-@@ -739,14 +739,6 @@ _GL_WARN_ON_USE (getline, "getline is un
+@@ -746,14 +746,6 @@ _GL_WARN_ON_USE (getline, "getline is un
  # endif
  #endif
  
-- 
cgit v1.2.3