aboutsummaryrefslogtreecommitdiffstats
path: root/community/libkeyfinder/add-missing-include-for-ppc64le.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/libkeyfinder/add-missing-include-for-ppc64le.patch')
-rw-r--r--community/libkeyfinder/add-missing-include-for-ppc64le.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/libkeyfinder/add-missing-include-for-ppc64le.patch b/community/libkeyfinder/add-missing-include-for-ppc64le.patch
new file mode 100644
index 0000000000..3ef2851f86
--- /dev/null
+++ b/community/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;