Fix "-fno-common" build
This commit is contained in:
parent
b779695ef4
commit
b9d5175add
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.8 2019/07/12 20:46:07 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.9 2021/02/01 17:40:49 kn Exp $
|
||||
|
||||
COMMENT= electronic periodic table of the elements
|
||||
|
||||
DISTNAME= epte-2.0.8
|
||||
CATEGORIES= education
|
||||
REVISION= 0
|
||||
REVISION= 1
|
||||
|
||||
HOMEPAGE= http://www.toddmiller.com/epte/
|
||||
|
||||
|
16
education/epte/patches/patch-endprog_c
Normal file
16
education/epte/patches/patch-endprog_c
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-endprog_c,v 1.1 2021/02/01 17:40:49 kn Exp $
|
||||
|
||||
Fix "-fno-common" build.
|
||||
|
||||
Index: endprog.c
|
||||
--- endprog.c.orig
|
||||
+++ endprog.c
|
||||
@@ -293,7 +293,7 @@ modification follow.
|
||||
#include <stdlib.h>
|
||||
#include "periodic.h"
|
||||
|
||||
-FILE *Audio;
|
||||
+extern FILE *Audio;
|
||||
|
||||
void endprog (int status)
|
||||
{
|
Loading…
Reference in New Issue
Block a user