Browse Source

glibc 2.16 gets() updates

Waldemar Brodkorb 13 years ago
parent
commit
c1a140cb29

+ 3 - 3
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

+ 12 - 0
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
+ 

+ 10 - 0
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@

+ 3 - 3
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' >$@

+ 40 - 0
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

+ 10 - 0
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
+ 
+