diff options
-rw-r--r-- | testing/cppcheck/APKBUILD | 15 | ||||
-rw-r--r-- | testing/cppcheck/avoid_execinfo.patch | 11 |
2 files changed, 5 insertions, 21 deletions
diff --git a/testing/cppcheck/APKBUILD b/testing/cppcheck/APKBUILD index 899b1eb858..b69c3f641f 100644 --- a/testing/cppcheck/APKBUILD +++ b/testing/cppcheck/APKBUILD @@ -1,7 +1,7 @@ # Contributor: August Klein <amatcoder@gmail.com> # Maintainer: August Klein <amatcoder@gmail.com> pkgname=cppcheck -pkgver=1.73 +pkgver=1.77 pkgrel=0 pkgdesc="A static analysis tool for C/C++ code" url="http://cppcheck.sourceforge.net" @@ -11,10 +11,8 @@ depends="" makedepends="docbook-xsl pcre-dev qt5-qttools-dev" subpackages="$pkgname-doc $pkgname-htmlreport $pkgname-gui" source="$pkgname-$pkgver.tar.gz::https://github.com/danmar/cppcheck/archive/$pkgver.tar.gz - avoid_execinfo.patch set_datadir.patch" - -builddir="$srcdir"/$pkgname-$pkgver +builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" @@ -54,12 +52,9 @@ gui() { mv gui/cppcheck*.qm "$subpkgdir"/usr/share/cppcheck/lang/ } -md5sums="8c2713c4475ff204438b7dc999011e26 cppcheck-1.73.tar.gz -3d29b07670be78cf36ef8493089f37cd avoid_execinfo.patch +md5sums="33bd1996ad9a68221266662b3d6cc48b cppcheck-1.77.tar.gz 24f448e5821494d4f02d44551aa8cb0a set_datadir.patch" -sha256sums="938d792c9399233b551bd9991d6842f353fa8dad973d5e457b78be66646c8b8f cppcheck-1.73.tar.gz -aa6a72bc06039b857accc04c00cddb37d19aa86f3a8aee01ce17fac969d87fe4 avoid_execinfo.patch +sha256sums="76ae0a9b556a93c79365cf8bd5f276c30e3327c4ca78283b5c2dbbddc135c2ba cppcheck-1.77.tar.gz 993e9426221624f59f2e22a814af03097976a3fded7c06f57bf702d532e7bcef set_datadir.patch" -sha512sums="556f5f3f0f4cd33a470ee6a16a60b3a0a43fac0547bd3bb70f4a3253fa51870d2b780686d907bfc3a038f8630cf9e6ebc0adc417104fef69ab3369c6157f6ae3 cppcheck-1.73.tar.gz -5c21e4be5a0e11b26da38e4bbe5566d27e01024198947ed6bf4de88f1067159e730966e85d67af99034e54be9120a065b17f16b86278b28d792597c3f8c65c2b avoid_execinfo.patch +sha512sums="480e705225191622b2effa5ff58d21f985d1f9fb77e7be6ec878df20063c09f503e33e6162d5c55bb98ec6e14d0f682664a3ba35c380742ef8b473cb5ca3b0a0 cppcheck-1.77.tar.gz 76f0699273347068b562d001cf6701ef3180506d21bd9298a6b1f2e522ea3c32b1cc350128a2c0b8d69b89aa3c0992b04e9d641ae170b51e3073acb3c6ca7b6e set_datadir.patch" diff --git a/testing/cppcheck/avoid_execinfo.patch b/testing/cppcheck/avoid_execinfo.patch deleted file mode 100644 index 8924a0b0d6..0000000000 --- a/testing/cppcheck/avoid_execinfo.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- cppcheck-1.73-origin/cli/cppcheckexecutor.cpp -+++ cppcheck-1.73/cli/cppcheckexecutor.cpp -@@ -50,7 +50,7 @@ - #endif - #endif - --#if !defined(NO_UNIX_BACKTRACE_SUPPORT) && defined(USE_UNIX_SIGNAL_HANDLING) && defined(__GNUC__) && !defined(__CYGWIN__) && !defined(__MINGW32__) && !defined(__NetBSD__) && !defined(__SVR4) && !defined(__QNX__) -+#if !defined(NO_UNIX_BACKTRACE_SUPPORT) && defined(USE_UNIX_SIGNAL_HANDLING) && defined (__GLIBC__) && defined(__GNUC__) && !defined(__CYGWIN__) && !defined(__MINGW32__) && !defined(__NetBSD__) && !defined(__SVR4) && !defined(__QNX__) - #define USE_UNIX_BACKTRACE_SUPPORT - #include <cxxabi.h> - #include <execinfo.h> |