musly: fix build with gcc15 (#516327)

This commit is contained in:
Weijia Wang
2026-05-04 14:42:44 +00:00
committed by GitHub
2 changed files with 17 additions and 0 deletions
@@ -0,0 +1,13 @@
diff --git a/include/minilog.h b/include/minilog.h
index b1c387e..9390a6e 100644
--- a/include/minilog.h
+++ b/include/minilog.h
@@ -198,7 +198,7 @@ Log<T>::from_string(
else if (level == "NONE")
return logNONE;
else {
- Log<T>().Get(logWARNING) << "Unknown logging level '" << level
+ Log<T>().get(logWARNING) << "Unknown logging level '" << level
<< "'. Using INFO level as default.";
return logINFO;
}
+4
View File
@@ -37,6 +37,10 @@ stdenv.mkDerivation {
./0002-Fix-build-with-C-17.patch
./0003-Modernize-CMake-build-system.patch
./0004-Use-pkg-config-to-find-libresample-and-kissfft.patch
# Fix build with gcc15: minilog.h uses Get() instead of get() in unused
# template code
# https://github.com/dominikschnitzer/musly/pull/55
./0005-Fix-minilog-get.patch
];
nativeBuildInputs = [