View | Details | Raw Unified | Return to bug 264998
Collapse All | Expand All

(-)b/games/luola/Makefile (-3 lines)
Lines 14-22 COMMENT= 2D multiplayer cave-flying game Link Here
14
LICENSE=	GPLv2+
14
LICENSE=	GPLv2+
15
LICENSE_FILE=	${WRKSRC}/COPYING
15
LICENSE_FILE=	${WRKSRC}/COPYING
16
16
17
BROKEN_FreeBSD_13=	ld: error: duplicate symbol: Pilot
18
BROKEN_FreeBSD_14=	ld: error: duplicate symbol: Pilot
19
20
GNU_CONFIGURE=	yes
17
GNU_CONFIGURE=	yes
21
USES=		gmake sdl
18
USES=		gmake sdl
22
USE_SDL=	sdl image ttf
19
USE_SDL=	sdl image ttf
(-)b/games/luola/files/patch-src__fs.h (-1 / +1 lines)
Lines 4-10 Link Here
4
 #define FILESYSTEM_H
4
 #define FILESYSTEM_H
5
 
5
 
6
 #include <stdio.h>
6
 #include <stdio.h>
7
+#include <sys/syslimits.h>
7
+#include <limits.h>
8
 #include "SDL.h"
8
 #include "SDL.h"
9
 
9
 
10
 #include "ldat.h"
10
 #include "ldat.h"
(-)b/games/luola/files/patch-src_pilot.c (+11 lines)
Added Link Here
1
--- src/pilot.c.orig	2022-07-02 17:04:58 UTC
2
+++ src/pilot.c
3
@@ -43,6 +43,8 @@
4
 #define PILOT_STD_RADIUS 4.1 /* Normal radius for pilot */
5
 #define PILOT_PAR_RADIUS 8.0 /* Parachuting radius for pilot */
6
 
7
+struct Pilot Pilot = {};
8
+
9
 /* List of active pilots */
10
 struct dllist *pilot_list;
11
 
(-)b/games/luola/files/patch-src_pilot.h (-1 / +11 lines)
Added Link Here
0
- 
1
--- src/pilot.h.orig	2022-07-02 17:04:35 UTC
2
+++ src/pilot.h
3
@@ -34,7 +34,7 @@ struct Ship;
4
 
5
 #define PARACHUTE_FRAME 2
6
 
7
-struct Pilot {
8
+extern struct Pilot {
9
     struct Walker walker;       /* inherits Walker */
10
     SDL_Surface *sprite[3];     /* Normal,Normal2, Parachute */
11
     Vector attack_vector;       /* Direction where gun is pointed to */

Return to bug 264998