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 20B66158094 for ; Thu, 30 Jun 2022 21:32:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3283CE0D37; Thu, 30 Jun 2022 21:32:43 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 1AFCCE0D37 for ; Thu, 30 Jun 2022 21:32:43 +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 0BC76341A11 for ; Thu, 30 Jun 2022 21:32:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 57587516 for ; Thu, 30 Jun 2022 21:32:40 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1656624750.c4dc15f9ab3eeea684ffc0f4a322ae231bf730e1.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-rpg/manaplus/files/, games-rpg/manaplus/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-rpg/manaplus/files/manaplus-1.9.3.23-gcc12-time.patch games-rpg/manaplus/manaplus-1.9.3.23-r1.ebuild X-VCS-Directories: games-rpg/manaplus/ games-rpg/manaplus/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: c4dc15f9ab3eeea684ffc0f4a322ae231bf730e1 X-VCS-Branch: master Date: Thu, 30 Jun 2022 21:32:40 +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: 40387fda-fcd5-47d6-b9dc-a26a95684e94 X-Archives-Hash: d4fed067f6b841c19ab244da4fe448b4 commit: c4dc15f9ab3eeea684ffc0f4a322ae231bf730e1 Author: Sam James gentoo org> AuthorDate: Thu Jun 30 21:18:43 2022 +0000 Commit: Sam James gentoo org> CommitDate: Thu Jun 30 21:32:30 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4dc15f9 games-rpg/manaplus: fix build with GCC 12 Closes: https://bugs.gentoo.org/855212 Signed-off-by: Sam James gentoo.org> games-rpg/manaplus/files/manaplus-1.9.3.23-gcc12-time.patch | 13 +++++++++++++ games-rpg/manaplus/manaplus-1.9.3.23-r1.ebuild | 4 ++++ 2 files changed, 17 insertions(+) diff --git a/games-rpg/manaplus/files/manaplus-1.9.3.23-gcc12-time.patch b/games-rpg/manaplus/files/manaplus-1.9.3.23-gcc12-time.patch new file mode 100644 index 000000000000..5ded1f0fa9d5 --- /dev/null +++ b/games-rpg/manaplus/files/manaplus-1.9.3.23-gcc12-time.patch @@ -0,0 +1,13 @@ +https://bugs.gentoo.org/855212 +--- a/src/resources/wallpaper.cpp ++++ b/src/resources/wallpaper.cpp +@@ -38,9 +38,7 @@ + #include + #endif // WIN32 + +-#ifdef __clang__ + #include +-#endif // __clang__ + + #include "debug.h" + diff --git a/games-rpg/manaplus/manaplus-1.9.3.23-r1.ebuild b/games-rpg/manaplus/manaplus-1.9.3.23-r1.ebuild index 6c1d04cbb663..f481e1cd9b21 100644 --- a/games-rpg/manaplus/manaplus-1.9.3.23-r1.ebuild +++ b/games-rpg/manaplus/manaplus-1.9.3.23-r1.ebuild @@ -55,6 +55,10 @@ DEPEND="${RDEPEND} virtual/pkgconfig nls? ( sys-devel/gettext )" +PATCHES=( + "${FILESDIR}"/${PN}-1.9.3.23-gcc12-time.patch +) + src_prepare() { default