pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/darktable



Module Name:    pkgsrc
Committed By:   nia
Date:           Mon Dec 20 20:59:43 UTC 2021

Modified Files:
        pkgsrc/graphics/darktable: distinfo
        pkgsrc/graphics/darktable/patches: patch-src_CMakeLists.txt

Log Message:
darktable: Don't use -Werror


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 pkgsrc/graphics/darktable/distinfo
cvs rdiff -u -r1.10 -r1.11 \
    pkgsrc/graphics/darktable/patches/patch-src_CMakeLists.txt

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/darktable/distinfo
diff -u pkgsrc/graphics/darktable/distinfo:1.37 pkgsrc/graphics/darktable/distinfo:1.38
--- pkgsrc/graphics/darktable/distinfo:1.37     Thu Dec  9 23:57:40 2021
+++ pkgsrc/graphics/darktable/distinfo  Mon Dec 20 20:59:42 2021
@@ -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

Index: pkgsrc/graphics/darktable/patches/patch-src_CMakeLists.txt
diff -u pkgsrc/graphics/darktable/patches/patch-src_CMakeLists.txt:1.10 pkgsrc/graphics/darktable/patches/patch-src_CMakeLists.txt:1.11
--- pkgsrc/graphics/darktable/patches/patch-src_CMakeLists.txt:1.10     Tue Nov 30 13:00:15 2021
+++ pkgsrc/graphics/darktable/patches/patch-src_CMakeLists.txt  Mon Dec 20 20:59:42 2021
@@ -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