lftp: 4.6.1 -> 4.6.3a
This commit is contained in:
parent
14792f12d6
commit
7aa425e541
@ -1,18 +1,16 @@
|
|||||||
{ stdenv, fetchurl, gnutls, pkgconfig, readline, zlib }:
|
{ stdenv, fetchurl, gnutls, pkgconfig, readline, zlib }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "lftp-4.6.1";
|
name = "lftp-4.6.3a";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
urls = [
|
urls = [
|
||||||
"http://lftp.yar.ru/ftp/${name}.tar.bz2"
|
"http://lftp.yar.ru/ftp/${name}.tar.bz2"
|
||||||
"http://lftp.yar.ru/ftp/old/${name}.tar.bz2"
|
"http://lftp.yar.ru/ftp/old/${name}.tar.bz2"
|
||||||
];
|
];
|
||||||
sha256 = "0w9nb24abqlnjzi30q8s0yv3h0zjxhynliyxwdgnrv0qag0k401s";
|
sha256 = "0846p1z5v997lxaqanj8n1qkv470s8nlhs420kiby67k4j2zl576";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./no-gets.patch ];
|
|
||||||
|
|
||||||
buildInputs = [ gnutls pkgconfig readline zlib ];
|
buildInputs = [ gnutls pkgconfig readline zlib ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
--- a/lib/stdio.in.h
|
|
||||||
+++ b/lib/stdio.in.h
|
|
||||||
@@ -702,10 +702,12 @@
|
|
||||||
/* 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
|
|
||||||
#if HAVE_RAW_DECL_GETS
|
|
||||||
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
|
|
||||||
#endif
|
|
||||||
+#endif
|
|
||||||
|
|
||||||
|
|
||||||
#if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@
|
|
Loading…
Reference in New Issue
Block a user