From 45b790337cc53d769fd766561ff9e295d723360d Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 16 Jun 2013 18:20:06 -0400 Subject: Fix Gnulib to build with newer versions of EGLIBC. --- 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 +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@ -- cgit v0.9.1