summaryrefslogtreecommitdiff
path: root/net/lftp/patches
diff options
context:
space:
mode:
authorhasso <hasso@pkgsrc.org>2009-09-16 07:13:20 +0000
committerhasso <hasso@pkgsrc.org>2009-09-16 07:13:20 +0000
commit56c2c8a158985338a3eb172317bcbff26caeda9f (patch)
treec4f53078dad8529849d8f860a7a8292455a110c1 /net/lftp/patches
parent3a192abff2c25c3def5ad5f8d374b9675b02035c (diff)
downloadpkgsrc-56c2c8a158985338a3eb172317bcbff26caeda9f.tar.gz
Update to 4.0.0.
Version 4.0.0 - 2009-09-11 * added torrent client. * automatically set time precision on FAT-like FS (linux only). * fixed timestamps in `mirror --ignore-time'. Add patch-ai which adds a workaround for a problem preventing lftp to connect to the UTF8 capable ftp sites.
Diffstat (limited to 'net/lftp/patches')
-rw-r--r--net/lftp/patches/patch-ah12
-rw-r--r--net/lftp/patches/patch-ai20
2 files changed, 32 insertions, 0 deletions
diff --git a/net/lftp/patches/patch-ah b/net/lftp/patches/patch-ah
new file mode 100644
index 00000000000..caccc22f133
--- /dev/null
+++ b/net/lftp/patches/patch-ah
@@ -0,0 +1,12 @@
+$NetBSD: patch-ah,v 1.1 2009/09/16 07:13:20 hasso Exp $
+
+--- src/Torrent.cc.orig 2009-09-16 08:23:06 +0300
++++ src/Torrent.cc 2009-09-16 08:24:21 +0300
+@@ -24,6 +24,7 @@
+ #include <stdlib.h>
+ #include <assert.h>
+ #include <sys/socket.h>
++#include <sys/stat.h>
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
+ #include <unistd.h>
diff --git a/net/lftp/patches/patch-ai b/net/lftp/patches/patch-ai
new file mode 100644
index 00000000000..79b3a76dd0c
--- /dev/null
+++ b/net/lftp/patches/patch-ai
@@ -0,0 +1,20 @@
+$NetBSD: patch-ai,v 1.1 2009/09/16 07:13:20 hasso Exp $
+
+--- src/buffer.cc.orig 2009-09-16 09:56:27 +0300
++++ src/buffer.cc 2009-09-16 09:57:15 +0300
+@@ -313,6 +313,7 @@ DataRecoder::~DataRecoder()
+ }
+ DataRecoder::DataRecoder(const char *from_code,const char *to_code,bool translit)
+ {
++#if !defined(__NetBSD__) && !defined(__DragonFly__)
+ if(translit)
+ {
+ const char *add="//TRANSLIT";
+@@ -320,6 +321,7 @@ DataRecoder::DataRecoder(const char *fro
+ strcat(tmp_enc,add);
+ to_code=tmp_enc;
+ }
++#endif
+ backend_translate=iconv_open(to_code,from_code);
+ if(backend_translate==(iconv_t)-1)
+ {