cppcheck: Bump to 2.6
This commit is contained in:
parent
0ce2fda711
commit
8e6759060b
@ -2,8 +2,6 @@ TERMUX_PKG_HOMEPAGE=https://github.com/danmar/cppcheck
|
||||
TERMUX_PKG_DESCRIPTION="tool for static C/C++ code analysis"
|
||||
TERMUX_PKG_LICENSE="GPL-3.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=2.5
|
||||
TERMUX_PKG_REVISION=2
|
||||
TERMUX_PKG_VERSION=2.6
|
||||
TERMUX_PKG_SRCURL=https://github.com/danmar/cppcheck/archive/$TERMUX_PKG_VERSION.tar.gz
|
||||
TERMUX_PKG_SHA256=dc27154d799935c96903dcc46653c526c6f4148a6912b77d3a50cb35dabd82e1
|
||||
TERMUX_PKG_BLACKLISTED_ARCHES="i686"
|
||||
TERMUX_PKG_SHA256=99f0c5cf58a0072876c4deb114f3f5f798c933b8e459cddb00a061c8bb4dd765
|
||||
|
@ -1,11 +1,11 @@
|
||||
--- cli/threadexecutor.cpp.orig 2019-11-08 23:29:10.428984535 +0000
|
||||
+++ ./cli/threadexecutor.cpp 2019-11-08 23:29:51.245623336 +0000
|
||||
@@ -143,7 +143,7 @@
|
||||
--- ./cli/threadexecutor.cpp.orig 2021-10-26 21:30:46.557469590 +0530
|
||||
+++ ./cli/threadexecutor.cpp 2021-10-26 21:32:35.957469548 +0530
|
||||
@@ -149,7 +149,7 @@
|
||||
|
||||
bool ThreadExecutor::checkLoadAverage(size_t nchildren)
|
||||
{
|
||||
-#if defined(__CYGWIN__) || defined(__QNX__) // getloadavg() is unsupported on Cygwin, Qnx.
|
||||
+#if defined(__CYGWIN__) || defined(__QNX__) || defined(__ANDROID__) // getloadavg() is unsupported on Cygwin, Qnx.
|
||||
-#if defined(__CYGWIN__) || defined(__QNX__) || defined(__HAIKU__) // getloadavg() is unsupported on Cygwin, Qnx, Haiku.
|
||||
+#if defined(__CYGWIN__) || defined(__QNX__) || defined(__HAIKU__) || defined(__ANDROID__) // getloadavg() is unsupported on Cygwin, Qnx, Haiku, Android.
|
||||
return true;
|
||||
#else
|
||||
if (!nchildren || !mSettings.loadAverage) {
|
||||
|
Loading…
Reference in New Issue
Block a user