aboutsummaryrefslogtreecommitdiff
path: root/games/xrally
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2021-02-11 13:42:53 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2021-02-11 13:42:53 +0000
commit9adc4dd5eda71a607ea93569b24a8ee5dd31e0ad (patch)
tree586dce952e3e9928f8529d0d7eaaa843f36e17f6 /games/xrally
parent1ee23d4a360d737ad6435097d8acba86840862ca (diff)
downloadports-9adc4dd5eda71a607ea93569b24a8ee5dd31e0ad.tar.gz
ports-9adc4dd5eda71a607ea93569b24a8ee5dd31e0ad.zip
Notes
Diffstat (limited to 'games/xrally')
-rw-r--r--games/xrally/Makefile3
-rw-r--r--games/xrally/files/patch-game.c15
2 files changed, 12 insertions, 6 deletions
diff --git a/games/xrally/Makefile b/games/xrally/Makefile
index f8c3160887b3..6ded99eedd41 100644
--- a/games/xrally/Makefile
+++ b/games/xrally/Makefile
@@ -11,9 +11,6 @@ DISTNAME= ${PORTNAME}-1.1
MAINTAINER= ports@FreeBSD.org
COMMENT= Clone of the classic Rally X arcade game
-BROKEN_FreeBSD_13= duplicate symbol: radar
-BROKEN_FreeBSD_14= duplicate symbol: radar
-
WRKSRC= ${WRKDIR}/${PORTNAME}
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
diff --git a/games/xrally/files/patch-game.c b/games/xrally/files/patch-game.c
index 2430b44c8973..5156051ebd9e 100644
--- a/games/xrally/files/patch-game.c
+++ b/games/xrally/files/patch-game.c
@@ -1,6 +1,15 @@
---- game.c.orig 2013-10-18 03:58:23.000000000 +1100
-+++ game.c 2013-10-18 04:00:19.000000000 +1100
-@@ -59,7 +59,6 @@
+--- game.c.orig 2001-01-01 18:42:51 UTC
++++ game.c
+@@ -28,7 +28,7 @@
+
+ // Radar
+
+-radarStruct radar;
++extern radarStruct radar;
+
+ // Pixmaps
+ Pixmap *tile;
+@@ -59,7 +59,6 @@ extern bool ENDMAP;
extern int mapResult;
extern bool crashed;
extern aiStruct AI;