ports/games/sdlroids/files/patch-getargs.h
Robert Clausecker c2358eae97 games/sdlroids: fix build with -fno-common
Turn a variable definition in a header file into a declaration.
This fixes the build on FreeBSD 13+.
2023-04-14 16:16:10 +02:00

8 lines
189 B
C

--- getargs.h.orig 2023-04-13 13:43:47 UTC
+++ getargs.h
@@ -37,4 +37,4 @@
/* getargs() prototype */
void getargs(int, char *[]);
-int flagargs[NUMARGS];
+extern int flagargs[NUMARGS];