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
This commit is contained in:
parent
6bc397a1cc
commit
73afddd2a5
|
@ -21442,6 +21442,13 @@ with self; {
|
||||||
url = "mirror://cpan/authors/id/F/FR/FROGGS/SDL-2.548.tar.gz";
|
url = "mirror://cpan/authors/id/F/FR/FROGGS/SDL-2.548.tar.gz";
|
||||||
hash = "sha256-JSoZK/qcIHCkiDcH0TnDpF2cRRjM1moeaZtbeVm9T7U=";
|
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";
|
perlPreHook = "export LD=$CC";
|
||||||
preCheck = "rm t/core_audiospec.t";
|
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 ];
|
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 ];
|
||||||
|
|
Loading…
Reference in a new issue