3
0
Fork 0
forked from mirrors/nixpkgs

ratpoison: Fixed bug in rpws. Reported upstream too, but got no response.

svn path=/nixpkgs/trunk/; revision=12298
This commit is contained in:
Peter Simons 2008-07-07 11:47:48 +00:00
parent d94a0f3064
commit e1c54b9b55
2 changed files with 21 additions and 0 deletions

View file

@ -8,6 +8,8 @@ stdenv.mkDerivation {
sha256 = "15y3hi4dc7f98mhhpms22ahmh8lbzhyqli878z3fgrix4z7vr4fz";
};
patches = [ ./fix-rpws.patch ];
buildInputs = [libX11 inputproto libXt
libXpm libXft fontconfig libXtst
xextproto readline];

View file

@ -0,0 +1,19 @@
*** ratpoison-1.4.3/contrib/rpws.orig 1970-01-01 01:00:00.000000000 +0100
--- ratpoison-1.4.3/contrib/rpws 1970-01-01 01:00:00.000000000 +0100
***************
*** 60,66 ****
rp_call( "only" );
my $i;
! for( my $i = 1; $i < $num; $i++ )
{
ws_init_ws( $i );
}
--- 60,66 ----
rp_call( "only" );
my $i;
! for( my $i = 1; $i <= $num; $i++ )
{
ws_init_ws( $i );
}