summaryrefslogtreecommitdiff
path: root/tools/bison
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2013-09-24 20:01:02 +0000
committerLuka Perkov <luka@openwrt.org>2013-09-24 20:01:02 +0000
commit948f060014e1ecf1d5c95ecb14320d1deeead32b (patch)
tree2232a8ccdcc4f4f48ee5ba24515ff5ae5f116ea4 /tools/bison
parent76974babaf0e0c7864dd82bcb638dde00cbf75ee (diff)
downloadmtk-20170518-948f060014e1ecf1d5c95ecb14320d1deeead32b.zip
mtk-20170518-948f060014e1ecf1d5c95ecb14320d1deeead32b.tar.gz
mtk-20170518-948f060014e1ecf1d5c95ecb14320d1deeead32b.tar.bz2
bison: update to 3.0
Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38169
Diffstat (limited to 'tools/bison')
-rw-r--r--tools/bison/Makefile4
-rw-r--r--tools/bison/patches/000-relocatable.patch20
-rw-r--r--tools/bison/patches/100-fix-gets-removal.patch2
3 files changed, 3 insertions, 23 deletions
diff --git a/tools/bison/Makefile b/tools/bison/Makefile
index d20d1c0..3909ec3 100644
--- a/tools/bison/Makefile
+++ b/tools/bison/Makefile
@@ -7,11 +7,11 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=bison
-PKG_VERSION:=2.7
+PKG_VERSION:=3.0
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
-PKG_MD5SUM:=234cdfac99257cf99ac4a03c898f37b9
+PKG_MD5SUM:=a2624994561aa69f056c904c1ccb2880
PKG_CAT:=xzcat
HOST_BUILD_PARALLEL:=1
diff --git a/tools/bison/patches/000-relocatable.patch b/tools/bison/patches/000-relocatable.patch
deleted file mode 100644
index 47c0ae8..0000000
--- a/tools/bison/patches/000-relocatable.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -81,6 +81,7 @@ MOSTLYCLEANFILES = yacc
-
- yacc:
- $(AM_V_GEN)echo '#! /bin/sh' >$@
-+ $(AM_V_at)echo 'test -n "$$STAGING_DIR" && exec "$$STAGING_DIR/../host/bin/bison" -y "$$@"' >>$@
- $(AM_V_at)echo "exec '$(bindir)/bison' -y "'"$$@"' >>$@
- $(AM_V_at)chmod a+x $@
-
---- a/src/Makefile.in
-+++ b/src/Makefile.in
-@@ -1919,6 +1919,7 @@ uninstall-am: uninstall-binPROGRAMS unin
-
- yacc:
- $(AM_V_GEN)echo '#! /bin/sh' >$@
-+ $(AM_V_at)echo 'test -n "$$STAGING_DIR" && exec "$$STAGING_DIR/../host/bin/bison" -y "$$@"' >>$@
- $(AM_V_at)echo "exec '$(bindir)/bison' -y "'"$$@"' >>$@
- $(AM_V_at)chmod a+x $@
-
diff --git a/tools/bison/patches/100-fix-gets-removal.patch b/tools/bison/patches/100-fix-gets-removal.patch
index 169bfd6..e0d5e34 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
-@@ -704,13 +704,6 @@ _GL_WARN_ON_USE (getline, "getline is un
+@@ -705,13 +705,6 @@ _GL_WARN_ON_USE (getline, "getline is un
# endif
#endif