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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E9286158089 for ; Mon, 4 Sep 2023 07:09:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 35EFA2BC016; Mon, 4 Sep 2023 07:09:29 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C30D62BC016 for ; Mon, 4 Sep 2023 07:09:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 95C26335D31 for ; Mon, 4 Sep 2023 07:09:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EF4FC1120 for ; Mon, 4 Sep 2023 07:09:25 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1693811360.015f3412a0e7534a2ea1410cc278d148c104029e.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/sidplay/, media-sound/sidplay/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/sidplay/files/sidplay-2.0.9-drop-register-keyword.patch media-sound/sidplay/sidplay-2.0.9-r2.ebuild X-VCS-Directories: media-sound/sidplay/ media-sound/sidplay/files/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: 015f3412a0e7534a2ea1410cc278d148c104029e X-VCS-Branch: master Date: Mon, 4 Sep 2023 07:09:25 +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: 517fb514-9790-44a7-b308-375c1585850b X-Archives-Hash: efda47550da12c080b4def39e5f54b7c commit: 015f3412a0e7534a2ea1410cc278d148c104029e Author: Brahmajit Das gmail com> AuthorDate: Sun Sep 3 18:33:34 2023 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Mon Sep 4 07:09:20 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=015f3412 media-sound/sidplay: Fix C++17 does not allow register storage class Closes: https://bugs.gentoo.org/897796 Signed-off-by: Brahmajit Das gmail.com> Closes: https://github.com/gentoo/gentoo/pull/32588 Signed-off-by: Miroslav Šulc gentoo.org> .../sidplay-2.0.9-drop-register-keyword.patch | 16 +++++++++++++++ media-sound/sidplay/sidplay-2.0.9-r2.ebuild | 23 ++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/media-sound/sidplay/files/sidplay-2.0.9-drop-register-keyword.patch b/media-sound/sidplay/files/sidplay-2.0.9-drop-register-keyword.patch new file mode 100644 index 000000000000..91c01de93b37 --- /dev/null +++ b/media-sound/sidplay/files/sidplay-2.0.9-drop-register-keyword.patch @@ -0,0 +1,16 @@ +Bug; https://bugs.gentoo.org/897796 +--- a/src/keyboard.cpp ++++ b/src/keyboard.cpp +@@ -129,9 +129,9 @@ static char keytable[] = + */ + static int keyboard_search (char *cmd) + { +- register char *p; +- register char *q; +- register int a; ++ char *p; ++ char *q; ++ int a; + + for (p = keytable, q = cmd;; p++, q++) + { diff --git a/media-sound/sidplay/sidplay-2.0.9-r2.ebuild b/media-sound/sidplay/sidplay-2.0.9-r2.ebuild new file mode 100644 index 000000000000..b4c1c91d75cd --- /dev/null +++ b/media-sound/sidplay/sidplay-2.0.9-r2.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="C64 SID player" +HOMEPAGE="https://sidplay2.sourceforge.net/" +SRC_URI="mirror://sourceforge/sidplay2/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86" +IUSE="" + +BDEPEND="virtual/pkgconfig" +DEPEND="media-libs/libsidplay:2" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}/${P}-gcc43.patch" + "${FILESDIR}/${P}-gcc44.patch" + "${FILESDIR}/${P}-drop-register-keyword.patch" +)