forked from mirrors/nixpkgs
Merge pull request #144212 from trofi/fix-aewan-on-ncurses-6.3
aewan: fix build against ncurses-6.3
This commit is contained in:
commit
ea5c3d756e
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, fetchurl, zlib, ncurses }:
|
||||
{ lib, stdenv, fetchurl, fetchpatch, zlib, ncurses }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "aewan";
|
||||
|
@ -9,6 +9,17 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "5266dec5e185e530b792522821c97dfa5f9e3892d0dca5e881d0c30ceac21817";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Pull patch pending upstream inclusion:
|
||||
# https://sourceforge.net/p/aewan/bugs/13/
|
||||
(fetchpatch {
|
||||
url = "https://sourceforge.net/p/aewan/bugs/13/attachment/aewan-cvs-ncurses-6.3.patch";
|
||||
sha256 = "0pgpk1l3d6d5y37lvvavipwnmv9gmpfdy21jkz6baxhlkgf43r4p";
|
||||
# patch is in CVS diff format, add 'a/' prefix
|
||||
extraPrefix = "";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [ zlib ncurses ];
|
||||
|
||||
meta = {
|
||||
|
|
Loading…
Reference in a new issue