aboutsummaryrefslogtreecommitdiff
path: root/graphics/darktable
diff options
context:
space:
mode:
authorJean-Sébastien Pédron <dumbbell@FreeBSD.org>2018-01-28 12:34:39 +0000
committerJean-Sébastien Pédron <dumbbell@FreeBSD.org>2018-01-28 12:34:39 +0000
commit8936ec837311ec05ffc2799550d4a59e0c7c1584 (patch)
treebf9331e325c3acfe02c367527d0b00043f73d733 /graphics/darktable
parentcfb45f887a15f217ead57d760896314e83e93e5f (diff)
downloadports-8936ec837311ec05ffc2799550d4a59e0c7c1584.tar.gz
ports-8936ec837311ec05ffc2799550d4a59e0c7c1584.zip
Notes
Diffstat (limited to 'graphics/darktable')
-rw-r--r--graphics/darktable/files/patch-src_external_rawspeed_cmake_Modules_CheckZLIB.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/darktable/files/patch-src_external_rawspeed_cmake_Modules_CheckZLIB.cmake b/graphics/darktable/files/patch-src_external_rawspeed_cmake_Modules_CheckZLIB.cmake
new file mode 100644
index 000000000000..d0b623bbef08
--- /dev/null
+++ b/graphics/darktable/files/patch-src_external_rawspeed_cmake_Modules_CheckZLIB.cmake
@@ -0,0 +1,11 @@
+--- src/external/rawspeed/cmake/Modules/CheckZLIB.cmake.orig 2018-01-18 18:05:10 UTC
++++ src/external/rawspeed/cmake/Modules/CheckZLIB.cmake
+@@ -38,7 +38,7 @@ endif()
+ CHECK_PROTOTYPE_DEFINITION(zError
+ "const char* zError(int zErrorCode)"
+ "NULL"
+- "zlib.h"
++ "stddef.h;zlib.h"
+ HAVE_ZLIB_ZERROR_PROTOTYPE)
+ if(NOT HAVE_ZLIB_ZERROR_PROTOTYPE)
+ message(SEND_ERROR "Found unexpected prototype for zError() in <zlib.h>")