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 89B5315ACFB for ; Tue, 18 Apr 2023 10:25:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CB54FE0908; Tue, 18 Apr 2023 10:24:59 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B521BE0908 for ; Tue, 18 Apr 2023 10:24:59 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D9F21340B63 for ; Tue, 18 Apr 2023 10:24:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BDA44A1C for ; Tue, 18 Apr 2023 10:24:55 +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: <1681813484.69a7d428ae3555c23c74ece8fecea229ca6cf7d1.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/j4-dmenu-desktop/, x11-misc/j4-dmenu-desktop/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/j4-dmenu-desktop/files/j4-dmenu-desktop-2.18-gcc13.patch x11-misc/j4-dmenu-desktop/j4-dmenu-desktop-2.18-r1.ebuild X-VCS-Directories: x11-misc/j4-dmenu-desktop/files/ x11-misc/j4-dmenu-desktop/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 69a7d428ae3555c23c74ece8fecea229ca6cf7d1 X-VCS-Branch: master Date: Tue, 18 Apr 2023 10:24:55 +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: b60b95ee-b65d-425f-8008-93dbff1471de X-Archives-Hash: d308641f09eedbdf7ae230969be0a676 commit: 69a7d428ae3555c23c74ece8fecea229ca6cf7d1 Author: Sam James gentoo org> AuthorDate: Tue Apr 18 10:11:18 2023 +0000 Commit: Sam James gentoo org> CommitDate: Tue Apr 18 10:24:44 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69a7d428 x11-misc/j4-dmenu-desktop: fix build w/ gcc 13 Closes: https://bugs.gentoo.org/895200 Signed-off-by: Sam James gentoo.org> .../files/j4-dmenu-desktop-2.18-gcc13.patch | 25 ++++++++++++++++++++++ .../j4-dmenu-desktop-2.18-r1.ebuild | 6 +++++- 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/x11-misc/j4-dmenu-desktop/files/j4-dmenu-desktop-2.18-gcc13.patch b/x11-misc/j4-dmenu-desktop/files/j4-dmenu-desktop-2.18-gcc13.patch new file mode 100644 index 000000000000..269044a01ba7 --- /dev/null +++ b/x11-misc/j4-dmenu-desktop/files/j4-dmenu-desktop-2.18-gcc13.patch @@ -0,0 +1,25 @@ +https://github.com/enkore/j4-dmenu-desktop/pull/139 + +From 53e318f155875562b22318395461b836e9ec7e8b Mon Sep 17 00:00:00 2001 +From: Sam James +Date: Tue, 18 Apr 2023 11:08:53 +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/895200 +--- a/src/Application.hh ++++ b/src/Application.hh +@@ -19,7 +19,8 @@ + #define APPLICATION_DEF + + #include +-#include ++#include ++#include + #include + + #include "Utilities.hh" diff --git a/x11-misc/j4-dmenu-desktop/j4-dmenu-desktop-2.18-r1.ebuild b/x11-misc/j4-dmenu-desktop/j4-dmenu-desktop-2.18-r1.ebuild index 1ad6b767f43d..0e03d6f0d6be 100644 --- a/x11-misc/j4-dmenu-desktop/j4-dmenu-desktop-2.18-r1.ebuild +++ b/x11-misc/j4-dmenu-desktop/j4-dmenu-desktop-2.18-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -21,6 +21,10 @@ RESTRICT="!test? ( test )" DEPEND="test? ( dev-cpp/catch:1 )" RDEPEND="dmenu? ( x11-misc/dmenu )" +PATCHES=( + "${FILESDIR}"/${PN}-2.18-gcc13.patch +) + src_prepare() { cmake_src_prepare