diff options
author | jperkin <jperkin@pkgsrc.org> | 2013-02-26 14:47:16 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2013-02-26 14:47:16 +0000 |
commit | baaa5cc712ea0580558ad977b5ae5c2e0cdb3f5d (patch) | |
tree | 10d00b52a45dda217251b30669a6c5cbf41bc30c /net/lftp | |
parent | ad45a22f31c79e59d0b368a5f4958677978117a4 (diff) | |
download | pkgsrc-baaa5cc712ea0580558ad977b5ae5c2e0cdb3f5d.tar.gz |
Remove broken gets() warning, this package doesn't even call gets().
Fixes build on SunOS.
Diffstat (limited to 'net/lftp')
-rw-r--r-- | net/lftp/distinfo | 3 | ||||
-rw-r--r-- | net/lftp/patches/patch-lib_stdio.in.h | 14 |
2 files changed, 16 insertions, 1 deletions
diff --git a/net/lftp/distinfo b/net/lftp/distinfo index cd533eb46c4..5d7237b54a9 100644 --- a/net/lftp/distinfo +++ b/net/lftp/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.59 2011/11/18 22:47:11 pettai Exp $ +$NetBSD: distinfo,v 1.60 2013/02/26 14:47:16 jperkin Exp $ SHA1 (lftp-4.3.3.tar.bz2) = dc4c47366b28cccf94a599d11acb18f9b3f833be RMD160 (lftp-4.3.3.tar.bz2) = 3a8e212323bf58c14f5f0dca05d8b9fddb461747 @@ -8,3 +8,4 @@ SHA1 (patch-ab) = cbf428fb51c64431eb32d25160303333ce695b5a SHA1 (patch-ac) = 32e1fba23d4d6bd0b06bacbe503cb9b39d2bf825 SHA1 (patch-ad) = 365c205cf83f65b7253b71e67e530ac2fcf58154 SHA1 (patch-ae) = 3ee418b94cc1afb7b2db5bc550fd966d346368a4 +SHA1 (patch-lib_stdio.in.h) = 9e892220d466cb40b58c01159af816a7364bfac6 diff --git a/net/lftp/patches/patch-lib_stdio.in.h b/net/lftp/patches/patch-lib_stdio.in.h new file mode 100644 index 00000000000..b37374a40fb --- /dev/null +++ b/net/lftp/patches/patch-lib_stdio.in.h @@ -0,0 +1,14 @@ +$NetBSD: patch-lib_stdio.in.h,v 1.1 2013/02/26 14:47:16 jperkin Exp $ + +Remove broken gets() warning, conflicts with std::gets. + +--- lib/stdio.in.h.orig 2011-09-29 09:54:41.000000000 +0000 ++++ lib/stdio.in.h +@@ -715,7 +715,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 + + |