cantata: fix segfault on qt 5.10

+10 -1
+10 -1
pkgs/applications/audio/cantata/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, pkgconfig, vlc 1 + { stdenv, fetchFromGitHub, fetchpatch, cmake, pkgconfig, vlc 2 2 , qtbase, qtmultimedia, qtsvg, qttools 3 3 4 4 # Cantata doesn't build with cdparanoia enabled so we disable that ··· 45 45 sha256 = "1b633chgfs8rya78bzzck5zijna15d1y4nmrz4dcjp862ks5y5q6"; 46 46 }; 47 47 48 + patches = [ 49 + # patch is needed for 2.2.0 with qt 5.10 (doesn't harm earlier versions) 50 + (fetchpatch { 51 + url = "https://github.com/CDrummond/cantata/commit/4da7a9128f2c5eaf23ae2a5006d300dc4f21fc6a.patch"; 52 + sha256 = "1z21ax3542z7hm628xv110lmplaspb407jzgfk16xkphww5qyphj"; 53 + name = "fix_qt_510.patch"; 54 + }) 55 + 56 + ]; 48 57 buildInputs = [ vlc qtbase qtmultimedia qtsvg ] 49 58 ++ stdenv.lib.optionals withTaglib [ taglib taglib_extras ] 50 59 ++ stdenv.lib.optionals withReplaygain [ ffmpeg speex mpg123 ]