perlPackages.SDL: fix build with GCC 14

This commit is contained in:
FliegendeWurst
2025-01-03 09:40:14 +01:00
parent f28864e00d
commit 8d45fcd45c
+4
View File
@@ -22489,6 +22489,10 @@ with self; {
patches = [
# https://github.com/PerlGameDev/SDL/pull/304
../development/perl-modules/sdl-modern-perl.patch
(fetchpatch {
url = "https://aur.archlinux.org/cgit/aur.git/plain/surface-xs-declare-calc-offset-earlier.diff?h=perl-sdl&id=d4b6da86d33046cde0e84fa2cd6eaccff1667cab";
hash = "sha256-dQ2O4dO18diSAilSZrZj6II+mBuKKI3cx9fR1SJqUvo=";
})
];
perlPreHook = "export LD=$CC";
preCheck = "rm t/core_audiospec.t";