Add fix for -fno-common
Taken from upstream: https://github.com/Neverball/neverball/pull/198
This commit is contained in:
parent
7d40b29522
commit
80d4fd60ce
@ -1,11 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.22 2020/03/20 16:44:23 naddy Exp $
|
||||
# $OpenBSD: Makefile,v 1.23 2021/01/30 07:00:05 benoit Exp $
|
||||
|
||||
COMMENT-main = tilt the floor to roll a ball through an obstacle course
|
||||
COMMENT-data = data for Neverball/Neverputt
|
||||
BROKEN-hppa = SIGILL on data/ball/snowglobe/snowglobe-inner.so
|
||||
|
||||
V = 1.6.0
|
||||
REVISION-main = 2
|
||||
REVISION-main = 3
|
||||
DISTNAME = neverball-$V
|
||||
PKGNAME-main = neverball-$V
|
||||
PKGNAME-data = neverball-data-$V
|
||||
|
15
games/neverball/patches/patch-share_text_h
Normal file
15
games/neverball/patches/patch-share_text_h
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-share_text_h,v 1.1 2021/01/30 07:00:05 benoit Exp $
|
||||
|
||||
Fix -fno-common build failure.
|
||||
|
||||
--- share/text.h.orig Sat Jan 30 07:41:12 2021
|
||||
+++ share/text.h Sat Jan 30 07:41:30 2021
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
||||
-char text_input[MAXSTR];
|
||||
+extern char text_input[MAXSTR];
|
||||
|
||||
void text_input_start(void (*cb)(int typing));
|
||||
void text_input_stop(void);
|
Loading…
x
Reference in New Issue
Block a user