Browse Source

finally upgrade after patching to get running

master
parent
commit
2216cb4e54
  1. 30
      lftp/lftp.patch
  2. 8
      lftp/lftp.spec

30
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 <assert.h>
#include <ctype.h>
#if !defined(TRIO_COMPILER_SUPPORTS_C99)
+# undef isblank
# define isblank(x) (((x)==32) || ((x)==9))
#endif
#include <math.h>
--- 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 <errno.h>
#include <assert.h>
#include <math.h>
+#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include "NetAccess.h"

8
lftp/lftp.spec

@ -32,11 +32,12 @@ Packager: The OpenPKG Project
Distribution: OpenPKG [BASE] Distribution: OpenPKG [BASE]
Group: FTP Group: FTP
License: GPL License: GPL
Version: 2.6.3 Version: 2.6.4
Release: 20021204 Release: 20021229
# list of sources # list of sources
Source0: http://ftp.yars.free.net/pub/software/unix/net/ftp/client/lftp/lftp-%{version}.tar.bz2 Source0: http://ftp.yars.free.net/pub/software/unix/net/ftp/client/lftp/lftp-%{version}.tar.bz2
Patch0: lftp.patch
# build information # build information
Prefix: %{l_prefix} Prefix: %{l_prefix}
@ -47,12 +48,13 @@ AutoReq: no
AutoReqProv: no AutoReqProv: no
%description %description
LFTP is an interactive FTP and HTTP client. LFTP is a full-featured interactive FTP and HTTP command-line client.
Options: none Options: none
%prep %prep
%setup -q %setup -q
%patch -p0
%build %build
CC="%{l_cc}" \ CC="%{l_cc}" \

Loading…
Cancel
Save