diff --git a/srcpkgs/cppcheck/patches/musl-no-feenableexcept.patch b/srcpkgs/cppcheck/patches/musl-no-feenableexcept.patch new file mode 100644 index 00000000000..cd4df602966 --- /dev/null +++ b/srcpkgs/cppcheck/patches/musl-no-feenableexcept.patch @@ -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 diff --git a/srcpkgs/cppcheck/template b/srcpkgs/cppcheck/template index 7639604ab6c..3515dfc871d 100644 --- a/srcpkgs/cppcheck/template +++ b/srcpkgs/cppcheck/template @@ -1,6 +1,6 @@ # Template file for 'cppcheck' pkgname=cppcheck -version=2.13.4 +version=2.14.1 revision=1 build_style=cmake configure_args=" @@ -19,7 +19,7 @@ license="GPL-3.0-or-later" homepage="http://cppcheck.sourceforge.net" changelog="https://sourceforge.net/p/cppcheck/news/" distfiles="https://github.com/danmar/cppcheck/archive/${version}.tar.gz" -checksum=d6ea064ebab76c6aa000795440479767d8d814dd29405918df4c1bbfcd6cb86c +checksum=22d1403fbc3158f35b5216d7b0a50bbaf0c80bf6663933a71f65cc4fc307ff3d export CXXFLAGS="-DNDEBUG"