mp3blaster: pull pending upstream inclusion fix for ncurses-6.3

Without the fix build on ncurses-6.3 fails as:

nmixer.cc:219:26: error: format not a string literal and no format arguments [-Werror=format-security]
219 | mvwprintw(mixwin, my_y - 1, my_x, (char*)source);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

+11 -1
+11 -1
pkgs/applications/audio/mp3blaster/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, ncurses, libvorbis, SDL }: 1 + { lib, stdenv, fetchFromGitHub, fetchpatch, ncurses, libvorbis, SDL }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "mp3blaster"; ··· 10 10 rev = "v${version}"; 11 11 sha256 = "0pzwml3yhysn8vyffw9q9p9rs8gixqkmg4n715vm23ib6wxbliqs"; 12 12 }; 13 + 14 + patches = [ 15 + # Fix pending upstream inclusion for ncurses-6.3 support: 16 + # https://github.com/stragulus/mp3blaster/pull/8 17 + (fetchpatch { 18 + name = "ncurses-6.3.patch"; 19 + url = "https://github.com/stragulus/mp3blaster/commit/62168cba5eaba6ffe56943552837cf033cfa96ed.patch"; 20 + sha256 = "088l27kl1l58lwxfnw5x2n64sdjy925ycphni3icwag7zvpj0xz1"; 21 + }) 22 + ]; 13 23 14 24 buildInputs = [ 15 25 ncurses