summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-06-16 18:20:06 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-06-16 18:20:06 (EDT)
commit45b790337cc53d769fd766561ff9e295d723360d (patch)
treebef2737a5decbdc91e189c029e4a28e95a5a444a
parent9015063c68c3ea91a3fc4645cceaeebe8d7d8b8f (diff)
Fix Gnulib to build with newer versions of EGLIBC.
-rw-r--r--patches/01_fix-gnulib-gets.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/patches/01_fix-gnulib-gets.patch b/patches/01_fix-gnulib-gets.patch
new file mode 100644
index 0000000..27f484d
--- /dev/null
+++ b/patches/01_fix-gnulib-gets.patch
@@ -0,0 +1,16 @@
+From: Daniel Schepler <schepler@debian.org>
+Origin: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=694952
+Description: Fix Gnulib to build with newer versions of glibc/EGLIBC
+
+--- a/lib/stdio.in.h
++++ b/lib/stdio.in.h
+@@ -162,7 +162,9 @@
+ so any use of gets warrants an unconditional warning. Assume it is
+ always declared, since it is required by C89. */
+ #undef gets
++#if 0
+ _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
++#endif
+
+ #if @GNULIB_FOPEN@
+ # if @REPLACE_FOPEN@