summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2012-07-06 13:58:36 +0000
committerJeroen Roovers <jer@gentoo.org>2012-07-06 13:58:36 +0000
commit0748cb942262e8573a25fe1d1ce8c656b47277e9 (patch)
tree91293ae5c131ff5df30d9dcdffad0339b9a5a4d6 /net-ftp/lftp/files
parentInitial commit. Ebuild based on live ebuild in qt overlay. (diff)
downloadgentoo-2-0748cb942262e8573a25fe1d1ce8c656b47277e9.tar.gz
gentoo-2-0748cb942262e8573a25fe1d1ce8c656b47277e9.tar.bz2
gentoo-2-0748cb942262e8573a25fe1d1ce8c656b47277e9.zip
Fix building against glibc-2.16 by Martin Jansa (bug #425026).
(Portage version: 2.2.0_alpha116/cvs/Linux x86_64)
Diffstat (limited to 'net-ftp/lftp/files')
-rw-r--r--net-ftp/lftp/files/lftp-4.3.8-gets.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-ftp/lftp/files/lftp-4.3.8-gets.patch b/net-ftp/lftp/files/lftp-4.3.8-gets.patch
new file mode 100644
index 000000000000..d5aa369cefeb
--- /dev/null
+++ b/net-ftp/lftp/files/lftp-4.3.8-gets.patch
@@ -0,0 +1,12 @@
+--- a/lib/stdio.in.h
++++ b/lib/stdio.in.h
+@@ -702,7 +702,9 @@
+ /* It is very rare that the developer ever has full control of stdin,
+ so any use of gets warrants an unconditional warning; besides, C11
+ removed it. */
++#ifdef gets
+ #undef gets
++#endif
+ #if HAVE_RAW_DECL_GETS
+ _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+ #endif