summaryrefslogtreecommitdiff
path: root/user/digikam/opencv42.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-02-09 10:31:19 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-02-09 10:31:19 +0000
commit193a305cc98b23d14966a7337fbaa999bae7737b (patch)
treeeac2ff233994ebed2309598cb222f34eb16787f2 /user/digikam/opencv42.patch
parent9746818e6f2b3d9185cf43285a588e5b5c9d0aa8 (diff)
downloadpackages-193a305cc98b23d14966a7337fbaa999bae7737b.tar.gz
packages-193a305cc98b23d14966a7337fbaa999bae7737b.tar.bz2
packages-193a305cc98b23d14966a7337fbaa999bae7737b.tar.xz
packages-193a305cc98b23d14966a7337fbaa999bae7737b.zip
user/digikam: resurrect from legacy
Diffstat (limited to 'user/digikam/opencv42.patch')
-rw-r--r--user/digikam/opencv42.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/digikam/opencv42.patch b/user/digikam/opencv42.patch
new file mode 100644
index 000000000..d4d80a85f
--- /dev/null
+++ b/user/digikam/opencv42.patch
@@ -0,0 +1,11 @@
+--- digikam-6.4.0/core/libs/facesengine/detection/opencvfacedetector.cpp.old 2019-11-03 09:04:00.000000000 +0000
++++ digikam-6.4.0/core/libs/facesengine/detection/opencvfacedetector.cpp 2020-02-08 12:43:42.707340488 +0000
+@@ -166,7 +166,7 @@
+ * of the region of interest of this cascade (still relative to whole image).
+ * For frontal face cascades, returns the given parameter unchanged.
+ */
+- cv::Rect faceROI(const CvRect& faceRect) const
++ cv::Rect faceROI(const cv::Rect& faceRect) const
+ {
+ return cv::Rect(lround(faceRect.x + roi.x() * faceRect.width),
+ lround(faceRect.y + roi.y() * faceRect.height),