Unverified Commit 26650f30 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

surge: fix build with GCC 15 (#476038)

parents 1e7e5f79 80aa94da
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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"