Merge pull request #146559 from trofi/fix-sngrep-for-ncurses-6.3

sngrep: pull upstream fix for ncurses-6.3

authored by ajs124 and committed by GitHub 91ec4e28 63da4b6e

+11
+11
pkgs/applications/networking/sniffers/sngrep/default.nix
··· 3 , autoconf 4 , automake 5 , fetchFromGitHub 6 , libpcap 7 , ncurses 8 , openssl ··· 19 rev = "v${version}"; 20 sha256 = "sha256-92wPRDFSoIOYFv3XKdsuYH8j3D8kXyg++q6VpIIMGDg="; 21 }; 22 23 nativeBuildInputs = [ 24 autoconf
··· 3 , autoconf 4 , automake 5 , fetchFromGitHub 6 + , fetchpatch 7 , libpcap 8 , ncurses 9 , openssl ··· 20 rev = "v${version}"; 21 sha256 = "sha256-92wPRDFSoIOYFv3XKdsuYH8j3D8kXyg++q6VpIIMGDg="; 22 }; 23 + 24 + patches = [ 25 + # Pull fix pending upstream inclusion for ncurses-6.3 support: 26 + # https://github.com/irontec/sngrep/pull/382 27 + (fetchpatch { 28 + name = "ncurses-6.3.patch"; 29 + url = "https://github.com/irontec/sngrep/commit/d09e1c323dbd7fc899e8985899baec568f045601.patch"; 30 + sha256 = "sha256-nY5i3WQh/oKboEAh4wvxF5Imf2BHYEKdFj+WF1M3SSA="; 31 + }) 32 + ]; 33 34 nativeBuildInputs = [ 35 autoconf