Commit 7b08c457 authored by Xiangyan Sun's avatar Xiangyan Sun
Browse files

musly: fix build with gcc15

parent ac3bc672
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
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 −0
Original line number Diff line number Diff line
@@ -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 = [