pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/cvise cvise: updated to 2.6.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f28adb0fbf1c
branches:  trunk
changeset: 388181:f28adb0fbf1c
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Nov 14 18:54:34 2022 +0000

description:
cvise: updated to 2.6.0

v2.6.0
new Clang passes rename-operator and member-to-global were added
many Windows warnings are disabled for MSVC
c++2b is a supported C++ standard

diffstat:

 devel/cvise/Makefile                     |   6 +++---
 devel/cvise/distinfo                     |   9 +++++----
 devel/cvise/patches/patch-CMakeLists.txt |  23 +++++++++++++++++++++++
 3 files changed, 31 insertions(+), 7 deletions(-)

diffs (62 lines):

diff -r f61bbee7db31 -r f28adb0fbf1c devel/cvise/Makefile
--- a/devel/cvise/Makefile      Mon Nov 14 18:54:26 2022 +0000
+++ b/devel/cvise/Makefile      Mon Nov 14 18:54:34 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2022/09/09 15:14:38 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2022/11/14 18:54:34 adam Exp $
 
-DISTNAME=      cvise-2.5.0
+DISTNAME=      cvise-2.6.0
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=marxin/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -28,7 +28,7 @@
 
 USE_LANGUAGES= c c++
 USE_TOOLS+=    flex
-#TEST_TARGET=  check
+TEST_TARGET=   test
 
 REPLACE_PYTHON+=       cvise.py
 REPLACE_PYTHON+=       cvise-delta.py
diff -r f61bbee7db31 -r f28adb0fbf1c devel/cvise/distinfo
--- a/devel/cvise/distinfo      Mon Nov 14 18:54:26 2022 +0000
+++ b/devel/cvise/distinfo      Mon Nov 14 18:54:34 2022 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.5 2022/09/09 15:14:38 wiz Exp $
+$NetBSD: distinfo,v 1.6 2022/11/14 18:54:34 adam Exp $
 
-BLAKE2s (cvise-2.5.0.tar.gz) = f03a03acf8ac260a102b7787be82c0530b12bb93f2afc1b1fe329a1087083621
-SHA512 (cvise-2.5.0.tar.gz) = 8433d4daf0e0691b99ff78f4b5331da0d230d5872c214ffd4a7dee470d955c2a3d7541c19277555a6e97108f8cd3de589b3f724e2874c44e479e351777c671c4
-Size (cvise-2.5.0.tar.gz) = 255587 bytes
+BLAKE2s (cvise-2.6.0.tar.gz) = b9053761174e1b731bf1fd7d71b73cac7cfedddcafb91a416a9f26671c5afabc
+SHA512 (cvise-2.6.0.tar.gz) = 1707cc46c342197c6b0e11b26a453548fd7bc7bc25baf20215230a7a4743053700189f96c1e0ba4ad6c9de4dd38920700a957ca333b0f123949b7a5a00854291
+Size (cvise-2.6.0.tar.gz) = 264295 bytes
+SHA1 (patch-CMakeLists.txt) = 25ba7752a5ec6722c09ce0084ccd44cedbcdef6b
diff -r f61bbee7db31 -r f28adb0fbf1c devel/cvise/patches/patch-CMakeLists.txt
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/cvise/patches/patch-CMakeLists.txt  Mon Nov 14 18:54:34 2022 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2022/11/14 18:54:34 adam Exp $
+
+Clang does not support -Wno-error=maybe-uninitialized option.
+Do not set -O3 optimization flags.
+
+--- CMakeLists.txt.orig        2022-10-03 11:03:59.000000000 +0000
++++ CMakeLists.txt
+@@ -146,13 +146,11 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU"
+     OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
+   # XXX figure out how to get "-std=c++14 -fno-rtti" from LLVM.  That's how we
+   # get those options in the Automake path...
+-  set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror -Wno-error=maybe-uninitialized")
+-  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -fno-rtti -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Werror -Wno-error=maybe-uninitialized")
++  set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra")
++  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -fno-rtti -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter")
+   if(SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG)
+     set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility-inlines-hidden")
+   endif()
+-  set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3")
+-  set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELEASE} -O3")
+ endif()
+ 
+ ###############################################################################



Home | Main Index | Thread Index | Old Index