Updating fbterm.

svn path=/nixpkgs/trunk/; revision=31399
This commit is contained in:
Lluís Batlle i Rossell 2012-01-07 14:41:04 +00:00
parent 4ae99c2e02
commit 80717672b4
2 changed files with 8 additions and 8 deletions

View file

@ -1,9 +1,9 @@
rec { rec {
version="1.5"; version="1.7";
name="fbterm-1.5"; name="fbterm-1.7";
hash="05qzc6g9a79has3cy7dlw70n4pn13r552a2i1g4xy23acnpvvjsb"; hash="19qjb2zb4gwr1jlybmalaw3y3zybvc8vliwj85dfabmill1k1afh";
url="http://fbterm.googlecode.com/files/fbterm-${version}.tar.gz"; url="http://fbterm.googlecode.com/files/fbterm-${version}.tar.gz";
advertisedUrl="http://fbterm.googlecode.com/files/fbterm-1.5.tar.gz"; advertisedUrl="http://fbterm.googlecode.com/files/fbterm-1.7.tar.gz";
} }

View file

@ -3,9 +3,9 @@
{ stdenv, fetchurl, gpm, freetype, fontconfig, pkgconfig, ncurses }: { stdenv, fetchurl, gpm, freetype, fontconfig, pkgconfig, ncurses }:
let let
version="1.5"; version="1.7";
name="fbterm-1.5"; name="fbterm-1.7";
hash="05qzc6g9a79has3cy7dlw70n4pn13r552a2i1g4xy23acnpvvjsb"; hash="19qjb2zb4gwr1jlybmalaw3y3zybvc8vliwj85dfabmill1k1afh";
url="http://fbterm.googlecode.com/files/fbterm-${version}.tar.gz"; url="http://fbterm.googlecode.com/files/fbterm-${version}.tar.gz";
in in
@ -20,7 +20,7 @@ stdenv.mkDerivation {
buildNativeInputs = [ ncurses ]; buildNativeInputs = [ ncurses ];
buildInputs = [ gpm freetype fontconfig pkgconfig ]; buildInputs = [ gpm freetype fontconfig pkgconfig ];
patchPhase = '' postPatch = ''
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:\