summaryrefslogtreecommitdiffstats
path: root/tools/bison
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2020-01-18 20:56:33 +0200
committerHans Dedecker <dedeckeh@gmail.com>2020-01-21 18:43:58 +0100
commit96e9d48664786d7cb5171fa34f63d8974868c23a (patch)
treed3685fcf2eda2447f0ec90fa58d17f5f6869ee22 /tools/bison
parent111a7a3d01c26b38b083b80d4c394553c8658fe9 (diff)
downloadopenwrt-96e9d48664786d7cb5171fa34f63d8974868c23a.tar.gz
openwrt-96e9d48664786d7cb5171fa34f63d8974868c23a.tar.bz2
openwrt-96e9d48664786d7cb5171fa34f63d8974868c23a.zip
tools/bison: update to 3.5
Update bison to 3.5 Release notes: https://lists.gnu.org/archive/html/info-gnu/2019-12/msg00002.html Note for future: release notes mention that YYPRINT macro is declared deprecated, but apparently still works for now. I found one possible use of that in scripts/config/zconf.tab.c_shipped That might be modernized at some point, but as the file is synced with the one from upstream Linux, it might get fixed there. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Diffstat (limited to 'tools/bison')
-rw-r--r--tools/bison/Makefile4
-rw-r--r--tools/bison/patches/100-fix-gets-removal.patch2
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/bison/Makefile b/tools/bison/Makefile
index 45255da4fb..4028c80445 100644
--- a/tools/bison/Makefile
+++ b/tools/bison/Makefile
@@ -7,11 +7,11 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=bison
-PKG_VERSION:=3.4.1
+PKG_VERSION:=3.5
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
-PKG_HASH:=27159ac5ebf736dffd5636fd2cd625767c9e437de65baa63cb0de83570bd820d
+PKG_HASH:=55e4a023b1b4ad19095a5f8279f0dc048fa29f970759cea83224a6d5e7a3a641
HOST_BUILD_PARALLEL:=1
diff --git a/tools/bison/patches/100-fix-gets-removal.patch b/tools/bison/patches/100-fix-gets-removal.patch
index 8650b8226f..e671113b2c 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
-@@ -746,14 +746,6 @@ _GL_WARN_ON_USE (getline, "getline is un
+@@ -778,14 +778,6 @@ _GL_WARN_ON_USE (getline, "getline is un
# endif
#endif