Merge #148945: pamix: fix build with ncurses-6.3

+15 -1
+15 -1
pkgs/applications/audio/pamix/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub 1 + { lib, stdenv, fetchFromGitHub, fetchpatch 2 2 , pkg-config, cmake 3 3 , libpulseaudio, ncurses }: 4 4 ··· 12 12 rev = version; 13 13 sha256 = "1d44ggnwkf2gff62959pj45v3a2k091q8v154wc5pmzamam458wp"; 14 14 }; 15 + 16 + patches = [ 17 + # ncurses-6.3 support, included in next release 18 + (fetchpatch { 19 + name = "ncurses-6.3-p1.patch"; 20 + url = "https://github.com/patroclos/PAmix/commit/3400b9c048706c572373e4617b4d5fcdb8dd2505.patch"; 21 + sha256 = "0rw56a844pz876ad9p8hfvn2fkd5rh29gpp47h55g08spf0vwb2z"; 22 + }) 23 + (fetchpatch { 24 + name = "ncurses-6.3-p2.patch"; 25 + url = "https://github.com/patroclos/PAmix/commit/5ef67fc5ef6fc0dc0b48ff07ba48093881561d9c.patch"; 26 + sha256 = "0f8shpdv2swxdz04bkqgmkvl6c17r5mn4slzr7xd6pvw8hh51p4h"; 27 + }) 28 + ]; 15 29 16 30 preConfigure = '' 17 31 substituteInPlace CMakeLists.txt --replace "/etc" "$out/etc/xdg"