From: jow Date: Fri, 4 Mar 2011 20:38:17 +0000 (+0000) Subject: [backfire] merge r25869 X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=commitdiff_plain;h=6d530a79b9ddee359e1797d8b51a9cc71e76e2bd [backfire] merge r25869 git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@25870 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/tools/bison/Makefile b/tools/bison/Makefile index 16947c7d4..50d836691 100644 --- a/tools/bison/Makefile +++ b/tools/bison/Makefile @@ -7,12 +7,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=bison -PKG_VERSION:=2.3 +PKG_VERSION:=2.4.3 -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=@GNU/$(PKG_NAME) -PKG_MD5SUM:=22327efdd5080e2b1acb6e560a04b43a -PKG_CAT:=zcat +PKG_MD5SUM:=c1d3ea81bc370dbd43b6f0b2cd21287e +PKG_CAT:=bzcat include $(INCLUDE_DIR)/host-build.mk diff --git a/tools/bison/patches/010-intl-stub-compat.patch b/tools/bison/patches/010-intl-stub-compat.patch new file mode 100644 index 000000000..7690e10ed --- /dev/null +++ b/tools/bison/patches/010-intl-stub-compat.patch @@ -0,0 +1,15 @@ +--- a/src/main.c ++++ b/src/main.c +@@ -57,9 +57,9 @@ main (int argc, char *argv[]) + { + program_name = argv[0]; + setlocale (LC_ALL, ""); +- (void) bindtextdomain (PACKAGE, LOCALEDIR); +- (void) bindtextdomain ("bison-runtime", LOCALEDIR); +- (void) textdomain (PACKAGE); ++ bindtextdomain (PACKAGE, LOCALEDIR); ++ bindtextdomain ("bison-runtime", LOCALEDIR); ++ textdomain (PACKAGE); + + uniqstrs_new (); +