pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/opencv



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Sep  9 11:50:50 UTC 2020

Modified Files:
        pkgsrc/graphics/opencv: distinfo
Added Files:
        pkgsrc/graphics/opencv/patches: patch-modules_core_src_rand.cpp

Log Message:
opencv: Include arm_neon.h before NEON'ing


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 pkgsrc/graphics/opencv/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/graphics/opencv/patches/patch-modules_core_src_rand.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/opencv/distinfo
diff -u pkgsrc/graphics/opencv/distinfo:1.48 pkgsrc/graphics/opencv/distinfo:1.49
--- pkgsrc/graphics/opencv/distinfo:1.48        Mon Aug 24 07:08:03 2020
+++ pkgsrc/graphics/opencv/distinfo     Wed Sep  9 11:50:50 2020
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.48 2020/08/24 07:08:03 tnn Exp $
+$NetBSD: distinfo,v 1.49 2020/09/09 11:50:50 nia Exp $
 
 SHA1 (opencv-3.4.9.tar.gz) = bcd0fafc9f1a240d92af9007c9f8098da601d7a5
 RMD160 (opencv-3.4.9.tar.gz) = 2ab36f669a70c876e739736e6b9daacabc5933fe
@@ -15,6 +15,7 @@ SHA1 (patch-modules_core_include_opencv2
 SHA1 (patch-modules_core_include_opencv2_core_types_c.h) = 75444e65677be99af8167f9060419d7970a7adaa
 SHA1 (patch-modules_core_src_check.cpp) = c8dac4e0fb6fa4a0dca6a2794bd598ba114e78b6
 SHA1 (patch-modules_core_src_downhill__simplex.cpp) = 1ad7c2fa126d15050b87785e8eec20dbe796b471
+SHA1 (patch-modules_core_src_rand.cpp) = aa87ee5a538deb1a2ed3e89dd3dd4ee9b86ae0de
 SHA1 (patch-modules_core_src_system.cpp) = 3b7ac545585a430d28c7077f360357079f127580
 SHA1 (patch-modules_dnn_src_tensorflow_tf__importer.cpp) = 9b3628d91c2217c4b1ed77413efd4c0bf85758c4
 SHA1 (patch-modules_dnn_src_torch_torch__importer.cpp) = 814a3cc929569b691d01e34252dbd185f31161c2

Added files:

Index: pkgsrc/graphics/opencv/patches/patch-modules_core_src_rand.cpp
diff -u /dev/null pkgsrc/graphics/opencv/patches/patch-modules_core_src_rand.cpp:1.1
--- /dev/null   Wed Sep  9 11:50:50 2020
+++ pkgsrc/graphics/opencv/patches/patch-modules_core_src_rand.cpp      Wed Sep  9 11:50:50 2020
@@ -0,0 +1,19 @@
+$NetBSD: patch-modules_core_src_rand.cpp,v 1.1 2020/09/09 11:50:50 nia Exp $
+
+Include arm_neon.h before attempting to use intrinsics.
+
+This is seemingly fixed in newer releases.
+
+--- modules/core/src/rand.cpp.orig     2019-12-19 15:16:47.000000000 +0000
++++ modules/core/src/rand.cpp
+@@ -60,6 +60,10 @@
+     #include "emmintrin.h"
+ #endif
+ 
++#if defined __ARM_NEON && defined __aarch64__
++    #include "arm_neon.h"
++#endif
++
+ namespace cv
+ {
+ 



Home | Main Index | Thread Index | Old Index