From 8d277912e2312f01c3eb892b7333b78628ca7ad4 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 5 Oct 2012 17:40:54 +0200 Subject: fix glibc 2.16 build --- package/m4/patches/patch-lib_stdio_in_h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 package/m4/patches/patch-lib_stdio_in_h (limited to 'package/m4/patches/patch-lib_stdio_in_h') diff --git a/package/m4/patches/patch-lib_stdio_in_h b/package/m4/patches/patch-lib_stdio_in_h new file mode 100644 index 000000000..3453282bc --- /dev/null +++ b/package/m4/patches/patch-lib_stdio_in_h @@ -0,0 +1,10 @@ +--- m4-1.4.16.orig/lib/stdio.in.h 2011-03-01 17:39:29.000000000 +0100 ++++ m4-1.4.16/lib/stdio.in.h 2012-10-02 09:26:29.000000000 +0200 +@@ -162,7 +162,6 @@ _GL_WARN_ON_USE (fflush, "fflush is not + 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@ -- cgit v1.2.3