Merge pull request #144397 from trofi/fix-mcabber-for-ncurses-6.3

mcabber: pull upstream fix for upcoming ncurses-6.3

authored by

Ryan Burns and committed by
GitHub
9b89af76 2cd27745

+11 -1
+11 -1
pkgs/applications/networking/instant-messengers/mcabber/default.nix
··· 1 - { lib, stdenv, fetchurl, openssl, ncurses, pkg-config, glib, loudmouth, libotr 1 + { lib, stdenv, fetchurl, fetchpatch, openssl, ncurses, pkg-config, glib, loudmouth, libotr 2 2 , gpgme 3 3 }: 4 4 ··· 10 10 url = "https://mcabber.com/files/mcabber-${version}.tar.bz2"; 11 11 sha256 = "0q1i5acyghsmzas88qswvki8kkk2nfpr8zapgnxbcd3lwcxl38f4"; 12 12 }; 13 + 14 + patches = [ 15 + # Pull upstream patch for ncurses-6.3. 16 + (fetchpatch { 17 + name = "ncurses-6.3.patch"; 18 + url = "https://github.com/McKael/mcabber/commit/5a0893d69023b77b7671731defbdca5d47731130.patch"; 19 + sha256 = "01bc23z0mva9l9jv587sq2r9w3diachgkmb9ad99hlzgj02fmq4v"; 20 + stripLen = 1; 21 + }) 22 + ]; 13 23 14 24 nativeBuildInputs = [ pkg-config ]; 15 25 buildInputs = [ openssl ncurses glib loudmouth libotr gpgme ];