* xterm: fix build and update to version 268.

svn path=/nixpkgs/branches/x-updates/; revision=25949
This commit is contained in:
Eelco Dolstra 2011-02-14 10:09:01 +00:00
parent 47aa6890d2
commit 8c58edf34d

View File

@ -1,11 +1,11 @@
{ stdenv, fetchurl, xorg, ncurses, freetype, pkgconfig }:
stdenv.mkDerivation rec {
name = "xterm-231";
name = "xterm-268";
src = fetchurl {
url = "ftp://invisible-island.net/xterm/${name}.tgz";
sha256 = "0qlz5nkdqkahdg9kbd1ni96n69srj1pd9yggwrw3z0kghaajb2sr";
sha256 = "1hr886mgr74k146fjppnq1pmg6f95l00v88cfwac3rms5lx7ckap";
};
buildInputs =
@ -20,6 +20,9 @@ stdenv.mkDerivation rec {
--enable-mini-luit --with-tty-group=tty
'';
# Work around broken "plink.sh".
NIX_LDFLAGS = "-lXmu -lXt -lICE -lX11";
# Hack to get xterm built with the feature of releasing a possible setgid of 'utmp',
# decided by the sysadmin to allow the xterm reporting to /var/run/utmp
# If we used the configure option, that would have affected the xterm installation,