anchor.diff:      echo '#define USE_UTMP_SETGID 1'
     '';
   
  +  postInstall = ''
  +    for bin in $out/bin/*; do
  +      wrapProgram $bin --set XAPPLRESDIR $out/lib/X11/app-defaults/
  +    done
  +  '';
  +
     meta = {
       homepage = http://invisible-island.net/xterm;
       license = "BSD";
  
positive.code: 
    buildInputs =
      [ xorg.libXaw xorg.xproto xorg.libXt xorg.libXext xorg.libX11 xorg.libSM xorg.libICE
        ncurses freetype fontconfig pkgconfig xorg.libXft xorg.luit
      ];
  
    patches = [
  
negative.code: { stdenv, fetchurl, xorg, ncurses, freetype, fontconfig, pkgconfig, makeWrapper
  , enableDecLocator ? true
  }:
  
  