Skip to content
Snippets Groups Projects
Verified Commit 78159b78 authored by Anna Wilcox's avatar Anna Wilcox :fox:
Browse files

user/frei0r-plugins: fix build with OpenCV 3.4.3

parent fa7c3ae8
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,9 @@ depends=""
makedepends="opencv-dev gavl-dev file cairo-dev doxygen
automake autoconf libtool"
subpackages="$pkgname-dev $pkgname-doc"
source="https://files.dyne.org/frei0r/releases/frei0r-plugins-$pkgver.tar.gz"
source="https://files.dyne.org/frei0r/releases/frei0r-plugins-$pkgver.tar.gz
facebl0r-opencv-3.4.3.patch
"
prepare() {
default_prepare
......@@ -35,4 +37,5 @@ package() {
make DESTDIR="$pkgdir" install
}
sha512sums="843790389e6de83817d1c3744a91d3365864bb0c22cf6598707ccba5ec8933f6209434011cde1303e16edd89f6cde2f22aa1fb6eca3548d892a2c77332c44aac frei0r-plugins-1.6.1.tar.gz"
sha512sums="843790389e6de83817d1c3744a91d3365864bb0c22cf6598707ccba5ec8933f6209434011cde1303e16edd89f6cde2f22aa1fb6eca3548d892a2c77332c44aac frei0r-plugins-1.6.1.tar.gz
785ff3459f371620780f274b82702c8f6625d78fcd6000fddca0585e3aeaa0af57fd9d9444c4d0f1ca47e84b47b8a2fca4b86fa44ebe93487948eb8f4a193503 facebl0r-opencv-3.4.3.patch"
From b0a06d52e39438fae2afbf98bafe6c794d13b83e Mon Sep 17 00:00:00 2001
From: Christoph Willing <chris.willing@linux.com>
Date: Sat, 14 Jul 2018 21:34:03 +1000
Subject: [PATCH] Include opencv2/imgproc.hpp for CV_RGB()
Signed-off-by: Christoph Willing <chris.willing@linux.com>
---
src/filter/facebl0r/facebl0r.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/filter/facebl0r/facebl0r.cpp b/src/filter/facebl0r/facebl0r.cpp
index 6d6e8f2..823462a 100644
--- a/src/filter/facebl0r/facebl0r.cpp
+++ b/src/filter/facebl0r/facebl0r.cpp
@@ -19,6 +19,7 @@
#include <stdlib.h>
#include <opencv/cv.h>
#include <opencv/highgui.h>
+#include <opencv2/imgproc.hpp>
#include <frei0r.hpp>
#include <frei0r_math.h>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment