kyotocabinet: fixup build with gcc6 by a Fedora patch

This commit is contained in:
Vladimír Čunát 2017-08-20 09:34:07 +02:00
parent ff1bb5c854
commit bb24434904
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -20,6 +20,12 @@ stdenv.mkDerivation rec {
substituteInPlace configure --replace stdc++ c++
'';
patches = [(fetchurl {
name = "gcc6.patch";
url = "http://pkgs.fedoraproject.org/rpms/kyotocabinet/raw/master/f/kyotocabinet-1.2.76-gcc6.patch";
sha256 = "1h5k38mkiq7lz8nd2gbn7yvimcz49g3z7phn1cr560bzjih8rz23";
})];
buildInputs = [ zlib ];
meta = with stdenv.lib; {