Control: tags 1096357 + patch Control: tags 1096357 + pending Dear maintainer,
I've prepared an NMU for barrage (versioned as 1.0.7-1.1) and uploaded it to DELAYED/14. Please feel free to tell me if I should cancel it. cu Adrian
diffstat for barrage-1.0.7 barrage-1.0.7 changelog | 7 +++++ patches/refresh_screen.patch | 51 +++++++++++++++++++++++++++++++++++++++++++ patches/series | 1 3 files changed, 59 insertions(+) diff -Nru barrage-1.0.7/debian/changelog barrage-1.0.7/debian/changelog --- barrage-1.0.7/debian/changelog 2024-11-08 14:36:19.000000000 +0200 +++ barrage-1.0.7/debian/changelog 2025-09-19 23:11:46.000000000 +0300 @@ -1,3 +1,10 @@ +barrage (1.0.7-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fix incorrect refresh_screen() calls. (Closes: #1096357) + + -- Adrian Bunk <[email protected]> Fri, 19 Sep 2025 23:11:46 +0300 + barrage (1.0.7-1) unstable; urgency=medium * Team upload. diff -Nru barrage-1.0.7/debian/patches/refresh_screen.patch barrage-1.0.7/debian/patches/refresh_screen.patch --- barrage-1.0.7/debian/patches/refresh_screen.patch 1970-01-01 02:00:00.000000000 +0200 +++ barrage-1.0.7/debian/patches/refresh_screen.patch 2025-09-19 23:11:46.000000000 +0300 @@ -0,0 +1,51 @@ +Description: Fix incorrect refresh_screen() calls +Author: Adrian Bunk <[email protected]> +Bug-Debian: https://bugs.debian.org/1096357 + +--- barrage-1.0.7.orig/src/main.c ++++ barrage-1.0.7/src/main.c +@@ -301,7 +301,7 @@ static void fade_screen( int type, int t + SDL_FillRect( screen, 0, 0x0 ); + SDL_SetAlpha( buffer, SDL_SRCALPHA | SDL_RLEACCEL, (int)alpha ); + SDL_BlitSurface( buffer, 0, screen, 0 ); +- refresh_screen(screen); ++ refresh_screen(); + if (delay>0) SDL_Delay(10); + } + +@@ -311,7 +311,7 @@ static void fade_screen( int type, int t + SDL_BlitSurface( buffer, 0, screen, 0 ); + else + SDL_FillRect( screen, 0, 0x0 ); +- refresh_screen(screen); ++ refresh_screen(); + SDL_FreeSurface( buffer ); + } + +@@ -529,7 +529,7 @@ static void game_finalize( int check_cha + sprintf( buf, "Topgunner #%i", rank+1 ); + SDL_WriteTextCenter( ft_chart, screen, 320, 230, buf ); + SDL_WriteTextCenter( ft_chart, screen, 320, 290, "Sign here:" ); +- refresh_screen(screen); ++ refresh_screen(); + SDL_EnterTextCenter( ft_chart, screen, 320, 320, 18, player_name ); + chart_add_entry( player_name, player_score ); + } +@@ -538,7 +538,7 @@ static void game_finalize( int check_cha + ft_chart, screen, 320, 290, "Not enough to be a topgunner!" ); + SDL_WriteTextCenter( + ft_chart, screen, 320, 320, "Go, try again! Dismissed." ); +- refresh_screen(screen); ++ refresh_screen(); + wait_for_input(); + } + chart_save(); +@@ -635,7 +635,7 @@ static void main_loop() + draw_cursor( screen, x, y ); + + /* udpate screen */ +- refresh_screen(screen); ++ refresh_screen(); + frames++; + + /* end game? */ diff -Nru barrage-1.0.7/debian/patches/series barrage-1.0.7/debian/patches/series --- barrage-1.0.7/debian/patches/series 2024-11-08 14:33:38.000000000 +0200 +++ barrage-1.0.7/debian/patches/series 2025-09-19 23:11:46.000000000 +0300 @@ -1,2 +1,3 @@ hiscore.patch desktop-file.patch +refresh_screen.patch

