SDL2_image: 2.8.2 -> 2.8.3 (#366222)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
SDL2,
|
||||
autoreconfHook,
|
||||
darwin,
|
||||
fetchurl,
|
||||
giflib,
|
||||
@@ -22,15 +23,16 @@ let
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "SDL2_image";
|
||||
version = "2.8.2";
|
||||
version = "2.8.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.libsdl.org/projects/SDL_image/release/SDL2_image-${finalAttrs.version}.tar.gz";
|
||||
hash = "sha256-j0hrv7z4Rk3VjJ5dkzlKsCVc5otRxalmqRgkSCCnbdw=";
|
||||
hash = "sha256-SwAPLCOM44CAfuDLaKDvAFhxaR7Ohkbb9PQlpYKxuyI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
SDL2
|
||||
autoreconfHook
|
||||
pkg-config
|
||||
];
|
||||
|
||||
|
||||
@@ -7,4 +7,11 @@ SDL2_image.overrideAttrs (oldAttrs: {
|
||||
inherit (oldAttrs.src) url;
|
||||
hash = "sha256-vdX24CZoL31+G+C2BRsgnaL0AqLdi9HEvZwlrSYxCNA";
|
||||
};
|
||||
|
||||
postPatch =
|
||||
(oldAttrs.postPatch or "")
|
||||
+ ''
|
||||
# allow newer autoreconf to run successfully
|
||||
touch NEWS README AUTHORS ChangeLog
|
||||
'';
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user