mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-17 10:20:01 +00:00
tools/bison: Update to 3.3.2
Update bison to 3.3.2 Enable pthreads support Refresh patches Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
This commit is contained in:
parent
a3df068b31
commit
a3383e4b01
@ -7,16 +7,18 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=bison
|
PKG_NAME:=bison
|
||||||
PKG_VERSION:=3.2.4
|
PKG_VERSION:=3.3.2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||||
PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
|
PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
|
||||||
PKG_HASH:=523d44419f4df68286503740c95c7b3400b748d7d8b797209195ee5d67f05634
|
PKG_HASH:=039ee45b61d95e5003e7e8376f9080001b4066ff357bde271b7faace53b9d804
|
||||||
|
|
||||||
HOST_BUILD_PARALLEL:=1
|
HOST_BUILD_PARALLEL:=1
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/host-build.mk
|
include $(INCLUDE_DIR)/host-build.mk
|
||||||
|
|
||||||
|
HOST_CONFIGURE_ARGS += --enable-threads=pth
|
||||||
|
|
||||||
define Host/Clean
|
define Host/Clean
|
||||||
-$(MAKE) -C $(HOST_BUILD_DIR) uninstall
|
-$(MAKE) -C $(HOST_BUILD_DIR) uninstall
|
||||||
$(call Host/Clean/Default)
|
$(call Host/Clean/Default)
|
||||||
|
@ -1,15 +1,13 @@
|
|||||||
--- a/src/main.c
|
--- a/src/main.c
|
||||||
+++ b/src/main.c
|
+++ b/src/main.c
|
||||||
@@ -60,9 +60,9 @@ main (int argc, char *argv[])
|
@@ -66,8 +66,8 @@ main (int argc, char *argv[])
|
||||||
{
|
{
|
||||||
set_program_name (argv[0]);
|
char *cp = NULL;
|
||||||
setlocale (LC_ALL, "");
|
char const *localedir = relocate2 (LOCALEDIR, &cp);
|
||||||
- (void) bindtextdomain (PACKAGE, LOCALEDIR);
|
- (void) bindtextdomain (PACKAGE, localedir);
|
||||||
- (void) bindtextdomain ("bison-runtime", LOCALEDIR);
|
- (void) bindtextdomain ("bison-runtime", localedir);
|
||||||
- (void) textdomain (PACKAGE);
|
+ bindtextdomain (PACKAGE, localedir);
|
||||||
+ bindtextdomain (PACKAGE, LOCALEDIR);
|
+ bindtextdomain ("bison-runtime", localedir);
|
||||||
+ bindtextdomain ("bison-runtime", LOCALEDIR);
|
free (cp);
|
||||||
+ textdomain (PACKAGE);
|
}
|
||||||
|
(void) textdomain (PACKAGE);
|
||||||
{
|
|
||||||
char const *cp = getenv ("LC_CTYPE");
|
|
||||||
|
Loading…
Reference in New Issue
Block a user