fbterm: fix build
This commit is contained in:
parent
c643759d41
commit
76cec2dfa6
@ -9,7 +9,6 @@ let
|
||||
url="http://fbterm.googlecode.com/files/fbterm-1.7.0.tar.gz";
|
||||
sha256="0pciv5by989vzvjxsv1jsv4bdp4m8j0nfbl29jm5fwi12w4603vj";
|
||||
};
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [gpm freetype fontconfig ncurses libx86];
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
@ -17,7 +16,10 @@ stdenv.mkDerivation {
|
||||
src = fetchurl {
|
||||
inherit (s) url sha256;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
inherit buildInputs;
|
||||
|
||||
preConfigure = ''
|
||||
sed -e '/ifdef SYS_signalfd/atypedef long long loff_t;' -i src/fbterm.cpp
|
||||
sed -e '/install-exec-hook:/,/^[^\t]/{d}; /.NOEXPORT/iinstall-exec-hook:\
|
||||
|
Loading…
Reference in New Issue
Block a user