Unverified Commit bd8f29b8 authored by Yohann Boniface's avatar Yohann Boniface Committed by GitHub
Browse files

mlvwm: fix build with gcc15 (#516649)

parents 0973ba59 a218085a
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -21,6 +21,12 @@ stdenv.mkDerivation (finalAttrs: {
    sha256 = "sha256-ElKmi+ANuB3LPwZTMcr5HEMESjDwENbYnNIGdRP24d0=";
  };

  postPatch = ''
    # gcc15
    substituteInPlace mlvwm/functions.h \
      --replace-fail "void (*action)();" "void (*action)(char *);"
  '';

  nativeBuildInputs = [ installShellFiles ];

  buildInputs = [