From 9d3763af70ecc9a48034885979743d1f34fa44bc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Fri, 26 Jun 2015 13:57:22 +0200 Subject: [PATCH] - up to 4.6.3a --- lftp-4.3.8-gets.patch | 16 ---------------- lftp.spec | 10 ++++------ 2 files changed, 4 insertions(+), 22 deletions(-) delete mode 100644 lftp-4.3.8-gets.patch diff --git a/lftp-4.3.8-gets.patch b/lftp-4.3.8-gets.patch deleted file mode 100644 index d4a1180..0000000 --- a/lftp-4.3.8-gets.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff -up lftp-4.3.8/lib/stdio.in.h.gets lftp-4.3.8/lib/stdio.in.h ---- lftp-4.3.8/lib/stdio.in.h.gets 2012-07-22 15:07:15.101115146 -0400 -+++ lftp-4.3.8/lib/stdio.in.h 2012-07-22 15:08:09.777098512 -0400 -@@ -702,10 +702,12 @@ _GL_WARN_ON_USE (getline, "getline is un - /* 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. */ -+#if defined gets - #undef gets - #if HAVE_RAW_DECL_GETS - _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); - #endif -+#endif // if defined gets - - - #if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@ diff --git a/lftp.spec b/lftp.spec index 71cda6c..bab51fc 100644 --- a/lftp.spec +++ b/lftp.spec @@ -23,12 +23,12 @@ Summary(pl.UTF-8): Zaawansowany klient FTP/HTTP Summary(pt_BR.UTF-8): Sofisticado programa de transferência de arquivos (cliente FTP/HTTP) Summary(zh_CN.UTF-8): lftp 客户端程序 Name: lftp -Version: 4.6.2 +Version: 4.6.3a Release: 1 License: GPL v3+ Group: Applications/Networking Source0: http://lftp.yar.ru/ftp/%{name}-%{version}.tar.xz -# Source0-md5: 487c064ee1bd732e5f95928e530435a8 +# Source0-md5: b469ccc40d624aa4fdc66c1674b916d0 Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2 # Source1-md5: cdad8fb5342eebd9916eccefc98a855b Source2: %{name}.desktop @@ -39,8 +39,7 @@ Patch1: %{name}-m4.patch Patch2: aliases.patch # when updated attach at https://github.com/lavv17/lftp/issues Patch3: %{name}-pl.po-update.patch -Patch4: lftp-4.3.8-gets.patch -Patch5: %{name}-am.patch +Patch4: %{name}-am.patch URL: http://lftp.yar.ru/ BuildRequires: autoconf >= 2.60 BuildRequires: automake @@ -96,9 +95,8 @@ o arquivo FEATURES para uma lista mais detalhada. %patch0 -p1 %patch1 -p1 %patch2 -p1 -%patch3 -p1 +#%patch3 -p1 %patch4 -p1 -%patch5 -p1 %{__rm} po/stamp-po -- 2.44.0