mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
Fix build with -fno-common
This commit is contained in:
parent
16def30775
commit
b0889bbad1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=550680
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
PORTNAME= polyglot
|
PORTNAME= polyglot
|
||||||
DISTVERSION= 1.4.70b
|
DISTVERSION= 1.4.70b
|
||||||
#PORTREVISION= 0
|
PORTREVISION= 1
|
||||||
CATEGORIES= games
|
CATEGORIES= games
|
||||||
MASTER_SITES= http://hardy.uhasselt.be/Toga/polyglot-release/ \
|
MASTER_SITES= http://hardy.uhasselt.be/Toga/polyglot-release/ \
|
||||||
http://nivit.altervista.org/FreeBSD/ports/distfiles/
|
http://nivit.altervista.org/FreeBSD/ports/distfiles/
|
||||||
|
13
games/polyglot/files/patch-pgheader.h
Normal file
13
games/polyglot/files/patch-pgheader.h
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
--- pgheader.h.orig 2012-09-20 11:50:03 UTC
|
||||||
|
+++ pgheader.h
|
||||||
|
@@ -10,8 +10,8 @@
|
||||||
|
#define PGHEADER_BAD_HEADER 6
|
||||||
|
|
||||||
|
|
||||||
|
-const char * pgheader_version;
|
||||||
|
-const char * pgheader_magic;
|
||||||
|
+extern const char * pgheader_version;
|
||||||
|
+extern const char * pgheader_magic;
|
||||||
|
|
||||||
|
/* This does some heuristic tests to make it reasonably sure we are dealing
|
||||||
|
with a Polyglot book.
|
Loading…
Reference in New Issue
Block a user