Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Apr 2022 18:46:26 GMT
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 70d74edf9c05 - main - games/rezerwar: unbreak on 13+
Message-ID:  <202204131846.23DIkQ48022372@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by amdmi3:

URL: https://cgit.FreeBSD.org/ports/commit/?id=70d74edf9c059660e29f403edde40392fd4540ce

commit 70d74edf9c059660e29f403edde40392fd4540ce
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2022-04-13 15:51:28 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-04-13 18:41:55 +0000

    games/rezerwar: unbreak on 13+
---
 games/rezerwar/Makefile                 |  3 ---
 games/rezerwar/files/patch-src_events.c | 11 +++++++++++
 2 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/games/rezerwar/Makefile b/games/rezerwar/Makefile
index 5787b0942725..88a3e24b4168 100644
--- a/games/rezerwar/Makefile
+++ b/games/rezerwar/Makefile
@@ -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
diff --git a/games/rezerwar/files/patch-src_events.c b/games/rezerwar/files/patch-src_events.c
new file mode 100644
index 000000000000..43900ae63816
--- /dev/null
+++ b/games/rezerwar/files/patch-src_events.c
@@ -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
+ 
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204131846.23DIkQ48022372>