Skip to content

Commit

Permalink
libpng: always apply the debian patches
Browse files Browse the repository at this point in the history
This fixes the low-severity CVE on other platforms than aarch64.
  • Loading branch information
vcunat committed Feb 19, 2019
1 parent 424efc7 commit 3a07859
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkgs/development/libraries/libpng/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ in stdenv.mkDerivation rec {
url = "mirror://sourceforge/libpng/libpng-${version}.tar.xz";
sha256 = "06d35a3xz2a0kph82r56hqm1fn8fbwrqs07xzmr93dx63x695szc";
};
patches = if !stdenv.hostPlatform.isAarch64 then null # temporarily avoid rebuild
else [
patches = [
(fetchurl { # https://github.com/glennrp/libpng/issues/266
url = "https://salsa.debian.org/debian/libpng1.6/raw/0e1348f3d/debian/patches/272.patch";
sha256 = "1d36khgryq2p27bdx10xrr4kcjr7cdfdj2zhdcjzznpnpns97s6n";
Expand Down

0 comments on commit 3a07859

Please sign in to comment.