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

LEDE Commits lede-commits at lists.infradead.org
Mon Sep 20 07:00:23 PDT 2021


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/af1853af602cbdd85d8efdbf7f6ab56efc2e0b71

commit af1853af602cbdd85d8efdbf7f6ab56efc2e0b71
Author: Rosen Penev <rosenp at gmail.com>
AuthorDate: Sat Sep 18 00:10:56 2021 -0700

    tools/bison: update to 3.8.1
    
    Remove upstreamed patch.
    
    Signed-off-by: Rosen Penev <rosenp at gmail.com>
---
 tools/bison/Makefile                           |  4 ++--
 tools/bison/patches/100-fix-gets-removal.patch | 17 -----------------
 2 files changed, 2 insertions(+), 19 deletions(-)

diff --git a/tools/bison/Makefile b/tools/bison/Makefile
index f46894c71b..ba3dd946ec 100644
--- a/tools/bison/Makefile
+++ b/tools/bison/Makefile
@@ -7,11 +7,11 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=bison
-PKG_VERSION:=3.7.6
+PKG_VERSION:=3.8.1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
-PKG_HASH:=67d68ce1e22192050525643fc0a7a22297576682bef6a5c51446903f5aeef3cf
+PKG_HASH:=31fc602488aad6bdecf0ccc556e0fc72fc57cdc595cf92398f020e0cf4980f15
 
 HOST_BUILD_PARALLEL:=1
 
diff --git a/tools/bison/patches/100-fix-gets-removal.patch b/tools/bison/patches/100-fix-gets-removal.patch
deleted file mode 100644
index 534713f180..0000000000
--- a/tools/bison/patches/100-fix-gets-removal.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- a/lib/stdio.in.h
-+++ b/lib/stdio.in.h
-@@ -835,14 +835,6 @@ _GL_WARN_ON_USE (getline, "getline is un
- # endif
- #endif
- 
--/* It is very rare that the developer ever has full control of stdin,
--   so any use of gets warrants an unconditional warning; besides, C11
--   removed it.  */
--#undef gets
--#if HAVE_RAW_DECL_GETS && !defined __cplusplus
--_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
--#endif
--
- #if defined _WIN32 && !defined __CYGWIN__
- # undef getw
- # define getw _getw



More information about the lede-commits mailing list