summaryrefslogtreecommitdiff
path: root/community/augeas/augeas-0.10.0-gets.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/augeas/augeas-0.10.0-gets.patch')
-rw-r--r--community/augeas/augeas-0.10.0-gets.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/community/augeas/augeas-0.10.0-gets.patch b/community/augeas/augeas-0.10.0-gets.patch
new file mode 100644
index 000000000..d66a46935
--- /dev/null
+++ b/community/augeas/augeas-0.10.0-gets.patch
@@ -0,0 +1,10 @@
+--- augeas-0.10.0.orig/gnulib/lib/stdio.in.h 2011-03-03 20:07:59.000000000 -0500
++++ augeas-0.10.0/gnulib/lib/stdio.in.h 2012-12-23 07:26:24.774463902 -0500
+@@ -162,7 +162,6 @@
+ 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@