diff -Nru xjump-2.7.5/debian/changelog xjump-2.7.5/debian/changelog --- xjump-2.7.5/debian/changelog 2012-05-06 03:51:17.000000000 -0300 +++ xjump-2.7.5/debian/changelog 2015-03-31 00:53:04.000000000 -0300 @@ -1,3 +1,10 @@ +xjump (2.7.5-6.2) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix phantom platforms when window is resized + + -- Hugo Musso Gualandi Tue, 31 Mar 2015 00:52:16 -0300 + xjump (2.7.5-6.1) unstable; urgency=low * Non-maintainer upload; ACKed by the maintainer. diff -Nru xjump-2.7.5/debian/patches/07_phantom_platforms.patch xjump-2.7.5/debian/patches/07_phantom_platforms.patch --- xjump-2.7.5/debian/patches/07_phantom_platforms.patch 1969-12-31 21:00:00.000000000 -0300 +++ xjump-2.7.5/debian/patches/07_phantom_platforms.patch 2015-03-31 00:55:34.000000000 -0300 @@ -0,0 +1,23 @@ +Index: xjump-2.7.5/game.c +=================================================================== +--- xjump-2.7.5.orig/game.c ++++ xjump-2.7.5/game.c +@@ -77,7 +77,8 @@ static void draw_hero( void ) + sy = ( pic >> 2 ) * 32; + + XSetClipOrigin( Disp,Gc_mask,Hero.x-sx,Hero.y-sy ); +- XCopyArea( Disp,Char_p,Scr_d,Gc_mask,sx,sy,32,32,Hero.x,Hero.y ); ++ int hh = min(32, HEIGHT*16 - Hero.y); ++ XCopyArea( Disp,Char_p,Scr_d,Gc_mask,sx,sy,32,hh,Hero.x,Hero.y ); + + } + +@@ -275,7 +276,7 @@ void recover_scr( int x, int y, int widt + { + int xl,xr,y2; + +- y2 = (y+height-1) / 16; ++ y2 = min(HEIGHT-1, (y+height-1) / 16); + y /= 16; + + for( ; y <= y2 ; y++ ){ diff -Nru xjump-2.7.5/debian/patches/series xjump-2.7.5/debian/patches/series --- xjump-2.7.5/debian/patches/series 2012-04-12 06:01:25.000000000 -0300 +++ xjump-2.7.5/debian/patches/series 2015-03-31 00:53:43.000000000 -0300 @@ -3,3 +3,4 @@ 03_source_warnings.patch 04_makefile_respect_cflags.patch 05_unneded_deps.patch +07_phantom_platforms.patch