aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libkeyfinder/add-missing-include-for-ppc64le.patch
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-06-16 12:05:02 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-06-16 13:45:28 +0000
commit00d433fc851f0c277457e54b5cfbcf6565da81cc (patch)
tree64403af5ee57adb3e29d75bfa24878e2f909e398 /testing/libkeyfinder/add-missing-include-for-ppc64le.patch
parent15f00cd40f8626b3a25da4970b8d52d5fc168b8a (diff)
downloadaports-00d433fc851f0c277457e54b5cfbcf6565da81cc.tar.bz2
aports-00d433fc851f0c277457e54b5cfbcf6565da81cc.tar.xz
testing/libkeyfinder: fix build on ppc64le
add missing include for string.h, that was not been included for ppc64le.
Diffstat (limited to 'testing/libkeyfinder/add-missing-include-for-ppc64le.patch')
-rw-r--r--testing/libkeyfinder/add-missing-include-for-ppc64le.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/libkeyfinder/add-missing-include-for-ppc64le.patch b/testing/libkeyfinder/add-missing-include-for-ppc64le.patch
new file mode 100644
index 0000000000..3ef2851f86
--- /dev/null
+++ b/testing/libkeyfinder/add-missing-include-for-ppc64le.patch
@@ -0,0 +1,13 @@
+--- libKeyFinder-2.2.1/fftadapter.cpp
++++ libKeyFinder-2.2.1/fftadapter.cpp
+@@ -25,6 +25,10 @@
+ #include <cmath>
+ #include <fftw3.h>
+
++#ifdef __powerpc64__
++#include <string.h>
++#endif
++
+ namespace KeyFinder {
+
+ std::mutex fftwPlanMutex;