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