apngasm: 3.1.9 -> 3.1.10

3.1.9 had issues with building and 3.1.10 has been released fixing
those; a parallel building error has been found and it is fixed on
Gentoo repository, from where we grab the patch from.

Log of error: https://hydra.nixos.org/log/6nh56zf7y81p0m6xxynw22wj1kaxrjbd-apngasm-3.1.9.drv
Refs: ZHF: #172160
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>

+12 -4
+12 -4
pkgs/applications/graphics/apngasm/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, cmake, boost, libpng, zlib }: 1 + { lib, stdenv, fetchFromGitHub, fetchpatch, cmake, boost, libpng, zlib }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "apngasm"; 5 - version = "3.1.9"; 5 + version = "3.1.10"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = pname; 9 9 repo = pname; 10 - rev = "d50bfb0cf14c376f4cfb94eb91c61d795a76b715"; # not tagged, but in debian/changelog 11 - sha256 = "0pk0r8x1950pm6j3d5wgryvy3ldm7a9gl59jmnwnjmg1sf9mzf97"; 10 + rev = "f105b2d6024ef3113bb407d68e27e476a17fa998"; 11 + sha256 = "sha256-lTk2sTllKHRUaWPPEkC4qU5K10oRaLrdWBgN4MUGKeo="; 12 12 }; 13 + 14 + patches = [ 15 + # Fix parallel build and avoid static linking of binary. 16 + (fetchpatch { 17 + url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/media-gfx/apngasm/files/apngasm-3.1.10-static.patch?id=45fd0cde71ca2ae0e7e38ab67400d84b86b593d7"; 18 + sha256 = "sha256-eKthgInWxXEqN5PupvVf9wVQDElxsPYRFXT7pMc6vIU="; 19 + }) 20 + ]; 13 21 14 22 nativeBuildInputs = [ cmake ]; 15 23