aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/bison/Makefile4
-rw-r--r--tools/bison/patches/010-intl-stub-compat.patch2
-rw-r--r--tools/bison/patches/100-fix-gets-removal.patch4
3 files changed, 4 insertions, 6 deletions
diff --git a/tools/bison/Makefile b/tools/bison/Makefile
index 68e06ae33b..6d4b73dad4 100644
--- a/tools/bison/Makefile
+++ b/tools/bison/Makefile
@@ -7,11 +7,11 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=bison
-PKG_VERSION:=3.0.5
+PKG_VERSION:=3.1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
-PKG_HASH:=075cef2e814642e30e10e8155e93022e4a91ca38a65aa1d5467d4e969f97f338
+PKG_HASH:=7c2464ad6cb7b513b2c350a092d919327e1f63d12ff024836acbb504475da5c6
HOST_BUILD_PARALLEL:=1
diff --git a/tools/bison/patches/010-intl-stub-compat.patch b/tools/bison/patches/010-intl-stub-compat.patch
index 98234209cd..d2dfcadbab 100644
--- a/tools/bison/patches/010-intl-stub-compat.patch
+++ b/tools/bison/patches/010-intl-stub-compat.patch
@@ -1,6 +1,6 @@
--- a/src/main.c
+++ b/src/main.c
-@@ -60,9 +60,9 @@
+@@ -60,9 +60,9 @@ main (int argc, char *argv[])
{
set_program_name (argv[0]);
setlocale (LC_ALL, "");
diff --git a/tools/bison/patches/100-fix-gets-removal.patch b/tools/bison/patches/100-fix-gets-removal.patch
index 563c12040c..6f4abe58c7 100644
--- a/tools/bison/patches/100-fix-gets-removal.patch
+++ b/tools/bison/patches/100-fix-gets-removal.patch
@@ -1,8 +1,6 @@
-diff --git a/lib/stdio.in.h b/lib/stdio.in.h
-index ff7c9c8..f391832 100644
--- a/lib/stdio.in.h
+++ b/lib/stdio.in.h
-@@ -739,14 +739,6 @@ _GL_WARN_ON_USE (getline, "getline is unportable - "
+@@ -739,14 +739,6 @@ _GL_WARN_ON_USE (getline, "getline is un
# endif
#endif