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 3F79015ACFB for ; Tue, 18 Apr 2023 07:49:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 71B22E086C; Tue, 18 Apr 2023 07:49:00 +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 4BC4CE086C for ; Tue, 18 Apr 2023 07:49:00 +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 1D29D340940 for ; Tue, 18 Apr 2023 07:48:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 58A43A46 for ; Tue, 18 Apr 2023 07:48:57 +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: <1681802968.bc5186b2759f5b09580ed33275b345d842ed0be3.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: gui-wm/wayfire/files/, gui-wm/wayfire/ X-VCS-Repository: repo/gentoo X-VCS-Files: gui-wm/wayfire/files/wayfire-0.7.5-gcc13.patch gui-wm/wayfire/wayfire-0.7.5.ebuild X-VCS-Directories: gui-wm/wayfire/ gui-wm/wayfire/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: bc5186b2759f5b09580ed33275b345d842ed0be3 X-VCS-Branch: master Date: Tue, 18 Apr 2023 07:48:57 +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: 61acf7c3-2640-400f-8245-d5631d5a4acf X-Archives-Hash: 0d10028312543d606b66cba727350677 commit: bc5186b2759f5b09580ed33275b345d842ed0be3 Author: Sam James gentoo org> AuthorDate: Tue Apr 18 07:29:28 2023 +0000 Commit: Sam James gentoo org> CommitDate: Tue Apr 18 07:29:28 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc5186b2 gui-wm/wayfire: fix build w/ gcc 13 Closes: https://bugs.gentoo.org/895570 Signed-off-by: Sam James gentoo.org> gui-wm/wayfire/files/wayfire-0.7.5-gcc13.patch | 25 +++++++++++++++++++++++++ gui-wm/wayfire/wayfire-0.7.5.ebuild | 4 ++++ 2 files changed, 29 insertions(+) diff --git a/gui-wm/wayfire/files/wayfire-0.7.5-gcc13.patch b/gui-wm/wayfire/files/wayfire-0.7.5-gcc13.patch new file mode 100644 index 000000000000..0ee666664c93 --- /dev/null +++ b/gui-wm/wayfire/files/wayfire-0.7.5-gcc13.patch @@ -0,0 +1,25 @@ +https://github.com/WayfireWM/wf-utils/pull/5 + +From 57460e364f6a1e5bdbad424e8cc576e346c8b7b6 Mon Sep 17 00:00:00 2001 +From: Sam James +Date: Tue, 18 Apr 2023 08:26:50 +0100 +Subject: [PATCH] Fix build with GCC 13 + +GCC 13 (as usual for new compiler releases) shuffles around some internal includes so some +are no longer transitively included. + +See https://gnu.org/software/gcc/gcc-13/porting_to.html. + +Bug: https://bugs.gentoo.org/895570 +Closes: https://github.com/WayfireWM/wayfire/issues/1758 +--- a/subprojects/wf-utils/wayfire/rule/lambda_rule.cpp ++++ b/subprojects/wf-utils/wayfire/rule/lambda_rule.cpp +@@ -1,6 +1,7 @@ + #include "wayfire/rule/lambda_rule.hpp" + #include "wayfire/condition/condition.hpp" + #include ++#include + #include + #include + #include + diff --git a/gui-wm/wayfire/wayfire-0.7.5.ebuild b/gui-wm/wayfire/wayfire-0.7.5.ebuild index 3daa6027b141..9aa8f0449f9d 100644 --- a/gui-wm/wayfire/wayfire-0.7.5.ebuild +++ b/gui-wm/wayfire/wayfire-0.7.5.ebuild @@ -73,6 +73,10 @@ BDEPEND=" virtual/pkgconfig " +PATCHES=( + "${FILESDIR}"/${PN}-0.7.5-gcc13.patch +) + src_configure() { sed -e "s:@EPREFIX@:${EPREFIX}:" \ "${FILESDIR}"/wayfire-session > "${T}"/wayfire-session || die