mlvwm: fix build with gcc15 (#516649)

This commit is contained in:
Yohann Boniface
2026-05-04 22:16:57 +00:00
committed by GitHub
+6
View File
@@ -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 = [