Merge pull request #144212 from trofi/fix-aewan-on-ncurses-6.3

aewan: fix build against ncurses-6.3

authored by

Ryan Burns and committed by
GitHub
ea5c3d75 8726c708

+12 -1
+12 -1
pkgs/applications/editors/aewan/default.nix
··· 1 - { lib, stdenv, fetchurl, zlib, ncurses }: 1 + { lib, stdenv, fetchurl, fetchpatch, zlib, ncurses }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "aewan"; ··· 8 8 url = "mirror://sourceforge/aewan/${pname}-${version}.tar.gz"; 9 9 sha256 = "5266dec5e185e530b792522821c97dfa5f9e3892d0dca5e881d0c30ceac21817"; 10 10 }; 11 + 12 + patches = [ 13 + # Pull patch pending upstream inclusion: 14 + # https://sourceforge.net/p/aewan/bugs/13/ 15 + (fetchpatch { 16 + url = "https://sourceforge.net/p/aewan/bugs/13/attachment/aewan-cvs-ncurses-6.3.patch"; 17 + sha256 = "0pgpk1l3d6d5y37lvvavipwnmv9gmpfdy21jkz6baxhlkgf43r4p"; 18 + # patch is in CVS diff format, add 'a/' prefix 19 + extraPrefix = ""; 20 + }) 21 + ]; 11 22 12 23 buildInputs = [ zlib ncurses ]; 13 24