[openwrt/openwrt] tools/bison: update to 3.7.4

LEDE Commits lede-commits at lists.infradead.org
Sat Nov 21 12:50:18 EST 2020


dedeckeh pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/9d5eceae91a93d48f008cd6411b9f9baa1556421

commit 9d5eceae91a93d48f008cd6411b9f9baa1556421
Author: Hannu Nyman <hannu.nyman at iki.fi>
AuthorDate: Sat Nov 21 13:30:34 2020 +0200

    tools/bison: update to 3.7.4
    
    Update bison to 3.7.4
    
    Release notes:
    http://git.savannah.gnu.org/cgit/bison.git/tree/NEWS?id=7a11a9308cb
    
    Signed-off-by: Hannu Nyman <hannu.nyman at iki.fi>
---
 tools/bison/Makefile                           | 4 ++--
 tools/bison/patches/100-fix-gets-removal.patch | 8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/tools/bison/Makefile b/tools/bison/Makefile
index fde812f334..8f3043fcb8 100644
--- a/tools/bison/Makefile
+++ b/tools/bison/Makefile
@@ -7,11 +7,11 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=bison
-PKG_VERSION:=3.7.1
+PKG_VERSION:=3.7.4
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
-PKG_HASH:=55c215521a13982a9bee68cd42eed51a65713f96c530a739a57de4438ac1bb69
+PKG_HASH:=a3b5813f48a11e540ef26f46e4d288c0c25c7907d9879ae50e430ec49f63c010
 
 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 f97e8a3985..534713f180 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
-@@ -816,14 +816,6 @@ _GL_WARN_ON_USE (getline, "getline is un
+@@ -835,14 +835,6 @@ _GL_WARN_ON_USE (getline, "getline is un
  # endif
  #endif
  
@@ -12,6 +12,6 @@
 -_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
 -#endif
 -
- #if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@
- struct obstack;
- /* Grow an obstack with formatted output.  Return the number of
+ #if defined _WIN32 && !defined __CYGWIN__
+ # undef getw
+ # define getw _getw



More information about the lede-commits mailing list