perlPackages.Gtk2: fix build with gcc15
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user