summaryrefslogtreecommitdiff
path: root/package/parted/patches/patch-lib_stdio_in_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-02-11 16:33:43 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-02-11 16:33:43 +0100
commit19677ae003abec9c066b05a319d69c4b461693dc (patch)
tree83c3de97d727bd4b842cede7c3eacaa4f9a7d921 /package/parted/patches/patch-lib_stdio_in_h
parentb68dff1a52f09163271f91aa9ad532cbef515621 (diff)
fix compile issues
Diffstat (limited to 'package/parted/patches/patch-lib_stdio_in_h')
-rw-r--r--package/parted/patches/patch-lib_stdio_in_h10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/parted/patches/patch-lib_stdio_in_h b/package/parted/patches/patch-lib_stdio_in_h
new file mode 100644
index 000000000..1fe225d7b
--- /dev/null
+++ b/package/parted/patches/patch-lib_stdio_in_h
@@ -0,0 +1,10 @@
+--- parted-3.0.orig/lib/stdio.in.h 2011-05-30 09:07:16.000000000 +0200
++++ parted-3.0/lib/stdio.in.h 2013-02-11 15:51:17.000000000 +0100
+@@ -735,7 +735,6 @@ _GL_CXXALIASWARN (gets);
+ /* 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. */
+-_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+ #endif
+
+