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:
parent
d94a0f3064
commit
e1c54b9b55
|
@ -8,6 +8,8 @@ stdenv.mkDerivation {
|
|||
sha256 = "15y3hi4dc7f98mhhpms22ahmh8lbzhyqli878z3fgrix4z7vr4fz";
|
||||
};
|
||||
|
||||
patches = [ ./fix-rpws.patch ];
|
||||
|
||||
buildInputs = [libX11 inputproto libXt
|
||||
libXpm libXft fontconfig libXtst
|
||||
xextproto readline];
|
||||
|
|
19
pkgs/applications/window-managers/ratpoison/fix-rpws.patch
Normal file
19
pkgs/applications/window-managers/ratpoison/fix-rpws.patch
Normal 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 );
|
||||
}
|
Loading…
Reference in a new issue