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