diff options
author | Puck Meerburg <puck@puckipedia.com> | 2023-09-20 21:17:53 +0000 |
---|---|---|
committer | Puck Meerburg <puck@puckipedia.com> | 2023-09-20 21:17:53 +0000 |
commit | 73afddd2a5f4d15067a4aa08dbf755530763d62b (patch) | |
tree | 454f9d7c8ec37aaf4a36dc217b80ae4a2c8ee276 /pkgs/top-level | |
parent | 6bc397a1cc4df975218a16a966793fde4a2512f8 (diff) |
perlPackages.SDL: fix on perl >= 5.38.0
This applies the patch from [1], fixing the most important game in nixpkgs. [1]: https://github.com/PerlGameDev/SDL/pull/304
Diffstat (limited to 'pkgs/top-level')
-rw-r--r-- | pkgs/top-level/perl-packages.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 8193fd271b1df..16e0d438deb46 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -21442,6 +21442,13 @@ with self; { url = "mirror://cpan/authors/id/F/FR/FROGGS/SDL-2.548.tar.gz"; hash = "sha256-JSoZK/qcIHCkiDcH0TnDpF2cRRjM1moeaZtbeVm9T7U="; }; + patches = [ + # https://github.com/PerlGameDev/SDL/pull/304 + (fetchpatch { + url = "https://github.com/PerlGameDev/SDL/commit/d734d03862d7dcc776bd2fa3ba662cdd5879b32e.patch"; + hash = "sha256-YjtnAbJxCvx5QckiatZjD8v7dKefG3DCnXeLaNnEO8U="; + }) + ]; perlPreHook = "export LD=$CC"; preCheck = "rm t/core_audiospec.t"; buildInputs = [ pkgs.SDL pkgs.SDL_gfx pkgs.SDL_mixer pkgs.SDL_image pkgs.SDL_ttf pkgs.SDL_Pango pkgs.SDL_net AlienSDL CaptureTiny TestDeep TestDifferences TestException TestMost TestWarn ]; |