pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/cvise



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Aug  4 10:18:43 UTC 2024

Modified Files:
        pkgsrc/devel/cvise: distinfo
        pkgsrc/devel/cvise/patches: patch-CMakeLists.txt

Log Message:
cvise: Strip out -Werror from compiler options.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/cvise/distinfo
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/cvise/patches/patch-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/devel/cvise/distinfo
diff -u pkgsrc/devel/cvise/distinfo:1.10 pkgsrc/devel/cvise/distinfo:1.11
--- pkgsrc/devel/cvise/distinfo:1.10    Fri Apr 19 04:48:55 2024
+++ pkgsrc/devel/cvise/distinfo Sun Aug  4 10:18:42 2024
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.10 2024/04/19 04:48:55 adam Exp $
+$NetBSD: distinfo,v 1.11 2024/08/04 10:18:42 nia Exp $
 
 BLAKE2s (cvise-2.10.0.tar.gz) = af43cb776202379de9b97a0b05cf86b570f270658bc258714facfc7dfa20dce6
 SHA512 (cvise-2.10.0.tar.gz) = 31950f8731f7a8d6b9568be621b14d1f976a71ed0a6caef0cdcc0d31c99eca86c03913e2949f1f4e21a66fbe1618341f5daaff01da51b426b4ce0e6518479281
 Size (cvise-2.10.0.tar.gz) = 270839 bytes
-SHA1 (patch-CMakeLists.txt) = f7eb3f258a02499a268921ef08ec3c6f6a62da8d
+SHA1 (patch-CMakeLists.txt) = 21096683c0af15b02c95207c784281089d6195d8

Index: pkgsrc/devel/cvise/patches/patch-CMakeLists.txt
diff -u pkgsrc/devel/cvise/patches/patch-CMakeLists.txt:1.5 pkgsrc/devel/cvise/patches/patch-CMakeLists.txt:1.6
--- pkgsrc/devel/cvise/patches/patch-CMakeLists.txt:1.5 Fri Apr 19 04:48:55 2024
+++ pkgsrc/devel/cvise/patches/patch-CMakeLists.txt     Sun Aug  4 10:18:42 2024
@@ -1,9 +1,19 @@
-$NetBSD: patch-CMakeLists.txt,v 1.5 2024/04/19 04:48:55 adam Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.6 2024/08/04 10:18:42 nia Exp $
 
+Do not force -Werror.
 Do not set -O3 optimization flags.
 
 --- CMakeLists.txt.orig        2024-03-13 20:19:48.000000000 +0000
 +++ CMakeLists.txt
+@@ -171,7 +171,7 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU"
+     OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
+   # XXX figure out how to get "-std=c++17 -fno-rtti" from LLVM.  That's how we
+   # get those options in the Automake path...
+-  set(COMMON_FLAGS "-Wall -Wextra -Werror -pedantic -Wno-unused-parameter")
++  set(COMMON_FLAGS "-Wall -Wextra -pedantic -Wno-unused-parameter")
+   set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${COMMON_FLAGS}")
+   set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${COMMON_FLAGS} -std=c++17 -fno-rtti -fno-strict-aliasing")
+   if(SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG)
 @@ -197,8 +197,6 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU"
      set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-error=deprecated-declarations")
    endif()



Home | Main Index | Thread Index | Old Index