gnome-recipes: fix gcc-14 build (#373297)

This commit is contained in:
Bobby Rong
2025-01-13 20:46:54 +08:00
committed by GitHub
+10
View File
@@ -2,6 +2,7 @@
stdenv,
lib,
fetchFromGitLab,
fetchpatch,
meson,
ninja,
pkg-config,
@@ -35,6 +36,15 @@ stdenv.mkDerivation rec {
sha256 = "GyFOwEYmipQdFLtTXn7+NvhDTzxBlOAghr3cZT4QpQw=";
};
patches = [
# gcc-14 build failure fix
(fetchpatch {
name = "gcc-14.patch";
url = "https://gitlab.gnome.org/GNOME/recipes/-/commit/c0304675f63a33737b24fdf37e06c6b154a91a31.patch";
hash = "sha256-YTf4NDwUiU/q96RAXKTO499pW9sPrgh8IvdPBPEnV6Q=";
})
];
nativeBuildInputs = [
meson
ninja