summaryrefslogtreecommitdiffstats
path: root/patches
diff options
context:
space:
mode:
Diffstat (limited to 'patches')
-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@