Skip to content

Commit

Permalink
goocanvas2: fix gcc14 compilation (#369348)
Browse files Browse the repository at this point in the history
Closes: #369658
  • Loading branch information
bobby285271 authored Dec 31, 2024
2 parents 8298f74 + cb31bc8 commit 1edac59
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pkgs/development/libraries/goocanvas/2.x.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
lib,
stdenv,
fetchurl,
fetchpatch,
pkg-config,
gettext,
gtk-doc,
Expand Down Expand Up @@ -41,6 +42,16 @@ stdenv.mkDerivation rec {
glib
];

# add fedora patch to fix gcc-14 build
# https://src.fedoraproject.org/rpms/goocanvas2/tree/main
patches = [
(fetchpatch {
name = "goocanvas-2.0.4-Fix-building-with-GCC-14.patch";
hash = "sha256-9uqqC1uKZF9TDz5dfDTKSRCmjEiuvqkLnZ9w6U+q2TI=";
url = "https://src.fedoraproject.org/rpms/goocanvas2/raw/e799612a277262a0c6bd03db10a6ee9ca7871b9c/f/goocanvas-2.0.4-Fix-building-with-GCC-14.patch";
})
];

configureFlags = [
"--disable-python"
];
Expand Down

0 comments on commit 1edac59

Please sign in to comment.