Merge pull request #144307 from trofi/fix-bemenu-for-ncurses-6.3

bemenu: fix build against upcoming ncurses-6.3

authored by Ryan Burns and committed by GitHub f089c5c7 e14d9a0a

+10 -1
+10 -1
pkgs/applications/misc/bemenu/default.nix
··· 1 - { stdenv, lib, fetchFromGitHub, cairo, libxkbcommon 1 + { stdenv, lib, fetchFromGitHub, fetchpatch, cairo, libxkbcommon 2 2 , pango, fribidi, harfbuzz, pcre, pkg-config 3 3 , ncursesSupport ? true, ncurses ? null 4 4 , waylandSupport ? true, wayland ? null, wayland-protocols ? null ··· 19 19 rev = version; 20 20 sha256 = "sha256-U4IMfDvQ0rfEJhE3Uext2c/Cs0mjy1tw+k8uk441Ag8="; 21 21 }; 22 + 23 + patches = [ 24 + # Pull upstream fix for build against ncurses-6.3 25 + (fetchpatch { 26 + name = "ncurses-6.3.patch"; 27 + url = "https://github.com/Cloudef/bemenu/commit/d31164db756989579468946aba62969e42c7ed28.patch"; 28 + sha256 = "sha256-oyndQI7SaR8cK0IO5wIIxMpmakhfUzwUqLIKRbPkEdw="; 29 + }) 30 + ]; 22 31 23 32 nativeBuildInputs = [ pkg-config pcre ]; 24 33