From 94f3a19a2121ec9f2b131e758d28a11c7b12d1cb Mon Sep 17 00:00:00 2001
From: Luka Perkov <luka@openwrt.org>
Date: Sun, 15 Dec 2013 03:59:49 +0000
Subject: [PATCH] bison: update to 3.0.2

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 39056
---
 tools/bison/Makefile                           | 4 ++--
 tools/bison/patches/010-intl-stub-compat.patch | 2 +-
 tools/bison/patches/100-fix-gets-removal.patch | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/tools/bison/Makefile b/tools/bison/Makefile
index 3909ec3313..bf7b92b2c1 100644
--- a/tools/bison/Makefile
+++ b/tools/bison/Makefile
@@ -7,11 +7,11 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=bison
-PKG_VERSION:=3.0
+PKG_VERSION:=3.0.2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
-PKG_MD5SUM:=a2624994561aa69f056c904c1ccb2880
+PKG_MD5SUM:=146be9ff9fbd27497f0bf2286a5a2082
 PKG_CAT:=xzcat
 
 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 d2dfcadbab..98234209cd 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 @@ main (int argc, char *argv[])
+@@ -60,9 +60,9 @@
  {
    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 e0d5e34391..b9c878a277 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
-@@ -705,13 +705,6 @@ _GL_WARN_ON_USE (getline, "getline is un
+@@ -714,13 +714,6 @@
  # endif
  #endif
  
-- 
GitLab