From nobody Tue Jan 31 16:13:20 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P5qpm6m70z3bPnN; Tue, 31 Jan 2023 16:13:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P5qpm6KLjz42PK; Tue, 31 Jan 2023 16:13:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675181600; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jH0HvG+hmFYwVOHkYwFwKW/sjVc7fpdY2RymQo4FABI=; b=aMSYDL/L1n6RR74w8VsAPdDATiRqblVBWimnawNXq6oibFBuLoPQn1aL6bjWA+1ff5xfE2 +RPEZHEmV4msyPZ5ZBARVZA+EvPKCTbfy8znrNmBUAYGiK31Pobfb6T+BlEe7NLwCz70kf 5u6p9IWHNu8BqraTe7THlX/kyFHRSBQEtCJ8FR48VomxKutVS40dBCBzP2AiqaYQbxEOCm udOcL2J6WIbn5Zgr+afxJxyZpMojOp1Cj+Fo/jU9ffeN+teCYSWocwk6C/DxyxglJdgqtW ThXmOTN8SOLa/pNKGRoAoUX0tE8EIYVJvK6bGAk4PmkiwxaqwLfluqfU1sDDwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675181600; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jH0HvG+hmFYwVOHkYwFwKW/sjVc7fpdY2RymQo4FABI=; b=qfzlZGVf+R3BszSV3nQ8tAKZwF5t0wzbnhhN+qNiiuMt6vSk8IBFxQOq3WTWPv2GV4b5Oq XgQAIqdXTOnaVzYqJMKQjjaPpx7vsv0Pl2lefkQWjsKipUyVpuWgSYC29nFj8kLzMSnuCb o1nEInBJWYtZF7aDfSA0AQx9heek7k/I3dBfyWcZeoGiNXwb4PwqTppbjkB8cnNIPh2nbg o9C1bsYn+TGnSPYNHoqs1VA7FetRtKkytgiE2UEJGDuBr2B6bQyEntxR3IFd83wnU8xEf/ xmwTxe6uulLGDIW6axZt1laY7s/7hcIPunsao0e9vLpBKEJ06kC+JyZG84NIxg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675181600; a=rsa-sha256; cv=none; b=mc8ypDEZD26d77ROFnd81SJn5/IVqg+kwaEYHVIwmStDVJg/y90CMiN6hB2ZjJrdvUzDZP 4eMtIQADZP+NM0z7cXGaJ2Rw69WoIDA4PNg+iZkqrt+KZT5LscyxTrz6iFxetqqDcvbc57 xpxGzSyv2c7KyLwJ9ToZnSFrkf5ZiQShpFqeGqHOofxZ+08EjXPYZ0AWhf8HJAId8CAtlG XMS+QStcm8j626YJq8y9EVyOM9BW3DSvldV1DUfCQRALbZqMKnEqa5516M5mIfgluTh9Wq Ti2wOZglZHHWkASQGj+KRSfs25m3H9dd81PUdWMKM47e7QA8RfP+1tC6wdcnoQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4P5qpm5Q5dzvbK; Tue, 31 Jan 2023 16:13:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 30VGDKVd096716; Tue, 31 Jan 2023 16:13:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30VGDKdn096715; Tue, 31 Jan 2023 16:13:20 GMT (envelope-from git) Date: Tue, 31 Jan 2023 16:13:20 GMT Message-Id: <202301311613.30VGDKdn096715@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dmitry Marakasov Subject: git: 93b63f894374 - main - =?utf-8?Q?devel/cppcheck:=20update=202.9.3=20=E2=86=92=202.10?= List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: amdmi3 X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 93b63f894374deb2f29d0d12f154610f26bfbcf2 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=93b63f894374deb2f29d0d12f154610f26bfbcf2 commit 93b63f894374deb2f29d0d12f154610f26bfbcf2 Author: Dmitry Marakasov AuthorDate: 2023-01-30 17:09:40 +0000 Commit: Dmitry Marakasov CommitDate: 2023-01-31 16:12:51 +0000 devel/cppcheck: update 2.9.3 → 2.10 --- devel/cppcheck/Makefile | 5 +++-- devel/cppcheck/distinfo | 6 +++--- devel/cppcheck/files/patch-cli_CMakeLists.txt | 11 ----------- devel/cppcheck/files/patch-gui_CMakeLists.txt | 9 --------- .../files/patch-gui_test_benchmark_simple_CMakeLists.txt | 11 ----------- .../cppcheck/files/patch-gui_test_xmlreportv2_CMakeLists.txt | 9 --------- devel/cppcheck/files/patch-lib_CMakeLists.txt | 11 ----------- devel/cppcheck/files/patch-oss-fuzz_CMakeLists.txt | 11 ----------- devel/cppcheck/files/patch-test_CMakeLists.txt | 11 ----------- 9 files changed, 6 insertions(+), 78 deletions(-) diff --git a/devel/cppcheck/Makefile b/devel/cppcheck/Makefile index c577e143b712..816d00e3e231 100644 --- a/devel/cppcheck/Makefile +++ b/devel/cppcheck/Makefile @@ -1,10 +1,11 @@ PORTNAME= cppcheck -PORTVERSION= 2.9.3 +PORTVERSION= 2.10 CATEGORIES= devel MAINTAINER= amdmi3@FreeBSD.org COMMENT= Tool for static C/C++ code analysis -WWW= https://cppcheck.sourceforge.io/ +WWW= https://cppcheck.sourceforge.io/ \ + https://github.com/danmar/cppcheck LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING diff --git a/devel/cppcheck/distinfo b/devel/cppcheck/distinfo index e72a1d440397..7e0d3762d4ae 100644 --- a/devel/cppcheck/distinfo +++ b/devel/cppcheck/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1669218988 -SHA256 (danmar-cppcheck-2.9.3_GH0.tar.gz) = 46319ca73e33e4b2bd91981a76a0d4f184cd3f86b62dc18e8938eabacd3ad2e3 -SIZE (danmar-cppcheck-2.9.3_GH0.tar.gz) = 3918291 +TIMESTAMP = 1675081481 +SHA256 (danmar-cppcheck-2.10_GH0.tar.gz) = 785dcbf711048dfe43ae920b6eff2eeebb4a096e88188a40e173ca4c030f57c3 +SIZE (danmar-cppcheck-2.10_GH0.tar.gz) = 3442586 diff --git a/devel/cppcheck/files/patch-cli_CMakeLists.txt b/devel/cppcheck/files/patch-cli_CMakeLists.txt deleted file mode 100644 index 76469f8fbc4f..000000000000 --- a/devel/cppcheck/files/patch-cli_CMakeLists.txt +++ /dev/null @@ -1,11 +0,0 @@ ---- cli/CMakeLists.txt.orig 2022-08-28 12:43:18 UTC -+++ cli/CMakeLists.txt -@@ -37,7 +37,7 @@ if(tinyxml2_FOUND AND NOT USE_BUNDLED_TINYXML2) - endif() - endif() - if(tinyxml2_FOUND AND NOT USE_BUNDLED_TINYXML2) -- target_link_libraries(cppcheck ${tinyxml2_LIBRARIES}) -+ target_link_libraries(cppcheck tinyxml2::tinyxml2) - endif() - target_link_libraries(cppcheck ${CMAKE_THREAD_LIBS_INIT}) - diff --git a/devel/cppcheck/files/patch-gui_CMakeLists.txt b/devel/cppcheck/files/patch-gui_CMakeLists.txt index 48bfc79062c7..eff3eece7257 100644 --- a/devel/cppcheck/files/patch-gui_CMakeLists.txt +++ b/devel/cppcheck/files/patch-gui_CMakeLists.txt @@ -1,14 +1,5 @@ --- gui/CMakeLists.txt.orig 2022-08-28 12:43:18 UTC +++ gui/CMakeLists.txt -@@ -34,7 +34,7 @@ if (BUILD_GUI) - target_link_libraries(cppcheck-gui ${PCRE_LIBRARY}) - endif() - if(tinyxml2_FOUND AND NOT USE_BUNDLED_TINYXML2) -- target_link_libraries(cppcheck-gui ${tinyxml2_LIBRARIES}) -+ target_link_libraries(cppcheck-gui tinyxml2::tinyxml2) - endif() - target_link_libraries(cppcheck-gui ${QT_CORE_LIB} ${QT_GUI_LIB} ${QT_WIDGETS_LIB} ${QT_PRINTSUPPORT_LIB} ${QT_HELP_LIB}) - if(WITH_QCHART) @@ -49,7 +49,7 @@ if (BUILD_GUI) endif() diff --git a/devel/cppcheck/files/patch-gui_test_benchmark_simple_CMakeLists.txt b/devel/cppcheck/files/patch-gui_test_benchmark_simple_CMakeLists.txt deleted file mode 100644 index 0bc2b678c1ca..000000000000 --- a/devel/cppcheck/files/patch-gui_test_benchmark_simple_CMakeLists.txt +++ /dev/null @@ -1,11 +0,0 @@ ---- gui/test/benchmark/simple/CMakeLists.txt.orig 2022-08-28 12:43:18 UTC -+++ gui/test/benchmark/simple/CMakeLists.txt -@@ -17,7 +17,7 @@ if(tinyxml2_FOUND AND NOT USE_BUNDLED_TINYXML2) - target_link_libraries(benchmark-simple ${PCRE_LIBRARY}) - endif() - if(tinyxml2_FOUND AND NOT USE_BUNDLED_TINYXML2) -- target_link_libraries(benchmark-simple ${tinyxml2_LIBRARIES}) -+ target_link_libraries(benchmark-simple tinyxml2::tinyxml2) - endif() - - if (CMAKE_CXX_COMPILER_ID MATCHES "Clang") diff --git a/devel/cppcheck/files/patch-gui_test_xmlreportv2_CMakeLists.txt b/devel/cppcheck/files/patch-gui_test_xmlreportv2_CMakeLists.txt deleted file mode 100644 index de51aaf9da44..000000000000 --- a/devel/cppcheck/files/patch-gui_test_xmlreportv2_CMakeLists.txt +++ /dev/null @@ -1,9 +0,0 @@ ---- gui/test/xmlreportv2/CMakeLists.txt.orig 2022-08-28 12:43:18 UTC -+++ gui/test/xmlreportv2/CMakeLists.txt -@@ -21,5 +21,5 @@ if(tinyxml2_FOUND AND NOT USE_BUNDLED_TINYXML2) - target_link_libraries(test-xmlreportv2 ${PCRE_LIBRARY}) - endif() - if(tinyxml2_FOUND AND NOT USE_BUNDLED_TINYXML2) -- target_link_libraries(test-xmlreportv2 ${tinyxml2_LIBRARIES}) -+ target_link_libraries(test-xmlreportv2 tinyxml2::tinyxml2) - endif() diff --git a/devel/cppcheck/files/patch-lib_CMakeLists.txt b/devel/cppcheck/files/patch-lib_CMakeLists.txt deleted file mode 100644 index b3bf45f144a5..000000000000 --- a/devel/cppcheck/files/patch-lib_CMakeLists.txt +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/CMakeLists.txt.orig 2022-08-28 12:43:18 UTC -+++ lib/CMakeLists.txt -@@ -36,6 +36,8 @@ if(USE_BUNDLED_TINYXML2) - target_include_directories(lib_objs SYSTEM PRIVATE ${PROJECT_SOURCE_DIR}/externals/) - if(USE_BUNDLED_TINYXML2) - target_include_directories(lib_objs SYSTEM PRIVATE ${PROJECT_SOURCE_DIR}/externals/tinyxml2/) -+else() -+ target_link_libraries(lib_objs PRIVATE tinyxml2::tinyxml2) - endif() - target_include_directories(lib_objs SYSTEM PRIVATE ${PROJECT_SOURCE_DIR}/externals/picojson/) - target_include_directories(lib_objs SYSTEM PRIVATE ${PROJECT_SOURCE_DIR}/externals/simplecpp/) diff --git a/devel/cppcheck/files/patch-oss-fuzz_CMakeLists.txt b/devel/cppcheck/files/patch-oss-fuzz_CMakeLists.txt deleted file mode 100644 index cb5b20f0ca8f..000000000000 --- a/devel/cppcheck/files/patch-oss-fuzz_CMakeLists.txt +++ /dev/null @@ -1,11 +0,0 @@ ---- oss-fuzz/CMakeLists.txt.orig 2022-08-28 12:43:18 UTC -+++ oss-fuzz/CMakeLists.txt -@@ -22,7 +22,7 @@ if (ENABLE_OSS_FUZZ AND CMAKE_CXX_COMPILER_ID MATCHES - target_link_libraries(fuzz-client PRIVATE ${PCRE_LIBRARY}) - endif() - if(tinyxml2_FOUND AND NOT USE_BUNDLED_TINYXML2) -- target_link_libraries(fuzz-client PRIVATE ${tinyxml2_LIBRARIES}) -+ target_link_libraries(fuzz-client PRIVATE tinyxml2::tinyxml2) - endif() - - add_executable(translate EXCLUDE_FROM_ALL diff --git a/devel/cppcheck/files/patch-test_CMakeLists.txt b/devel/cppcheck/files/patch-test_CMakeLists.txt deleted file mode 100644 index 7ad2144b350f..000000000000 --- a/devel/cppcheck/files/patch-test_CMakeLists.txt +++ /dev/null @@ -1,11 +0,0 @@ ---- test/CMakeLists.txt.orig 2022-08-28 12:43:18 UTC -+++ test/CMakeLists.txt -@@ -23,7 +23,7 @@ if (BUILD_TESTS) - endif() - endif() - if(tinyxml2_FOUND AND NOT USE_BUNDLED_TINYXML2) -- target_link_libraries(testrunner ${tinyxml2_LIBRARIES}) -+ target_link_libraries(testrunner tinyxml2::tinyxml2) - endif() - target_link_libraries(testrunner ${CMAKE_THREAD_LIBS_INIT}) -