1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

games/rezerwar: unbreak on 13+

This commit is contained in:
Dmitry Marakasov 2022-04-13 18:51:28 +03:00
parent bd363520ed
commit 70d74edf9c
2 changed files with 11 additions and 3 deletions

View File

@ -8,9 +8,6 @@ MASTER_SITES= http://tamentis.com/projects/rezerwar/files/ \
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Puzzle game involving organizing blocks with pipes
BROKEN_FreeBSD_13= ld: error: duplicate symbol: screen
BROKEN_FreeBSD_14= ld: error: duplicate symbol: screen
USES= gmake sdl
USE_SDL= sdl mixer
HAS_CONFIGURE= yes

View File

@ -0,0 +1,11 @@
--- src/events.c.orig 2010-05-09 16:25:03 UTC
+++ src/events.c
@@ -38,7 +38,7 @@
extern Board *board;
extern Configuration *conf;
-SDL_Surface *screen;
+extern SDL_Surface *screen;
Cube *speedy; // currently accelerated cube