Merge pull request #144592 from trofi/fix-toxic-for-ncurses-6.3

toxic: fix build against upcoming ncurses-6.3

authored by

Ryan Burns and committed by
GitHub
e7028069 377c617d

+10 -1
+10 -1
pkgs/applications/networking/instant-messengers/toxic/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, libsodium, ncurses, curl 2 , libtoxcore, openal, libvpx, freealut, libconfig, pkg-config, libopus 3 , qrencode, gdk-pixbuf, libnotify }: 4 ··· 12 rev = "v${version}"; 13 sha256 = "sha256-5jLXXI+IMrYa7ZtdMjJrah1zB5TJ3GdHfvcMd1TYE4E="; 14 }; 15 16 makeFlags = [ "PREFIX=$(out)"]; 17 installFlags = [ "PREFIX=$(out)"];
··· 1 + { lib, stdenv, fetchFromGitHub, fetchpatch, libsodium, ncurses, curl 2 , libtoxcore, openal, libvpx, freealut, libconfig, pkg-config, libopus 3 , qrencode, gdk-pixbuf, libnotify }: 4 ··· 12 rev = "v${version}"; 13 sha256 = "sha256-5jLXXI+IMrYa7ZtdMjJrah1zB5TJ3GdHfvcMd1TYE4E="; 14 }; 15 + 16 + patches = [ 17 + # Pending for upstream inclusion fix for ncurses-6.3 compatibility. 18 + (fetchpatch { 19 + name = "ncurses-6.3.patch"; 20 + url = "https://github.com/JFreegman/toxic/commit/41e93adbdbd56db065166af5a6676a7996e9e451.patch"; 21 + sha256 = "sha256-LYEseB5FmXFNifa1RZUxhkXeWlkEEMm3ASD55IoUPa0="; 22 + }) 23 + ]; 24 25 makeFlags = [ "PREFIX=$(out)"]; 26 installFlags = [ "PREFIX=$(out)"];