raze: fix build with gcc14 (#370738)

This commit is contained in:
Peder Bergebakken Sundt
2025-01-06 01:28:48 +01:00
committed by GitHub
+10
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
cmake,
ninja,
SDL2,
@@ -34,6 +35,15 @@ stdenv.mkDerivation (finalAttrs: {
'';
};
patches = [
# Fix build with gcc14
(fetchpatch {
name = "fix-gcc14.patch";
url = "https://github.com/ZDoom/Raze/commit/f3cad8426cd808be5ded036ed12a497d27d3742e.patch";
hash = "sha256-TMx5gFmcuSQbVPjpBnKgK7EluqPSWhLF+TU8ZRaL7LE=";
})
];
nativeBuildInputs = [
cmake
ninja