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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user