pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/darktable darktable: Don't use -Werror
details: https://anonhg.NetBSD.org/pkgsrc/rev/f66ed504276b
branches: trunk
changeset: 771640:f66ed504276b
user: nia <nia%pkgsrc.org@localhost>
date: Mon Dec 20 20:59:42 2021 +0000
description:
darktable: Don't use -Werror
diffstat:
graphics/darktable/distinfo | 4 ++--
graphics/darktable/patches/patch-src_CMakeLists.txt | 17 +++++++++++++++--
2 files changed, 17 insertions(+), 4 deletions(-)
diffs (45 lines):
diff -r f16aa3def4b5 -r f66ed504276b graphics/darktable/distinfo
--- a/graphics/darktable/distinfo Mon Dec 20 20:53:12 2021 +0000
+++ b/graphics/darktable/distinfo Mon Dec 20 20:59:42 2021 +0000
@@ -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 -r f16aa3def4b5 -r f66ed504276b graphics/darktable/patches/patch-src_CMakeLists.txt
--- a/graphics/darktable/patches/patch-src_CMakeLists.txt Mon Dec 20 20:53:12 2021 +0000
+++ b/graphics/darktable/patches/patch-src_CMakeLists.txt Mon Dec 20 20:59:42 2021 +0000
@@ -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)
Home |
Main Index |
Thread Index |
Old Index