From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A632E138350 for ; Tue, 28 Jan 2020 21:24:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DA8C0E081E; Tue, 28 Jan 2020 21:24:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BB49DE081E for ; Tue, 28 Jan 2020 21:24:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C42F634E455 for ; Tue, 28 Jan 2020 21:24:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BF9D22A for ; Tue, 28 Jan 2020 21:24:44 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1580246659.0ffcd31e40170e29a86eb0aef5798fff4a5549e8.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-board/polyglot/files/, games-board/polyglot/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-board/polyglot/files/polyglot-1.4.70b-no-common.patch games-board/polyglot/polyglot-1.4.70b-r2.ebuild games-board/polyglot/polyglot-1.4.70b-r3.ebuild X-VCS-Directories: games-board/polyglot/ games-board/polyglot/files/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 0ffcd31e40170e29a86eb0aef5798fff4a5549e8 X-VCS-Branch: master Date: Tue, 28 Jan 2020 21:24:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 60ba5b5d-d6de-4a82-b8e6-1d0de8cd189b X-Archives-Hash: adb485c76514fa13eef06c2ea3673125 commit: 0ffcd31e40170e29a86eb0aef5798fff4a5549e8 Author: Ulrich Müller gentoo org> AuthorDate: Tue Jan 28 21:23:45 2020 +0000 Commit: Ulrich Müller gentoo 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 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