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
--- 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/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