mlvwm: fix build with gcc15

This commit is contained in:
Xiangyan Sun
2026-05-04 14:39:02 -07:00
parent ac3bc672c5
commit a218085aa0
+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 = [