aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2020-10-23 09:02:42 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2020-10-23 09:02:42 +0000
commitc07af81df5167ce7a403e933b9555335d3737139 (patch)
treefa9b3399212e68f6cb5054b19884ad66202f9e9c
parentacc9b3a0dda95fae1a9b32c6e3789d771f3c40d5 (diff)
downloadports-c07af81df5167ce7a403e933b9555335d3737139.tar.gz
ports-c07af81df5167ce7a403e933b9555335d3737139.zip
Notes
-rw-r--r--graphics/opencv/files/patch-modules_core_include_opencv2_core_cv__cpu__dispatch.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/graphics/opencv/files/patch-modules_core_include_opencv2_core_cv__cpu__dispatch.h b/graphics/opencv/files/patch-modules_core_include_opencv2_core_cv__cpu__dispatch.h
new file mode 100644
index 000000000000..72ac65b848ae
--- /dev/null
+++ b/graphics/opencv/files/patch-modules_core_include_opencv2_core_cv__cpu__dispatch.h
@@ -0,0 +1,26 @@
+--- modules/core/include/opencv2/core/cv_cpu_dispatch.h.orig 2020-10-23 01:17:26 UTC
++++ modules/core/include/opencv2/core/cv_cpu_dispatch.h
+@@ -108,10 +108,10 @@
+ #endif
+
+ #if defined(__VSX__) && defined(__PPC64__) && defined(__LITTLE_ENDIAN__)
+-# include <altivec.h>
+ # undef vector
+ # undef pixel
+ # undef bool
++# include <altivec.h>
+ # define CV_VSX 1
+ #endif
+
+@@ -152,10 +152,10 @@ struct VZeroUpperGuard {
+ # include <arm_neon.h>
+ # define CV_NEON 1
+ #elif defined(__VSX__) && defined(__PPC64__) && defined(__LITTLE_ENDIAN__)
+-# include <altivec.h>
+ # undef vector
+ # undef pixel
+ # undef bool
++# include <altivec.h>
+ # define CV_VSX 1
+ #endif
+