hstr: pull pending upstream inclusion fix for ncurses-6.3

Without the fix build on ncurses-6.3 fails as:

hstr.c:743:44: error: format not a string literal and no format arguments [-Werror=format-security]
743 | mvprintw(hstr->promptYNotification, 0, screenLine);
| ^~~~~~~~~~

+11 -1
+11 -1
pkgs/applications/misc/hstr/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, readline, ncurses 1 + { lib, stdenv, fetchFromGitHub, fetchpatch, readline, ncurses 2 2 , autoreconfHook, pkg-config, gettext }: 3 3 4 4 stdenv.mkDerivation rec { ··· 11 11 rev = version; 12 12 sha256 = "1chmfdi1dwg3sarzd01nqa82g65q7wdr6hrnj96l75vikwsg986y"; 13 13 }; 14 + 15 + patches = [ 16 + # pull pending upstream inclusion fix for ncurses-6.3: 17 + # https://github.com/dvorka/hstr/pull/435 18 + (fetchpatch { 19 + name = "ncurses-6.3.patch"; 20 + url = "https://github.com/dvorka/hstr/commit/7fbd852c464ae3cfcd2f4fed9c62a21fb84c5439.patch"; 21 + sha256 = "15f0ja4bsh4jnchcg0ray8ijpdraag7k07ss87a6ymfs1rg6i0jr"; 22 + }) 23 + ]; 14 24 15 25 nativeBuildInputs = [ autoreconfHook pkg-config ]; 16 26 buildInputs = [ readline ncurses gettext ];