svn commit: r550680 - in head/games/polyglot: . files
Stefan Eßer
se at FreeBSD.org
Wed Sep 30 11:03:30 UTC 2020
Author: se
Date: Wed Sep 30 11:03:29 2020
New Revision: 550680
URL: https://svnweb.freebsd.org/changeset/ports/550680
Log:
Fix build with -fno-common
Added:
head/games/polyglot/files/patch-pgheader.h (contents, props changed)
Modified:
head/games/polyglot/Makefile
Modified: head/games/polyglot/Makefile
==============================================================================
--- head/games/polyglot/Makefile Wed Sep 30 10:58:50 2020 (r550679)
+++ head/games/polyglot/Makefile Wed Sep 30 11:03:29 2020 (r550680)
@@ -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/
Added: head/games/polyglot/files/patch-pgheader.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/polyglot/files/patch-pgheader.h Wed Sep 30 11:03:29 2020 (r550680)
@@ -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.
More information about the svn-ports-all
mailing list