diff options
author | Stefan Eßer <se@FreeBSD.org> | 2020-09-30 11:03:29 +0000 |
---|---|---|
committer | Stefan Eßer <se@FreeBSD.org> | 2020-09-30 11:03:29 +0000 |
commit | b0889bbad1e666c600d2cd542cb479face225a72 (patch) | |
tree | 27cca2ec7bc61c4dc7cd3437c43663568c4e4ee0 /games | |
parent | 16def30775b1e0583957e90af337799b7bc2f177 (diff) |
Fix build with -fno-common
Notes
Notes:
svn path=/head/; revision=550680
Diffstat (limited to 'games')
-rw-r--r-- | games/polyglot/Makefile | 2 | ||||
-rw-r--r-- | games/polyglot/files/patch-pgheader.h | 13 |
2 files changed, 14 insertions, 1 deletions
diff --git a/games/polyglot/Makefile b/games/polyglot/Makefile index b54750fe2b64..b9060b2d6821 100644 --- a/games/polyglot/Makefile +++ b/games/polyglot/Makefile @@ -3,7 +3,7 @@ PORTNAME= polyglot DISTVERSION= 1.4.70b -#PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= http://hardy.uhasselt.be/Toga/polyglot-release/ \ http://nivit.altervista.org/FreeBSD/ports/distfiles/ diff --git a/games/polyglot/files/patch-pgheader.h b/games/polyglot/files/patch-pgheader.h new file mode 100644 index 000000000000..5213757699c3 --- /dev/null +++ b/games/polyglot/files/patch-pgheader.h @@ -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. |