lifelines: pull pending upstream inclusion fix for ncurses-6.3

Without the fix build on ncurses-6.3 fails as:

screen.c:430:17: error: format not a string literal and no format arguments [-Werror=format-security]
430 | wprintw(win, _(qSdbrdonly));
| ^~~~~~~

+11 -1
+11 -1
pkgs/applications/misc/lifelines/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, gettext, libiconv, bison, ncurses, perl, autoreconfHook }: 1 + { lib, stdenv, fetchFromGitHub, fetchpatch, gettext, libiconv, bison, ncurses, perl, autoreconfHook }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "lifelines"; ··· 10 10 rev = "43f29285ed46fba322b6a14322771626e6b02c59"; 11 11 sha256 = "1agszzlmkxmznpc1xj0vzxkskrcfagfjvqsdyw1yp5yg6bsq272y"; 12 12 }; 13 + 14 + patches = [ 15 + # Fix pending upstream inclusion for ncurses-6.3 support: 16 + # https://github.com/lifelines/lifelines/pull/437 17 + (fetchpatch { 18 + name = "ncurses-6.3.patch"; 19 + url = "https://github.com/lifelines/lifelines/commit/e04ce2794d458c440787c191877fbbc0784447bd.patch"; 20 + sha256 = "1smnz4z5hfjas79bfvlnpw9x8199a5g0p9cvhf17zpcnz1432kg7"; 21 + }) 22 + ]; 13 23 14 24 buildInputs = [ 15 25 gettext