diff options
-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 | ||||
-rw-r--r-- | package/coreutils/patches/patch-lib_config_hin | 40 | ||||
-rw-r--r-- | package/coreutils/patches/patch-lib_stdio_in_h | 10 |
6 files changed, 78 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' >$@ diff --git a/package/coreutils/patches/patch-lib_config_hin b/package/coreutils/patches/patch-lib_config_hin new file mode 100644 index 000000000..ea116f8cd --- /dev/null +++ b/package/coreutils/patches/patch-lib_config_hin @@ -0,0 +1,40 @@ +--- coreutils-8.15.orig/lib/config.hin 2012-01-06 16:51:29.000000000 +0100 ++++ coreutils-8.15/lib/config.hin 2012-09-29 09:50:30.000000000 +0200 +@@ -41,12 +41,12 @@ + /* Define to 1 if chown mishandles trailing slash. */ + #undef CHOWN_TRAILING_SLASH_BUG + +-/* Define to one of '_getb67', 'GETB67', 'getb67' for Cray-2 and Cray-YMP +- systems. This function is required for 'alloca.c' support on those systems. ++/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP ++ systems. This function is required for `alloca.c' support on those systems. + */ + #undef CRAY_STACKSEG_END + +-/* Define to 1 if using 'alloca.c'. */ ++/* Define to 1 if using `alloca.c'. */ + #undef C_ALLOCA + + /* Define as the bit index in the word where to find bit 0 of the exponent of +@@ -3509,9 +3509,9 @@ + /* If using the C implementation of alloca, define if you know the + direction of stack growth for your system; otherwise it will be + automatically deduced at runtime. +- STACK_DIRECTION > 0 => grows toward higher addresses +- STACK_DIRECTION < 0 => grows toward lower addresses +- STACK_DIRECTION = 0 => direction of growth unknown */ ++ STACK_DIRECTION > 0 => grows toward higher addresses ++ STACK_DIRECTION < 0 => grows toward lower addresses ++ STACK_DIRECTION = 0 => direction of growth unknown */ + #undef STACK_DIRECTION + + /* Define if the block counts reported by statfs may be truncated to 2GB and +@@ -3668,7 +3668,7 @@ + # endif + #endif + +-/* Enable large inode numbers on Mac OS X. */ ++/* Enable large inode numbers on Mac OS X 10.5. */ + #ifndef _DARWIN_USE_64_BIT_INODE + # define _DARWIN_USE_64_BIT_INODE 1 + #endif diff --git a/package/coreutils/patches/patch-lib_stdio_in_h b/package/coreutils/patches/patch-lib_stdio_in_h new file mode 100644 index 000000000..cd40ccb9f --- /dev/null +++ b/package/coreutils/patches/patch-lib_stdio_in_h @@ -0,0 +1,10 @@ +--- coreutils-8.15.orig/lib/stdio.in.h 2012-01-06 08:22:03.000000000 +0100 ++++ coreutils-8.15/lib/stdio.in.h 2012-09-29 15:31:11.000000000 +0200 +@@ -715,7 +715,6 @@ _GL_CXXALIASWARN (gets); + /* It is very rare that the developer ever has full control of stdin, + so any use of gets warrants an unconditional warning. Assume it is + always declared, since it is required by C89. */ +-_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); + #endif + + |