diff --git a/programming/tool/cppcheck/actions.py b/programming/tool/cppcheck/actions.py
index 4fa0f4a016..1516dc80b7 100644
--- a/programming/tool/cppcheck/actions.py
+++ b/programming/tool/cppcheck/actions.py
@@ -11,6 +11,7 @@ from pisi.actionsapi import get
j = "-DUSE_Z3=ON \
-DHAVE_RULES=ON \
+ -DPYTHON_EXECUTABLE=/usr/bin/python3 \
-DBUILD_GUI=ON \
-DBUILD_SHARED_LIBS=ON \
-DBUILD_TESTS=OFF \
diff --git a/programming/tool/cppcheck/files/qm_install_path.patch b/programming/tool/cppcheck/files/qm_install_path.patch
index c34adb9dbe..3babb12dd8 100644
--- a/programming/tool/cppcheck/files/qm_install_path.patch
+++ b/programming/tool/cppcheck/files/qm_install_path.patch
@@ -2,7 +2,7 @@ diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt
index 9cd93a21f..d07094a00 100644
--- a/gui/CMakeLists.txt
+++ b/gui/CMakeLists.txt
-@@ -40,7 +40,7 @@ if (BUILD_GUI)
+@@ -49,7 +49,7 @@ if (BUILD_GUI)
endif()
install(TARGETS cppcheck-gui RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR} COMPONENT applications)
diff --git a/programming/tool/cppcheck/pspec.xml b/programming/tool/cppcheck/pspec.xml
index 28f5c0ccdf..56426b9d36 100644
--- a/programming/tool/cppcheck/pspec.xml
+++ b/programming/tool/cppcheck/pspec.xml
@@ -14,10 +14,10 @@
programming.tool
static analysis of C/C++ code.
- Cppcheck is a static analysis tool for C/C++ code. It provides unique code analysis to detect bugs and focuses on detecting undefined behaviour and dangerous coding constructs. The goal is to detect only real errors in the code (i.e. have very few false positives).
+ Cppcheck is a static analysis tool for C/C++ code. It provides unique code analysis to detect bugs and focuses on detecting undefined behaviour and dangerous coding constructs. The goal is to detect only real errors in the code (i.e. have very few false positives).
-
- mirrors://sourceforge/cppcheck/cppcheck-2.3.tar.bz2
+
+ mirrors://sourceforge/cppcheck/cppcheck-2.4.tar.bz2
cmake
@@ -68,6 +68,13 @@
+
+ 2021-03-24
+ 2.4
+ Ver. bump
+ fury
+ wascheme@tuta.io
+
2020-12-20
2.3