Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Sep 2020 11:03:30 +0000 (UTC)
From:      =?UTF-8?Q?Stefan_E=c3=9fer?= <se@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r550680 - in head/games/polyglot: . files
Message-ID:  <202009301103.08UB3UBn024814@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009301103.08UB3UBn024814>