surge: fix build with GCC 15 (#476038)

This commit is contained in:
Aleksana
2026-01-02 04:53:52 +00:00
committed by GitHub
+3
View File
@@ -70,6 +70,9 @@ stdenv.mkDerivation (finalAttrs: {
rsync
];
# Fix build with gcc 15
env.NIX_CFLAGS_COMPILE = "-Wno-deprecated";
postPatch = ''
substituteInPlace src/common/SurgeStorage.cpp \
--replace "/usr/share/Surge" "$out/share/surge"