cppcheck: update to 1.72.
This commit is contained in:
parent
8ae6228fa2
commit
1efe46e821
2 changed files with 3 additions and 24 deletions
|
@ -1,21 +0,0 @@
|
||||||
--- gui/main.cpp.orig
|
|
||||||
+++ gui/main.cpp
|
|
||||||
@@ -57,12 +57,18 @@
|
|
||||||
QSettings* settings = new QSettings("Cppcheck", "Cppcheck-GUI", &app);
|
|
||||||
|
|
||||||
// Set data dir..
|
|
||||||
+ if ((settings->value("DATADIR", QString()).toString()).isEmpty())
|
|
||||||
+ settings->setValue("DATADIR", "/usr/share/cppcheck");
|
|
||||||
+
|
|
||||||
foreach(const QString arg, app.arguments()) {
|
|
||||||
if (arg.startsWith("--data-dir=")) {
|
|
||||||
settings->setValue("DATADIR", arg.mid(11));
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+
|
|
||||||
+ if ((settings->value(SETTINGS_LANGUAGE, QString()).toString()).isEmpty())
|
|
||||||
+ settings->setValue(SETTINGS_LANGUAGE, "en");
|
|
||||||
|
|
||||||
TranslationHandler* th = new TranslationHandler(&app);
|
|
||||||
th->SetLanguage(settings->value(SETTINGS_LANGUAGE, th->SuggestLanguage()).toString());
|
|
|
@ -1,14 +1,14 @@
|
||||||
# Template file for 'cppcheck'
|
# Template file for 'cppcheck'
|
||||||
pkgname=cppcheck
|
pkgname=cppcheck
|
||||||
version=1.71
|
version=1.72
|
||||||
revision=2
|
revision=1
|
||||||
hostmakedepends="libxslt docbook-xsl"
|
hostmakedepends="libxslt docbook-xsl"
|
||||||
short_desc="Static analysis of C/C++ code"
|
short_desc="Static analysis of C/C++ code"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="http://cppcheck.sourceforge.net"
|
homepage="http://cppcheck.sourceforge.net"
|
||||||
distfiles="https://github.com/danmar/cppcheck/archive/$version.tar.gz"
|
distfiles="https://github.com/danmar/cppcheck/archive/$version.tar.gz"
|
||||||
checksum=49f8d44516a1534eb01e3cc8300d60c3577c5e4339336defaf213d08ff914f1b
|
checksum=c718949e1ec22a8a0dca7e2953a55c502ef65e53ff9922fb91759388618faa7f
|
||||||
|
|
||||||
CXXFLAGS="-std=c++11"
|
CXXFLAGS="-std=c++11"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue