@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, boost, cmake, chromaprint, gettext, gst_all_1, liblastfm
1+{ stdenv, fetchurl, fetchpatch, boost, cmake, chromaprint, gettext, gst_all_1, liblastfm
22, qt4, taglib, fftw, glew, qjson, sqlite, libgpod, libplist, usbmuxd, libmtp
33, libpulseaudio, gvfs, libcdio, libechonest, libspotify, pcre, projectm, protobuf
44, qca2, pkgconfig, sparsehash, config, makeWrapper, runCommand, gst_plugins }:
@@ -24,6 +24,11 @@ let
2424 # Required so as to avoid adding libspotify as a build dependency (as it is
2525 # unfree and thus would prevent us from having a free package).
2626 ./clementine-spotify-blob-remove-from-build.patch
27+ (fetchpatch {
28+ # Fix w/gcc7
29+ url = "https://github.com/clementine-player/Clementine/pull/5630.patch";
30+ sha256 = "0px7xp1m4nvrncx8sga1qlxppk562wrk2qqk19iiry84nxg20mk4";
31+ })
2732 ];
2833
2934 nativeBuildInputs = [ cmake pkgconfig ];