colobot: fix build with gcc 15

Related: https://github.com/NixOS/nixpkgs/issues/475479
Signed-off-by: Marcin Serwin <marcin@serwin.dev>
This commit is contained in:
Marcin Serwin
2026-01-17 09:06:18 +01:00
parent 73bfcdb67c
commit 188408f2c8
+10
View File
@@ -19,6 +19,7 @@
doxygen,
python3,
callPackage,
fetchpatch,
}:
let
@@ -37,6 +38,15 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-QhNHtAG+hKq7qJhKWCJcP4ejm5YDOU8pyYtitJppVlU=";
};
patches = [
(fetchpatch {
url = "https://github.com/colobot/colobot/commit/1561854b03500d39955c66971c9c98de1937d7e6.patch";
relative = "colobot-app/src";
extraPrefix = "src/app/";
hash = "sha256-TVd/TsmFb1qQILUJr6E1zdFl/bQkREYKC/cm2I3M/iw=";
})
];
nativeBuildInputs = [
cmake
xmlstarlet