perlPackages.Gtk2: fix build with gcc15

This commit is contained in:
Marcus Ramberg
2025-12-25 18:09:42 +01:00
parent 175938b4ad
commit 422e35fb81
+5
View File
@@ -15282,6 +15282,11 @@ with self;
url = "mirror://cpan/authors/id/X/XA/XAOC/Gtk2-1.24993.tar.gz";
hash = "sha256-ScRDdDsu7+EadoACck9/akxI78lP8806VZ+357aTyWc=";
};
env = lib.optionalAttrs stdenv.cc.isGNU {
NIX_CFLAGS_COMPILE = "-std=gnu17";
};
patches = [
# Fix incompatible function pointer conversion (assigning `GdkNativeWindow` to `guint32`).
../development/perl-modules/Gtk2-fix-incompatible-pointer-conversion.patch