acoustidFingerprinter: add patch to fix build with gcc6

This commit is contained in:
Robin Gloster 2017-01-22 19:56:55 +01:00
parent dc52135d55
commit 7a02353e36
No known key found for this signature in database
GPG key ID: 5E4C836C632C2882

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, cmake, pkgconfig, qt4, taglib, chromaprint, ffmpeg }:
{ stdenv, fetchurl, fetchpatch, cmake, pkgconfig, qt4, taglib, chromaprint, ffmpeg }:
stdenv.mkDerivation rec {
name = "acoustid-fingerprinter-${version}";
@ -14,6 +14,11 @@ stdenv.mkDerivation rec {
cmakeFlags = [ "-DTAGLIB_MIN_VERSION=${(builtins.parseDrvName taglib.name).version}" ];
patches = [ (fetchpatch {
url = "https://bitbucket.org/acoustid/acoustid-fingerprinter/commits/632e87969c3a5562a5d4842b03613267ba6236b2/raw";
sha256 = "15hm9knrpqn3yqrwyjz4zh2aypwbcycd0c5svrsy1fb2h2rh05jk";
}) ];
meta = with stdenv.lib; {
homepage = "http://acoustid.org/fingerprinter";
description = "Audio fingerprinting tool using chromaprint";