diff --git a/srcpkgs/lftp/patches/glibc-2.16.patch b/srcpkgs/lftp/patches/glibc-2.16.patch new file mode 100644 index 0000000000..0620af05fc --- /dev/null +++ b/srcpkgs/lftp/patches/glibc-2.16.patch @@ -0,0 +1,12 @@ +--- lib/stdio.in.h.orig 2012-07-04 16:33:38.435152864 +0200 ++++ lib/stdio.in.h 2012-07-04 16:33:55.468744741 +0200 +@@ -703,9 +703,6 @@ _GL_WARN_ON_USE (getline, "getline is un + so any use of gets warrants an unconditional warning; besides, C11 + removed it. */ + #undef gets +-#if HAVE_RAW_DECL_GETS +-_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); +-#endif + + + #if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@