git: 5289423680f9 - main - devel/cppcheck: update 2.21.0 → 2.21.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 04 Sep 2026 23:36:33 UTC
The branch main has been updated by amdmi3:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5289423680f942377ad259acb827c98f7b05ad8c
commit 5289423680f942377ad259acb827c98f7b05ad8c
Author: Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2026-09-04 23:26:15 +0000
Commit: Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2026-09-04 23:33:41 +0000
devel/cppcheck: update 2.21.0 → 2.21.1
---
devel/cppcheck/Makefile | 2 +-
devel/cppcheck/distinfo | 6 +++---
devel/cppcheck/files/patch-CMakeLists.txt | 4 ++--
devel/cppcheck/files/patch-test_testcppcheck.cpp | 20 ++++++++++++++++++++
4 files changed, 26 insertions(+), 6 deletions(-)
diff --git a/devel/cppcheck/Makefile b/devel/cppcheck/Makefile
index 365be3a3601e..b7dfd7f82843 100644
--- a/devel/cppcheck/Makefile
+++ b/devel/cppcheck/Makefile
@@ -1,5 +1,5 @@
PORTNAME= cppcheck
-DISTVERSION= 2.21.0
+DISTVERSION= 2.21.1
CATEGORIES= devel
MAINTAINER= amdmi3@FreeBSD.org
diff --git a/devel/cppcheck/distinfo b/devel/cppcheck/distinfo
index 64d3fa9b7091..1f330e7ba34a 100644
--- a/devel/cppcheck/distinfo
+++ b/devel/cppcheck/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1780578101
-SHA256 (danmar-cppcheck-2.21.0_GH0.tar.gz) = f028ff75ca5372738f3737c8b3e8611426a6526b6aea2ef01301ab0f5902f044
-SIZE (danmar-cppcheck-2.21.0_GH0.tar.gz) = 4029561
+TIMESTAMP = 1788547749
+SHA256 (danmar-cppcheck-2.21.1_GH0.tar.gz) = ba750bd872ad7c01f951ff2d9dc8c68ea5852654545ec7a62a4c318d690c8e22
+SIZE (danmar-cppcheck-2.21.1_GH0.tar.gz) = 4029648
diff --git a/devel/cppcheck/files/patch-CMakeLists.txt b/devel/cppcheck/files/patch-CMakeLists.txt
index 6e20ccc0962e..d797d12c4d6b 100644
--- a/devel/cppcheck/files/patch-CMakeLists.txt
+++ b/devel/cppcheck/files/patch-CMakeLists.txt
@@ -2,8 +2,8 @@
+++ CMakeLists.txt
@@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.13)
cmake_minimum_required(VERSION 3.13)
--project(Cppcheck VERSION 2.21.0 LANGUAGES CXX)
-+project(cppcheck VERSION 2.21.0 LANGUAGES CXX)
+-project(Cppcheck VERSION 2.21.1 LANGUAGES CXX)
++project(cppcheck VERSION 2.21.1 LANGUAGES CXX)
include(cmake/options.cmake)
diff --git a/devel/cppcheck/files/patch-test_testcppcheck.cpp b/devel/cppcheck/files/patch-test_testcppcheck.cpp
new file mode 100644
index 000000000000..4bd621deba95
--- /dev/null
+++ b/devel/cppcheck/files/patch-test_testcppcheck.cpp
@@ -0,0 +1,20 @@
+--- test/testcppcheck.cpp.orig 2026-06-20 16:49:32 UTC
++++ test/testcppcheck.cpp
+@@ -597,7 +597,7 @@ class TestCppcheck : public TestFixture { (private)
+
+ void purgedConfiguration() const
+ {
+- ScopedFile test_file("test.cpp",
++ ScopedFile test_file("test_purged.cpp",
+ "#ifdef X\n"
+ "#endif\n"
+ "int main() {}\n");
+@@ -618,7 +618,7 @@ class TestCppcheck : public TestFixture { (private)
+ // the internal errorlist is cleared after each check() call
+ ASSERT_EQUALS(1, errorLogger.errmsgs.size());
+ auto it = errorLogger.errmsgs.cbegin();
+- ASSERT_EQUALS("test.cpp:0:0: information: The configuration 'X=X' was not checked because its code equals another one. [purgedConfiguration]",
++ ASSERT_EQUALS("test_purged.cpp:0:0: information: The configuration 'X=X' was not checked because its code equals another one. [purgedConfiguration]",
+ it->toString(false, templateFormat, ""));
+ }
+