public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-board/polyglot/files/, games-board/polyglot/
Date: Tue, 28 Jan 2020 21:24:44 +0000 (UTC)	[thread overview]
Message-ID: <1580246659.0ffcd31e40170e29a86eb0aef5798fff4a5549e8.ulm@gentoo> (raw)

commit:     0ffcd31e40170e29a86eb0aef5798fff4a5549e8
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 28 21:23:45 2020 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue Jan 28 21:24:19 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ffcd31e

games-board/polyglot: Fix compilation with -fno-common.

Closes: https://bugs.gentoo.org/706976
Package-Manager: Portage-2.3.85, Repoman-2.3.20
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 .../polyglot/files/polyglot-1.4.70b-no-common.patch        | 14 ++++++++++++++
 ...lyglot-1.4.70b-r2.ebuild => polyglot-1.4.70b-r3.ebuild} |  5 +++--
 2 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/games-board/polyglot/files/polyglot-1.4.70b-no-common.patch b/games-board/polyglot/files/polyglot-1.4.70b-no-common.patch
new file mode 100644
index 00000000000..96878a8bfc6
--- /dev/null
+++ b/games-board/polyglot/files/polyglot-1.4.70b-no-common.patch
@@ -0,0 +1,14 @@
+https://bugs.gentoo.org/706976
+
+--- polyglot-1.4.70b-orig/pgheader.h
++++ polyglot-1.4.70b/pgheader.h
+@@ -10,9 +10,6 @@
+ #define PGHEADER_BAD_HEADER 6
+ 
+ 
+-const char * pgheader_version;
+-const char * pgheader_magic;
+-
+ /* This does some heuristic tests to make it reasonably sure we are dealing
+    with a Polyglot book.
+ */

diff --git a/games-board/polyglot/polyglot-1.4.70b-r2.ebuild b/games-board/polyglot/polyglot-1.4.70b-r3.ebuild
similarity index 82%
rename from games-board/polyglot/polyglot-1.4.70b-r2.ebuild
rename to games-board/polyglot/polyglot-1.4.70b-r3.ebuild
index 6a46f3f5596..23043395c45 100644
--- a/games-board/polyglot/polyglot-1.4.70b-r2.ebuild
+++ b/games-board/polyglot/polyglot-1.4.70b-r3.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 DESCRIPTION="Protocol adapter to run UCI chess engines under xboard"
 HOMEPAGE="http://hardy.uhasselt.be/Toga/"
@@ -12,4 +12,5 @@ LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
+PATCHES=( "${FILESDIR}"/${P}-no-common.patch )
 DOCS="AUTHORS ChangeLog TODO" # README* installed by build system


                 reply	other threads:[~2020-01-28 21:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1580246659.0ffcd31e40170e29a86eb0aef5798fff4a5549e8.ulm@gentoo \
    --to=ulm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox