From: Hannu Nyman Date: Sat, 18 Jan 2020 18:56:33 +0000 (+0200) Subject: tools/bison: update to 3.5 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=96e9d48664786d7cb5171fa34f63d8974868c23a;p=openwrt%2Fstaging%2F981213.git 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 --- 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