summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2021-12-20 20:59:42 +0000
committernia <nia@pkgsrc.org>2021-12-20 20:59:42 +0000
commitabf90fdeee7734398ab9b9ceea47162bd94063f5 (patch)
treef4c91f70725c7cc7e85280278f82562fac5e65d6 /graphics
parent0c99ad28d9f99c78849ac0aa2c5afc37350c4d7f (diff)
downloadpkgsrc-abf90fdeee7734398ab9b9ceea47162bd94063f5.tar.gz
darktable: Don't use -Werror
Diffstat (limited to 'graphics')
-rw-r--r--graphics/darktable/distinfo4
-rw-r--r--graphics/darktable/patches/patch-src_CMakeLists.txt17
2 files changed, 17 insertions, 4 deletions
diff --git a/graphics/darktable/distinfo b/graphics/darktable/distinfo
index b3b22b70b71..9ffffbf874c 100644
--- a/graphics/darktable/distinfo
+++ b/graphics/darktable/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.37 2021/12/09 23:57:40 gutteridge Exp $
+$NetBSD: distinfo,v 1.38 2021/12/20 20:59:42 nia Exp $
BLAKE2s (darktable-3.6.1.tar.xz) = 932127244f3046004ebec7d1f89c1f9b7391a8aa5e4d7c3475c1ee6a453efa7b
SHA512 (darktable-3.6.1.tar.xz) = d53eb8472531c62ceebe97769c6e53f7c9ed6efb404905295f00b5bf547fd0f0c395b8b926ccafc78d6cf9fed0745da655a77eeb84d92fce5d6a7a576f277416
Size (darktable-3.6.1.tar.xz) = 4685928 bytes
SHA1 (patch-cmake_compiler-warnings.cmake) = b65fbb5222cca791088137e823402df6b9423121
-SHA1 (patch-src_CMakeLists.txt) = 8d1c30b3be8a7883fa1be567f1dfea6ea3b266d8
+SHA1 (patch-src_CMakeLists.txt) = d433361d7196c42100212dc087a3baa8fb6ba931
SHA1 (patch-src_common_system__signal__handling.c) = 296f5618c618a9b16af2ca5a1d9ff408c437c220
SHA1 (patch-tools_noise_benchmark.sh) = 1e26ebbbc73e44ec41c092297d681f33fb55155d
diff --git a/graphics/darktable/patches/patch-src_CMakeLists.txt b/graphics/darktable/patches/patch-src_CMakeLists.txt
index 1a059a7ac82..5f02b04aaa4 100644
--- a/graphics/darktable/patches/patch-src_CMakeLists.txt
+++ b/graphics/darktable/patches/patch-src_CMakeLists.txt
@@ -1,11 +1,24 @@
-$NetBSD: patch-src_CMakeLists.txt,v 1.10 2021/11/30 13:00:15 cirnatdan Exp $
+$NetBSD: patch-src_CMakeLists.txt,v 1.11 2021/12/20 20:59:42 nia Exp $
+
+Werror with an arbitrary toolchain considered harmful.
Don't link with the C compiler, CMake's CXXABI detection may insert
C++ libraries into LIBS.
--- src/CMakeLists.txt.orig 2021-09-10 06:20:12.000000000 +0000
+++ src/CMakeLists.txt
-@@ -907,7 +907,7 @@ if(APPLE)
+@@ -739,10 +739,6 @@ find_package(Pugixml 1.2 REQUIRED)
+ include_directories(SYSTEM ${Pugixml_INCLUDE_DIRS})
+ list(APPEND LIBS ${Pugixml_LIBRARIES})
+
+-if(NOT SOURCE_PACKAGE)
+- add_definitions(-Werror -Wfatal-errors )
+-endif()
+-
+ if(CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang" OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
+ # do not error out on "loop not vectorized" clang OpenMP warnings
+ add_definitions("-Wno-error=pass-failed")
+@@ -907,7 +903,7 @@ if(APPLE)
set_target_properties(lib_darktable PROPERTIES MACOSX_RPATH TRUE)
endif(APPLE)
set_target_properties(lib_darktable PROPERTIES OUTPUT_NAME darktable)