summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2016-01-31 18:05:26 +0100
committerMichael Palimaka <kensington@gentoo.org>2016-02-01 04:28:20 +1100
commitd44dfcaf2545c50c28ed4c066efbbc912de643da (patch)
tree62b780686c6bf1148e0fefdc0374afdfeeeb905d /media-gfx/nomacs/files
parentnet-ftp/yafc: remove proxied maintainer at their request (diff)
downloadgentoo-d44dfcaf2545c50c28ed4c066efbbc912de643da.tar.gz
gentoo-d44dfcaf2545c50c28ed4c066efbbc912de643da.tar.bz2
gentoo-d44dfcaf2545c50c28ed4c066efbbc912de643da.zip
media-gfx/nomacs: Fix configure with >=opencv-3
Package-Manager: portage-2.2.27
Diffstat (limited to 'media-gfx/nomacs/files')
-rw-r--r--media-gfx/nomacs/files/nomacs-3.0.0-opencv3.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/media-gfx/nomacs/files/nomacs-3.0.0-opencv3.patch b/media-gfx/nomacs/files/nomacs-3.0.0-opencv3.patch
new file mode 100644
index 00000000000..a13d90fe2d1
--- /dev/null
+++ b/media-gfx/nomacs/files/nomacs-3.0.0-opencv3.patch
@@ -0,0 +1,21 @@
+commit aa3fffc15bb6cbec8ef140a070dc12e6888e79df
+Author: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
+Date: Sun Jan 31 17:38:21 2016 +0100
+
+ Drop minimum OpenCV version messing with detection of >=3.0.0
+
+ Similar to commit 624a2fa7fba25a9432dc15031f3fd569367927bd
+
+diff --git a/ImageLounge/cmake/Unix.cmake b/ImageLounge/cmake/Unix.cmake
+index 4e91135..e9ec436 100644
+--- a/ImageLounge/cmake/Unix.cmake
++++ b/ImageLounge/cmake/Unix.cmake
+@@ -43,7 +43,7 @@ endif(NOT EXIV2_FOUND)
+ # search for opencv
+ unset(OpenCV_FOUND CACHE)
+ if(ENABLE_OPENCV)
+- find_package(OpenCV 2.1.0 REQUIRED core imgproc)
++ find_package(OpenCV REQUIRED core imgproc)
+ if (NOT OpenCV_LIBRARIES) # OpenCV_FOUND can not be used since it is set in Ubuntu 12.04 (without finding opencv)
+ # Older OpenCV versions only supplied pkg-config files
+ if(PKG_CONFIG_FOUND)