From 9f46c8f511f97e65398dd63da762d108771e0bc3 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Sat, 24 Jun 2023 17:36:18 +0200 Subject: [PATCH] cppcheck: update to 2.11. --- srcpkgs/cppcheck/template | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/srcpkgs/cppcheck/template b/srcpkgs/cppcheck/template index bf2f4bdbf2d..98f1af93b72 100644 --- a/srcpkgs/cppcheck/template +++ b/srcpkgs/cppcheck/template @@ -1,6 +1,6 @@ # Template file for 'cppcheck' pkgname=cppcheck -version=2.10.3 +version=2.11 revision=1 build_style=cmake configure_args=" @@ -19,7 +19,7 @@ license="GPL-3.0-or-later" homepage="http://cppcheck.sourceforge.net" changelog="https://sourceforge.net/p/cppcheck/news/" distfiles="https://github.com/danmar/cppcheck/archive/${version}.tar.gz" -checksum=8aae5e116daeaaf5d19f3efa61b91c06f161cb97412a1d1af6e1e20686e48967 +checksum=ef7d77c16e6903834cc016986a60157918a90958e981863746a7f3147bfb94c6 export CXXFLAGS="-DNDEBUG" @@ -31,6 +31,7 @@ post_extract() { if [ "$CROSS_BUILD" ]; then vsed -e '/run-dmake/d' -i test/CMakeLists.txt -i cli/CMakeLists.txt fi + vsed -e 's/"2.11"/"2.11.0"/' -i cmake/versions.cmake } post_install() {