summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2014-09-04 18:55:46 +0000
committerJeroen Roovers <jer@gentoo.org>2014-09-04 18:55:46 +0000
commitef3755fb9cc3e009897b5f42ceddf96784b47a7c (patch)
treee03b1596bf3d2bb7640fce7aa0054c00a086592a /net-ftp/lftp/files
parentStable for HPPA (bug #522038). (diff)
downloadhistorical-ef3755fb9cc3e009897b5f42ceddf96784b47a7c.tar.gz
historical-ef3755fb9cc3e009897b5f42ceddf96784b47a7c.tar.bz2
historical-ef3755fb9cc3e009897b5f42ceddf96784b47a7c.zip
Fix building with no SSL support.
Package-Manager: portage-2.2.12/cvs/Linux x86_64 Manifest-Sign-Key: 0xA792A613
Diffstat (limited to 'net-ftp/lftp/files')
-rw-r--r--net-ftp/lftp/files/lftp-4.5.5-no_ssl.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-ftp/lftp/files/lftp-4.5.5-no_ssl.patch b/net-ftp/lftp/files/lftp-4.5.5-no_ssl.patch
new file mode 100644
index 000000000000..8a96e1baab80
--- /dev/null
+++ b/net-ftp/lftp/files/lftp-4.5.5-no_ssl.patch
@@ -0,0 +1,12 @@
+--- a/src/ftpclass.cc
++++ b/src/ftpclass.cc
+@@ -1071,7 +1071,9 @@
+
+ control_send=0;
+ control_recv=0;
++#if USE_SSL
+ control_ssl=0; // ssl should be freed after send/recv
++#endif
+
+ if(control_sock!=-1)
+ {