Skip to content

Commit 144bea7

Browse files
authored
mftrace: patch for GCC15 to fix linux build (#503280)
2 parents 764f317 + 9fd154c commit 144bea7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

pkgs/by-name/mf/mftrace/package.nix

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
fontforge,
99
potrace,
1010
texlive,
11+
fetchpatch2,
1112
}:
1213

1314
/*
@@ -34,6 +35,14 @@ stdenv.mkDerivation (finalAttrs: {
3435
sha256 = "02ik25aczkbi10jrjlnxby3fmixxrwm2k5r4fkfif3bjfym7nqbc";
3536
};
3637

38+
patches = [
39+
(fetchpatch2 {
40+
name = "gcc-15.patch";
41+
url = "https://salsa.debian.org/debian/mftrace/-/raw/628987e5ce8bdab737f9fbc730a75fdd29ce81d2/debian/patches/gcc-15.patch";
42+
hash = "sha256-eTDohSGzy2hxZmpAXiYaAk3DBnrXduNum0fO6bHGUQw=";
43+
})
44+
];
45+
3746
nativeBuildInputs = [
3847
makeWrapper
3948
autoreconfHook

0 commit comments

Comments
 (0)