patch pinentry to work with ncurses
This commit is contained in:
parent
33de26c029
commit
7e4f41b16f
|
@ -19,6 +19,10 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ libcap gtk2 ncurses qt4 ];
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace pinentry/pinentry-curses.c --replace ncursesw ncurses
|
||||
'';
|
||||
|
||||
# configure cannot find moc on its own
|
||||
preConfigure = stdenv.lib.optionalString (qt4 != null) ''
|
||||
export QTDIR="${qt4}"
|
||||
|
|
Loading…
Reference in New Issue