Blob Blame History Raw
diff -ur prelude-manager-1.0.1.orig/libmissing/m4/stdio_h.m4 prelude-manager-1.0.1/libmissing/m4/stdio_h.m4
--- prelude-manager-1.0.1.orig/libmissing/m4/stdio_h.m4	2010-10-26 09:18:09.000000000 -0400
+++ prelude-manager-1.0.1/libmissing/m4/stdio_h.m4	2012-09-07 12:58:57.922433309 -0400
@@ -35,9 +35,9 @@
 
   dnl Check for declarations of anything we want to poison if the
   dnl corresponding gnulib module is not in use, and which is not
-  dnl guaranteed by C89.
+  dnl guaranteed by C89 and C11.
   gl_WARN_ON_USE_PREPARE([[#include <stdio.h>
-    ]], [dprintf fpurge fseeko ftello getdelim getline popen renameat
+    ]], [dprintf fpurge fseeko ftello getdelim getline gets popen renameat
     snprintf tmpfile vdprintf vsnprintf])
 ])
 
diff -ur prelude-manager-1.0.1.orig/libmissing/stdio.in.h prelude-manager-1.0.1/libmissing/stdio.in.h
--- prelude-manager-1.0.1.orig/libmissing/stdio.in.h	2010-10-26 09:18:09.000000000 -0400
+++ prelude-manager-1.0.1/libmissing/stdio.in.h	2012-09-07 12:59:26.365434065 -0400
@@ -142,7 +142,7 @@
    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");
+//_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
 
 #if @GNULIB_FOPEN@
 # if @REPLACE_FOPEN@