summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2020-09-30 11:03:29 +0000
committerStefan Eßer <se@FreeBSD.org>2020-09-30 11:03:29 +0000
commitb0889bbad1e666c600d2cd542cb479face225a72 (patch)
tree27cca2ec7bc61c4dc7cd3437c43663568c4e4ee0
parentFix build with -fno-common (diff)
Fix build with -fno-common
Notes
Notes: svn path=/head/; revision=550680
-rw-r--r--games/polyglot/Makefile2
-rw-r--r--games/polyglot/files/patch-pgheader.h13
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.