summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-06-10 22:33:39 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-06-10 22:38:22 +0200
commit9648e4da6e4f2439f7d438ced38da254bd5250f4 (patch)
tree11fa65cd10f3c8a98027c9fcb7c0e1f3aab6aba2 /package
parentd499718f33eabbf9b248bed51cacf7ad286c84b2 (diff)
lftp: update to 4.7.7
Diffstat (limited to 'package')
-rw-r--r--package/lftp/Makefile4
-rw-r--r--package/lftp/patches/patch-src_FileCopy_cc11
-rw-r--r--package/lftp/patches/patch-src_NetAccess_cc11
-rw-r--r--package/lftp/patches/patch-src_ResMgr_cc11
-rw-r--r--package/lftp/patches/patch-src_Speedometer_cc11
5 files changed, 46 insertions, 2 deletions
diff --git a/package/lftp/Makefile b/package/lftp/Makefile
index 683e7a612..b160c8697 100644
--- a/package/lftp/Makefile
+++ b/package/lftp/Makefile
@@ -4,9 +4,9 @@
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= lftp
-PKG_VERSION:= 4.7.2
+PKG_VERSION:= 4.7.7
PKG_RELEASE:= 1
-PKG_HASH:= 475d7699b1390f951efee867ba1ad600f78329e13fd2a04d92f82bfffb70d872
+PKG_HASH:= 4483df04502660dcc65a11cf09d530e31bea99483d69328c1c5cbaa41d6619b4
PKG_DESCR:= ftp and http client
PKG_SECTION:= net/http
PKG_DEPENDS:= libncurses libexpat
diff --git a/package/lftp/patches/patch-src_FileCopy_cc b/package/lftp/patches/patch-src_FileCopy_cc
new file mode 100644
index 000000000..a8b1d0d41
--- /dev/null
+++ b/package/lftp/patches/patch-src_FileCopy_cc
@@ -0,0 +1,11 @@
+--- lftp-4.7.7.orig/src/FileCopy.cc 2017-03-07 08:35:47.000000000 +0100
++++ lftp-4.7.7/src/FileCopy.cc 2017-06-05 21:33:11.719033961 +0200
+@@ -36,7 +36,7 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>
+-#include <math.h>
++#include <cmath>
+ #include <stddef.h>
+ #include "FileCopy.h"
+ #include "url.h"
diff --git a/package/lftp/patches/patch-src_NetAccess_cc b/package/lftp/patches/patch-src_NetAccess_cc
new file mode 100644
index 000000000..2ed120587
--- /dev/null
+++ b/package/lftp/patches/patch-src_NetAccess_cc
@@ -0,0 +1,11 @@
+--- lftp-4.7.7.orig/src/NetAccess.cc 2016-12-15 13:25:36.000000000 +0100
++++ lftp-4.7.7/src/NetAccess.cc 2017-06-05 22:14:19.905585919 +0200
+@@ -21,7 +21,7 @@
+
+ #include <errno.h>
+ #include <assert.h>
+-#include <math.h>
++#include <cmath>
+ #include <sys/types.h>
+
+ #include "NetAccess.h"
diff --git a/package/lftp/patches/patch-src_ResMgr_cc b/package/lftp/patches/patch-src_ResMgr_cc
new file mode 100644
index 000000000..ad66c2883
--- /dev/null
+++ b/package/lftp/patches/patch-src_ResMgr_cc
@@ -0,0 +1,11 @@
+--- lftp-4.7.7.orig/src/ResMgr.cc 2017-02-07 17:57:49.000000000 +0100
++++ lftp-4.7.7/src/ResMgr.cc 2017-06-05 21:24:11.348321502 +0200
+@@ -23,7 +23,7 @@
+ #include <ctype.h>
+ #include <unistd.h>
+ #include <stdlib.h>
+-#include <math.h>
++#include <cmath>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <errno.h>
diff --git a/package/lftp/patches/patch-src_Speedometer_cc b/package/lftp/patches/patch-src_Speedometer_cc
new file mode 100644
index 000000000..a5c3ec73e
--- /dev/null
+++ b/package/lftp/patches/patch-src_Speedometer_cc
@@ -0,0 +1,11 @@
+--- lftp-4.7.7.orig/src/Speedometer.cc 2016-02-20 14:57:53.000000000 +0100
++++ lftp-4.7.7/src/Speedometer.cc 2017-06-05 21:41:06.185512853 +0200
+@@ -18,7 +18,7 @@
+ */
+
+ #include <config.h>
+-#include <math.h>
++#include <cmath>
+ #include <stdlib.h>
+ #include "Speedometer.h"
+ #include "misc.h"