Merge #36686: darling-dmg: fix build with gcc7

This commit is contained in:
Vladimír Čunát 2018-03-12 20:29:16 +01:00
commit 1d968d180a
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake, fuse, zlib, bzip2, openssl, libxml2, icu } :
{ stdenv, fetchFromGitHub, fetchpatch, cmake, fuse, zlib, bzip2, openssl, libxml2, icu } :
stdenv.mkDerivation rec {
name = "darling-dmg-${version}";
@ -11,6 +11,13 @@ stdenv.mkDerivation rec {
sha256 = "0x285p16zfnp0p6injw1frc8krif748sfgxhdd7gb75kz0dfbkrk";
};
patches = [
(fetchpatch {
url = "https://github.com/darlinghq/darling-dmg/commit/cbb0092264b5c5cf3e92d6c2de23f02d859ebf44.patch";
sha256 = "05fhgn5c09f1rva6bvbq16nhlkblrhscbf69k04ajwdh7y98sw39";
})
];
buildInputs = [ cmake fuse openssl zlib bzip2 libxml2 icu ];
meta = {