ports/79636: maintainer-update port: ftp/lftp

Dmitry A. Yanko fm at cross-road.org.ua
Mon Apr 18 15:05:02 UTC 2005


On Mon, Apr 18, 2005 at 04:14:57PM +0200, Pav Lucistnik wrote:
> > > HttpDir.cc:1076: implicit declaration of function `int atoll(...)'
> > > *** Error code 1
> > > 
> > > On your 4.10-R it works?!
> > Well... Lftp's author used atoll() again ... :-)
> > Can you say me, after which date/tag native atoll() support appears in FreeBSD?
> All 5.x releases should have it, and no 4.x release got it.

Can you apply this? Or I need to send new PR (for new lftp version)?


diff -ruN lftp.orig/Makefile lftp/Makefile
--- lftp.orig/Makefile	Mon Apr 18 16:25:47 2005
+++ lftp/Makefile	Mon Apr 18 16:26:01 2005
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	lftp
-PORTVERSION=	3.0.13
+PORTVERSION=	3.1.3
 CATEGORIES=	ftp ipv6
 MASTER_SITES=	ftp://ftp.cs.tu-berlin.de/pub/net/ftp/lftp/ \
 		ftp://ftp.phear.org/pub/linux/networking/ftp/client/lftp/ \
diff -ruN lftp.orig/distinfo lftp/distinfo
--- lftp.orig/distinfo	Mon Apr 18 16:25:47 2005
+++ lftp/distinfo	Mon Apr 18 16:26:13 2005
@@ -1,4 +1,4 @@
-MD5 (lftp-3.0.13.tar.bz2) = 9d768c0062a58d25e6e1339add10799b
-SIZE (lftp-3.0.13.tar.bz2) = 1223604
-MD5 (lftp-3.0.13.tar.bz2.asc) = dc0e366d981e56e0cdf555f02ea776bc
-SIZE (lftp-3.0.13.tar.bz2.asc) = 185
+MD5 (lftp-3.1.3.tar.bz2) = 4f5016eb8e7f2f731d95c27ed0c6e8ad
+SIZE (lftp-3.1.3.tar.bz2) = 1232798
+MD5 (lftp-3.1.3.tar.bz2.asc) = ca9acb33bf42bdc6291a9be423d17cf7
+SIZE (lftp-3.1.3.tar.bz2.asc) = 185
diff -ruN lftp.orig/files/patch-post-config.h lftp/files/patch-post-config.h
--- lftp.orig/files/patch-post-config.h	Thu Jan  1 03:00:00 1970
+++ lftp/files/patch-post-config.h	Mon Apr 18 17:53:01 2005
@@ -0,0 +1,11 @@
+--- include/post-config.h.orig	Thu Mar 24 18:41:45 2005
++++ include/post-config.h	Mon Apr 18 17:52:16 2005
+@@ -142,4 +142,8 @@
+ # include "trio.h"
+ #endif
+ 
++#if __FreeBSD__ < 5
++	#define atoll(n)	strtoll((n),NULL,10)
++#endif
++
+ #endif /* POST_CONFIG_H */



More information about the freebsd-ports-bugs mailing list