games/sdlroids: fix build with -fno-common
This commit is contained in:
parent
d4f3b5b551
commit
0ef24f0fc9
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.21 2019/07/12 21:02:21 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.22 2021/02/15 16:47:31 naddy Exp $
|
||||
|
||||
COMMENT= essentially an Asteroids clone
|
||||
|
||||
DISTNAME= sdlroids-1.3.4
|
||||
REVISION = 2
|
||||
REVISION = 3
|
||||
CATEGORIES= games
|
||||
|
||||
HOMEPAGE= http://sourceforge.net/projects/sdlroids/
|
||||
|
11
games/sdlroids/patches/patch-getargs_h
Normal file
11
games/sdlroids/patches/patch-getargs_h
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-getargs_h,v 1.1 2021/02/15 16:47:31 naddy Exp $
|
||||
|
||||
Index: getargs.h
|
||||
--- getargs.h.orig
|
||||
+++ getargs.h
|
||||
@@ -37,4 +37,4 @@
|
||||
|
||||
/* getargs() prototype */
|
||||
void getargs(int, char *[]);
|
||||
-int flagargs[NUMARGS];
|
||||
+extern int flagargs[NUMARGS];
|
Loading…
Reference in New Issue
Block a user