Changeset 35827


Ignore:
Timestamp:
2013-02-28T01:52:34+01:00 (5 years ago)
Author:
luka
Message:

[tools] bison: upgrade to version 2.7

Location:
trunk/tools/bison
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/bison/Makefile

    r33439 r35827  
    11#  
    2 # Copyright (C) 2008-2012 OpenWrt.org 
     2# Copyright (C) 2008-2013 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    88 
    99PKG_NAME:=bison 
    10 PKG_VERSION:=2.5 
     10PKG_VERSION:=2.7 
    1111 
    12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
     12PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz 
    1313PKG_SOURCE_URL:=@GNU/$(PKG_NAME) 
    14 PKG_MD5SUM:=9dba20116b13fc61a0846b0058fbe004 
    15 PKG_CAT:=bzcat 
     14PKG_MD5SUM:=234cdfac99257cf99ac4a03c898f37b9 
     15PKG_CAT:=xzcat 
    1616 
    1717HOST_BUILD_PARALLEL:=1 
  • trunk/tools/bison/patches/000-relocatable.patch

    r31167 r35827  
    44  
    55 yacc: 
    6         echo '#! /bin/sh' >$@ 
    7 +       echo 'test -n "$$STAGING_DIR" && exec "$$STAGING_DIR/../host/bin/bison" -y "$$@"' >>$@ 
    8         echo "exec '$(bindir)/bison' -y "'"$$@"' >>$@ 
    9         chmod a+x $@ 
     6        $(AM_V_GEN)echo '#! /bin/sh' >$@ 
     7+       $(AM_V_at)echo 'test -n "$$STAGING_DIR" && exec "$$STAGING_DIR/../host/bin/bison" -y "$$@"' >>$@ 
     8        $(AM_V_at)echo "exec '$(bindir)/bison' -y "'"$$@"' >>$@ 
     9        $(AM_V_at)chmod a+x $@ 
    1010  
    1111--- a/src/Makefile.in 
    1212+++ b/src/Makefile.in 
    13 @@ -1609,6 +1609,7 @@ uninstall-am: uninstall-binPROGRAMS unin 
     13@@ -1919,6 +1919,7 @@ uninstall-am: uninstall-binPROGRAMS unin 
    1414  
    1515 yacc: 
    16         echo '#! /bin/sh' >$@ 
    17 +       echo 'test -n "$$STAGING_DIR" && exec "$$STAGING_DIR/../host/bin/bison" -y "$$@"' >>$@ 
    18         echo "exec '$(bindir)/bison' -y "'"$$@"' >>$@ 
    19         chmod a+x $@ 
     16        $(AM_V_GEN)echo '#! /bin/sh' >$@ 
     17+       $(AM_V_at)echo 'test -n "$$STAGING_DIR" && exec "$$STAGING_DIR/../host/bin/bison" -y "$$@"' >>$@ 
     18        $(AM_V_at)echo "exec '$(bindir)/bison' -y "'"$$@"' >>$@ 
     19        $(AM_V_at)chmod a+x $@ 
    2020  
  • trunk/tools/bison/patches/010-intl-stub-compat.patch

    r31167 r35827  
    11--- a/src/main.c 
    22+++ b/src/main.c 
    3 @@ -58,9 +58,9 @@ main (int argc, char *argv[]) 
     3@@ -60,9 +60,9 @@ main (int argc, char *argv[]) 
    44 { 
    5    program_name = argv[0]; 
     5   set_program_name (argv[0]); 
    66   setlocale (LC_ALL, ""); 
    77-  (void) bindtextdomain (PACKAGE, LOCALEDIR); 
     
    1212+  textdomain (PACKAGE); 
    1313  
    14    uniqstrs_new (); 
    15    muscle_init (); 
     14   { 
     15     char const *cp = getenv ("LC_CTYPE"); 
  • trunk/tools/bison/patches/100-fix-gets-removal.patch

    r32649 r35827  
    11--- a/lib/stdio.in.h 
    22+++ b/lib/stdio.in.h 
    3 @@ -177,12 +177,6 @@ _GL_WARN_ON_USE (fflush, "fflush is not  
    4                   "use gnulib module fflush for portable POSIX compliance"); 
     3@@ -704,13 +704,6 @@ _GL_WARN_ON_USE (getline, "getline is un 
     4 # endif 
    55 #endif 
    66  
    77-/* It is very rare that the developer ever has full control of stdin, 
    8 -   so any use of gets warrants an unconditional warning.  Assume it is 
    9 -   always declared, since it is required by C89.  */ 
     8-   so any use of gets warrants an unconditional warning; besides, C11 
     9-   removed it.  */ 
    1010-#undef gets 
     11-#if HAVE_RAW_DECL_GETS 
    1112-_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); 
    12 - 
    13  #if @GNULIB_FOPEN@ 
    14  # if @REPLACE_FOPEN@ 
    15  #  if !(defined __cplusplus && defined GNULIB_NAMESPACE) 
     13-#endif 
     14  
     15  
     16 #if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@ 
Note: See TracChangeset for help on using the changeset viewer.