mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
cppcheck: update to 2.14.1.
This commit is contained in:
parent
3462bc55a3
commit
9b7efabf27
2 changed files with 13 additions and 2 deletions
11
srcpkgs/cppcheck/patches/musl-no-feenableexcept.patch
Normal file
11
srcpkgs/cppcheck/patches/musl-no-feenableexcept.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- a/test/signal/test-signalhandler.cpp
|
||||||
|
+++ b/test/signal/test-signalhandler.cpp
|
||||||
|
@@ -46,7 +46,7 @@
|
||||||
|
|
||||||
|
/*static*/ void my_fpe()
|
||||||
|
{
|
||||||
|
-#if !defined(__APPLE__)
|
||||||
|
+#if !defined(__APPLE__) && defined(__GLIBC__)
|
||||||
|
feenableexcept(FE_ALL_EXCEPT); // TODO: check result
|
||||||
|
#endif
|
||||||
|
std::feraiseexcept(FE_UNDERFLOW | FE_DIVBYZERO); // TODO: check result
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'cppcheck'
|
# Template file for 'cppcheck'
|
||||||
pkgname=cppcheck
|
pkgname=cppcheck
|
||||||
version=2.13.4
|
version=2.14.1
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="
|
configure_args="
|
||||||
|
@ -19,7 +19,7 @@ license="GPL-3.0-or-later"
|
||||||
homepage="http://cppcheck.sourceforge.net"
|
homepage="http://cppcheck.sourceforge.net"
|
||||||
changelog="https://sourceforge.net/p/cppcheck/news/"
|
changelog="https://sourceforge.net/p/cppcheck/news/"
|
||||||
distfiles="https://github.com/danmar/cppcheck/archive/${version}.tar.gz"
|
distfiles="https://github.com/danmar/cppcheck/archive/${version}.tar.gz"
|
||||||
checksum=d6ea064ebab76c6aa000795440479767d8d814dd29405918df4c1bbfcd6cb86c
|
checksum=22d1403fbc3158f35b5216d7b0a50bbaf0c80bf6663933a71f65cc4fc307ff3d
|
||||||
|
|
||||||
export CXXFLAGS="-DNDEBUG"
|
export CXXFLAGS="-DNDEBUG"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue