summaryrefslogtreecommitdiff
path: root/media-gfx/enblend/files/enblend-4.1.3-vigra_check.patch
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/enblend/files/enblend-4.1.3-vigra_check.patch')
-rw-r--r--media-gfx/enblend/files/enblend-4.1.3-vigra_check.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/media-gfx/enblend/files/enblend-4.1.3-vigra_check.patch b/media-gfx/enblend/files/enblend-4.1.3-vigra_check.patch
new file mode 100644
index 00000000000..982293e4771
--- /dev/null
+++ b/media-gfx/enblend/files/enblend-4.1.3-vigra_check.patch
@@ -0,0 +1,11 @@
+--- ConfigureChecks.cmake.orig 2013-10-07 10:50:00.000000000 +0400
++++ ConfigureChecks.cmake 2015-03-31 13:42:40.179527224 +0300
+@@ -53,7 +53,7 @@
+ if(VIGRA_FOUND AND NOT VIGRA_VERSION_CHECK)
+ unset(VIGRA_SETIMAGEINDEX CACHE)
+ set(CMAKE_REQUIRED_INCLUDES ${VIGRA_INCLUDE_DIR})
+- set(CMAKE_REQUIRED_LIBRARIES ${VIGRA_LIBRARIES})
++ set(CMAKE_REQUIRED_LIBRARIES ${VIGRA_LIBRARIES} -lpthread)
+ check_cxx_source_compiles(
+ "
+ #include <vigra/imageinfo.hxx>