diff options
author | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2012-10-01 11:29:38 +0200 |
---|---|---|
committer | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2012-10-01 11:29:38 +0200 |
commit | c1a140cb2950473a8991f0a736596e9c98560d65 (patch) | |
tree | 7a47c0511bf1a1b1037478e8e101b8cbf5cb3100 /package/bison | |
parent | a40050f1fb8f4c40b70905113e91b29c92b921ef (diff) |
glibc 2.16 gets() updates
Diffstat (limited to 'package/bison')
-rw-r--r-- | package/bison/patches/patch-Makefile_in | 6 | ||||
-rw-r--r-- | package/bison/patches/patch-lib_config_hin | 12 | ||||
-rw-r--r-- | package/bison/patches/patch-lib_stdio_in_h | 10 | ||||
-rw-r--r-- | package/bison/patches/patch-src_Makefile_in | 6 |
4 files changed, 28 insertions, 6 deletions
diff --git a/package/bison/patches/patch-Makefile_in b/package/bison/patches/patch-Makefile_in index 7f757fb29..9abd2e9c3 100644 --- a/package/bison/patches/patch-Makefile_in +++ b/package/bison/patches/patch-Makefile_in @@ -1,6 +1,6 @@ ---- bison-2.4.2.orig/Makefile.in 2010-03-20 18:14:08.000000000 +0100 -+++ bison-2.4.2/Makefile.in 2010-07-30 17:11:16.198057000 +0200 -@@ -871,7 +871,7 @@ top_build_prefix = @top_build_prefix@ +--- bison-2.4.3.orig/Makefile.in 2010-08-06 03:00:27.000000000 +0200 ++++ bison-2.4.3/Makefile.in 2012-09-28 20:42:50.000000000 +0200 +@@ -909,7 +909,7 @@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ ACLOCAL_AMFLAGS = -I m4 diff --git a/package/bison/patches/patch-lib_config_hin b/package/bison/patches/patch-lib_config_hin new file mode 100644 index 000000000..329725f94 --- /dev/null +++ b/package/bison/patches/patch-lib_config_hin @@ -0,0 +1,12 @@ +--- bison-2.4.3.orig/lib/config.hin 2010-08-06 03:00:25.000000000 +0200 ++++ bison-2.4.3/lib/config.hin 2012-09-28 20:44:10.000000000 +0200 +@@ -1350,6 +1350,9 @@ + accessed atomically even in the presence of asynchnonous signals. */ + #undef sig_atomic_t + ++/* Define to `unsigned int' if <sys/types.h> does not define. */ ++#undef size_t ++ + /* Define to `int' if <sys/types.h> doesn't define. */ + #undef uid_t + diff --git a/package/bison/patches/patch-lib_stdio_in_h b/package/bison/patches/patch-lib_stdio_in_h new file mode 100644 index 000000000..6990dc0fe --- /dev/null +++ b/package/bison/patches/patch-lib_stdio_in_h @@ -0,0 +1,10 @@ +--- bison-2.4.3.orig/lib/stdio.in.h 2010-08-06 03:00:04.000000000 +0200 ++++ bison-2.4.3/lib/stdio.in.h 2012-09-29 09:34:19.000000000 +0200 +@@ -143,7 +143,6 @@ _GL_WARN_ON_USE (fflush, "fflush is not + so any use of gets warrants an unconditional warning. Assume it is + always declared, since it is required by C89. */ + #undef gets +-_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); + + #if @GNULIB_FOPEN@ + # if @REPLACE_FOPEN@ diff --git a/package/bison/patches/patch-src_Makefile_in b/package/bison/patches/patch-src_Makefile_in index 0a1b9c247..78cb39ca4 100644 --- a/package/bison/patches/patch-src_Makefile_in +++ b/package/bison/patches/patch-src_Makefile_in @@ -1,6 +1,6 @@ ---- bison-2.4.2.orig/src/Makefile.in 2010-03-20 18:14:10.000000000 +0100 -+++ bison-2.4.2/src/Makefile.in 2010-07-30 17:28:09.000000000 +0200 -@@ -1313,7 +1313,7 @@ uninstall-am: uninstall-binPROGRAMS unin +--- bison-2.4.3.orig/src/Makefile.in 2010-08-06 03:00:29.000000000 +0200 ++++ bison-2.4.3/src/Makefile.in 2012-09-28 20:42:50.000000000 +0200 +@@ -1352,7 +1352,7 @@ uninstall-am: uninstall-binPROGRAMS unin yacc: echo '#! /bin/sh' >$@ |