Commit a218085a authored by Xiangyan Sun's avatar Xiangyan Sun
Browse files

mlvwm: fix build with gcc15

parent ac3bc672
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 = [