From 7a0be1f2ee8fe87e4f6f33803775ab858af23673 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Mon, 29 Aug 2022 23:17:32 +0200 Subject: [PATCH] cppcheck: update to 2.9. --- srcpkgs/cppcheck/template | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/srcpkgs/cppcheck/template b/srcpkgs/cppcheck/template index 50427f55b33..a41275ec7d2 100644 --- a/srcpkgs/cppcheck/template +++ b/srcpkgs/cppcheck/template @@ -1,16 +1,18 @@ # Template file for 'cppcheck' pkgname=cppcheck -version=2.8.2 +version=2.9 revision=1 build_style=gnu-makefile make_build_args=" FILESDIR=/usr/share/cppcheck MATCHCOMPILER=yes + HAVE_RULES=yes DB2MAN=/usr/share/xsl/docbook/manpages/docbook.xsl" make_install_args="${make_build_args}" make_build_target="cppcheck man" python_version="3" hostmakedepends="libxslt docbook-xsl python3 which" +makedepends="pcre-devel" depends="python3" short_desc="Static analysis of C/C++ code" maintainer="Duncaen " @@ -18,7 +20,10 @@ 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=30ba99ab54089c44b83f02e2453da046a7edff5237950d4a0eb1eba4afcb4f45 +checksum=56aee8b5bdf936ab7adc9ab43903ba2052f088695c80f047682024a1ed0ef3f3 + +export CXXFLAGS="-DNDEBUG" +export LDFLAGS="-pthread" post_install() { vman cppcheck.1