aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity/lftp/files/fix-gcc-6-conflicts-signbit.patch
diff options
context:
space:
mode:
authorDerek Straka <derek@asterius.io>2016-06-18 10:41:14 -0400
committerJoe MacDonald <joe_macdonald@mentor.com>2016-07-07 09:51:27 -0400
commit6b2fc930c4c27400b9f485ca9fde313a776f1f1f (patch)
tree45069407845c29715f3e6166bdb620e8491e136f /meta-networking/recipes-connectivity/lftp/files/fix-gcc-6-conflicts-signbit.patch
parent3647a2ca4ca129708a8e143ed0cf1f712b4a15a0 (diff)
downloadmeta-openembedded-contrib-6b2fc930c4c27400b9f485ca9fde313a776f1f1f.tar.gz
lftp: fix issues with multiple signbit definitions and remove from the blacklist
Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-connectivity/lftp/files/fix-gcc-6-conflicts-signbit.patch')
-rw-r--r--meta-networking/recipes-connectivity/lftp/files/fix-gcc-6-conflicts-signbit.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/lftp/files/fix-gcc-6-conflicts-signbit.patch b/meta-networking/recipes-connectivity/lftp/files/fix-gcc-6-conflicts-signbit.patch
new file mode 100644
index 0000000000..952232b7a7
--- /dev/null
+++ b/meta-networking/recipes-connectivity/lftp/files/fix-gcc-6-conflicts-signbit.patch
@@ -0,0 +1,44 @@
+--- lftp-4.6.3a/src/NetAccess.cc.orig 2016-06-18 10:25:51.063358981 -0400
++++ lftp-4.6.3a/src/NetAccess.cc 2016-06-18 10:26:04.143359209 -0400
+@@ -21,7 +21,7 @@
+
+ #include <errno.h>
+ #include <assert.h>
+-#include <math.h>
++#include <cmath>
+ #include <sys/types.h>
+
+ #include "NetAccess.h"
+--- lftp-4.6.3a/src/Speedometer.cc.orig 2016-06-18 10:24:58.895358073 -0400
++++ lftp-4.6.3a/src/Speedometer.cc 2016-06-18 10:25:10.879358281 -0400
+@@ -18,7 +18,7 @@
+ */
+
+ #include <config.h>
+-#include <math.h>
++#include <cmath>
+ #include <stdlib.h>
+ #include "Speedometer.h"
+ #include "misc.h"
+--- lftp-4.6.3a/src/FileCopy.cc.orig 2016-06-18 10:24:15.939357325 -0400
++++ lftp-4.6.3a/src/FileCopy.cc 2016-06-18 10:24:24.583357475 -0400
+@@ -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"
+--- lftp-4.6.3a/src/ResMgr.cc.orig 2016-06-18 10:23:31.387356549 -0400
++++ lftp-4.6.3a/src/ResMgr.cc 2016-06-18 10:23:41.771356729 -0400
+@@ -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>