# HG changeset patch # User John W. Eaton # Date 1375756425 14400 # Node ID 18158a101dc5cb36782d59d6c5982472c166024f # Parent ce8bf9230005739e69b9203ffd4c6ab0ebcd37b8 gnulib gets fix for build-m4 package diff -r ce8bf9230005 -r 18158a101dc5 dist-files.mk --- a/dist-files.mk Mon Aug 05 22:19:46 2013 -0400 +++ b/dist-files.mk Mon Aug 05 22:33:45 2013 -0400 @@ -25,6 +25,7 @@ build-gcc.mk \ build-gperf.mk \ build-libtool.mk \ + build-m4-fixes.patch \ build-m4.mk \ build-msvctools.mk \ build-pkg-config-1-fixes.patch \ diff -r ce8bf9230005 -r 18158a101dc5 src/build-m4-1-fixes.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/build-m4-1-fixes.patch Mon Aug 05 22:33:45 2013 -0400 @@ -0,0 +1,16 @@ +diff -uNr a/lib/stdio.in.h b/lib/stdio.in.h +--- a/lib/stdio.in.h 2011-03-01 11:39:29.000000000 -0500 ++++ b/lib/stdio.in.h 2013-08-05 22:30:54.870325354 -0400 +@@ -158,12 +158,6 @@ + "use gnulib module fflush for portable POSIX compliance"); + #endif + +-/* 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. */ +-#undef gets +-_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); +- + #if @GNULIB_FOPEN@ + # if @REPLACE_FOPEN@ + # if !(defined __cplusplus && defined GNULIB_NAMESPACE)