Skip to content

Commit

Permalink
devel/cppcheck: update 2.10.3 → 2.12.1
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 committed Sep 26, 2023
1 parent c4a9b24 commit 2b82f0b
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 7 deletions.
2 changes: 1 addition & 1 deletion devel/cppcheck/Makefile
@@ -1,5 +1,5 @@
PORTNAME= cppcheck
PORTVERSION= 2.10.3
PORTVERSION= 2.12.1
CATEGORIES= devel

MAINTAINER= amdmi3@FreeBSD.org
Expand Down
6 changes: 3 additions & 3 deletions devel/cppcheck/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1679426311
SHA256 (danmar-cppcheck-2.10.3_GH0.tar.gz) = 8aae5e116daeaaf5d19f3efa61b91c06f161cb97412a1d1af6e1e20686e48967
SIZE (danmar-cppcheck-2.10.3_GH0.tar.gz) = 3447010
TIMESTAMP = 1695753260
SHA256 (danmar-cppcheck-2.12.1_GH0.tar.gz) = 2a3d4ba1179419612183ab3d6aed6d3b18be75e98cd6f138ea8e2020905dced2
SIZE (danmar-cppcheck-2.12.1_GH0.tar.gz) = 3579702
6 changes: 3 additions & 3 deletions devel/cppcheck/files/patch-CMakeLists.txt
@@ -1,9 +1,9 @@
--- CMakeLists.txt.orig 2020-05-10 09:31:19 UTC
--- CMakeLists.txt.orig 2023-06-22 09:07:56 UTC
+++ CMakeLists.txt
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 2.8.12)
-project(Cppcheck)
+project(cppcheck)

set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

include(cmake/cxx11.cmake)
use_cxx11()
14 changes: 14 additions & 0 deletions devel/cppcheck/files/patch-test_testpath.cpp
@@ -0,0 +1,14 @@
This test requires /proc to be mounted

--- test/testpath.cpp.orig 2023-06-22 09:07:56 UTC
+++ test/testpath.cpp
@@ -74,7 +74,9 @@ class TestPath : public TestFixture { (private)
}

void getCurrentExecutablePath() const {
+#ifndef __FreeBSD__
ASSERT_EQUALS(false, Path::getCurrentExecutablePath("").empty());
+#endif
}

void isAbsolute() const {

0 comments on commit 2b82f0b

Please sign in to comment.