From 9efd0cb403f68bd728a40e069a7d04b623f469e6 Mon Sep 17 00:00:00 2001 From: Daniel Engberg Date: Sat, 6 Oct 2018 12:41:52 +0200 Subject: [PATCH] tools/bison: Update to 3.1 Update bison to 3.1 Signed-off-by: Daniel Engberg --- tools/bison/Makefile | 4 ++-- tools/bison/patches/010-intl-stub-compat.patch | 2 +- tools/bison/patches/100-fix-gets-removal.patch | 4 +--- 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