move from unstable: cppcheck
This commit is contained in:
parent
e65d3aa794
commit
a777f84966
8
packages/cppcheck/build.sh
Normal file
8
packages/cppcheck/build.sh
Normal file
@ -0,0 +1,8 @@
|
||||
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_VERSION=2.5
|
||||
TERMUX_PKG_REVISION=1
|
||||
TERMUX_PKG_SRCURL=https://github.com/danmar/cppcheck/archive/$TERMUX_PKG_VERSION.tar.gz
|
||||
TERMUX_PKG_SHA256=dc27154d799935c96903dcc46653c526c6f4148a6912b77d3a50cb35dabd82e1
|
||||
TERMUX_PKG_BLACKLISTED_ARCHES="i686"
|
11
packages/cppcheck/threadexecuter.patch
Normal file
11
packages/cppcheck/threadexecuter.patch
Normal file
@ -0,0 +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 @@
|
||||
|
||||
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.
|
||||
return true;
|
||||
#else
|
||||
if (!nchildren || !mSettings.loadAverage) {
|
Loading…
Reference in New Issue
Block a user