summaryrefslogtreecommitdiff
path: root/package/lftp/patches/patch-src_ResMgr_cc
diff options
context:
space:
mode:
Diffstat (limited to 'package/lftp/patches/patch-src_ResMgr_cc')
-rw-r--r--package/lftp/patches/patch-src_ResMgr_cc11
1 files changed, 11 insertions, 0 deletions
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>