summaryrefslogtreecommitdiff
path: root/user/digikam/opencv42.patch
diff options
context:
space:
mode:
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),