diff --git a/lftp/lftp.patch b/lftp/lftp.patch new file mode 100644 index 0000000000..5c5bcf8ba7 --- /dev/null +++ b/lftp/lftp.patch @@ -0,0 +1,30 @@ +--- lib/trio.c.orig 2002-07-10 11:54:30.000000000 +0200 ++++ lib/trio.c 2002-12-29 20:24:40.000000000 +0100 +@@ -74,6 +74,7 @@ + #include + #include + #if !defined(TRIO_COMPILER_SUPPORTS_C99) ++# undef isblank + # define isblank(x) (((x)==32) || ((x)==9)) + #endif + #include +--- include/trio.h.orig 2002-07-10 11:36:33.000000000 +0200 ++++ include/trio.h 2002-12-29 20:23:44.000000000 +0100 +@@ -188,6 +188,7 @@ + # define fscanf trio_fscanf + #endif + #ifndef HAVE_VFSCANF ++# undef vfscanf + # define vfscanf trio_vfscanf + #endif + #ifndef HAVE_SSCANF +--- src/NetAccess.cc.orig 2002-12-25 14:44:31.000000000 +0100 ++++ src/NetAccess.cc 2002-12-29 20:22:24.000000000 +0100 +@@ -25,6 +25,7 @@ + #include + #include + #include ++#include + #include + #include + #include "NetAccess.h" diff --git a/lftp/lftp.spec b/lftp/lftp.spec index b972b63d5c..526b828d18 100644 --- a/lftp/lftp.spec +++ b/lftp/lftp.spec @@ -32,11 +32,12 @@ Packager: The OpenPKG Project Distribution: OpenPKG [BASE] Group: FTP License: GPL -Version: 2.6.3 -Release: 20021204 +Version: 2.6.4 +Release: 20021229 # list of sources Source0: http://ftp.yars.free.net/pub/software/unix/net/ftp/client/lftp/lftp-%{version}.tar.bz2 +Patch0: lftp.patch # build information Prefix: %{l_prefix} @@ -47,12 +48,13 @@ AutoReq: no AutoReqProv: no %description - LFTP is an interactive FTP and HTTP client. + LFTP is a full-featured interactive FTP and HTTP command-line client. Options: none %prep %setup -q + %patch -p0 %build CC="%{l_cc}" \