tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
freeimage: fix build with glibc 2.27
Orivej Desh
7 years ago
214b35d1
76f6dc17
+6
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
freeimage
default.nix
+6
pkgs/development/libraries/freeimage/default.nix
···
19
19
url = patchURL + "/Fix-CVE-2016-5684.patch";
20
20
sha256 = "14ffgqbnwg28r6sjvm3z89zbnnm9ghbc81hdhrzxlyk3vwvd6cw3";
21
21
})
22
22
+
(fetchurl {
23
23
+
url = https://raw.githubusercontent.com/buildroot/buildroot/2018.05/package/libfreeimage/0005-Manage-powf64-with-glibc.patch;
24
24
+
sha256 = "1lis479ad5cfkhqm044nk4x97wfwm3hry3bvij1w5xkndnlfppc2";
25
25
+
})
22
26
];
23
27
24
28
buildInputs = [ unzip ] ++ stdenv.lib.optional stdenv.isDarwin darwin.cctools;
···
56
60
postInstall = stdenv.lib.optionalString (!stdenv.isDarwin) "make -f Makefile.fip install";
57
61
58
62
NIX_CFLAGS_COMPILE = "-Wno-narrowing";
63
63
+
64
64
+
enableParallelBuilding = true;
59
65
60
66
meta = {
61
67
description = "Open Source library for accessing popular graphics image file formats";