freeimage: fix build with glibc 2.27
This commit is contained in:
parent
76f6dc1772
commit
214b35d115
@ -19,6 +19,10 @@ stdenv.mkDerivation {
|
|||||||
url = patchURL + "/Fix-CVE-2016-5684.patch";
|
url = patchURL + "/Fix-CVE-2016-5684.patch";
|
||||||
sha256 = "14ffgqbnwg28r6sjvm3z89zbnnm9ghbc81hdhrzxlyk3vwvd6cw3";
|
sha256 = "14ffgqbnwg28r6sjvm3z89zbnnm9ghbc81hdhrzxlyk3vwvd6cw3";
|
||||||
})
|
})
|
||||||
|
(fetchurl {
|
||||||
|
url = https://raw.githubusercontent.com/buildroot/buildroot/2018.05/package/libfreeimage/0005-Manage-powf64-with-glibc.patch;
|
||||||
|
sha256 = "1lis479ad5cfkhqm044nk4x97wfwm3hry3bvij1w5xkndnlfppc2";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [ unzip ] ++ stdenv.lib.optional stdenv.isDarwin darwin.cctools;
|
buildInputs = [ unzip ] ++ stdenv.lib.optional stdenv.isDarwin darwin.cctools;
|
||||||
@ -57,6 +61,8 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-Wno-narrowing";
|
NIX_CFLAGS_COMPILE = "-Wno-narrowing";
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Open Source library for accessing popular graphics image file formats";
|
description = "Open Source library for accessing popular graphics image file formats";
|
||||||
homepage = http://freeimage.sourceforge.net/;
|
homepage = http://freeimage.sourceforge.net/;
|
||||||
|
Loading…
Reference in New Issue
Block a user