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 E89E415800F for ; Sat, 21 Jan 2023 19:53:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 33EE5E095C; Sat, 21 Jan 2023 19:53:30 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 193EDE095C for ; Sat, 21 Jan 2023 19:53:30 +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 340343405BB for ; Sat, 21 Jan 2023 19:53:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AF0757F2 for ; Sat, 21 Jan 2023 19:53:27 +0000 (UTC) From: "Arsen Arsenović" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arsen Arsenović" Message-ID: <1674330730.30e9c72612d623d7a48b4755a9426b2ddce3e51f.arsen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/mu/, net-mail/mu/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-mail/mu/files/mu-1.8.13-add-cstdint-inc.patch net-mail/mu/mu-1.8.13.ebuild X-VCS-Directories: net-mail/mu/files/ net-mail/mu/ X-VCS-Committer: arsen X-VCS-Committer-Name: Arsen Arsenović X-VCS-Revision: 30e9c72612d623d7a48b4755a9426b2ddce3e51f X-VCS-Branch: master Date: Sat, 21 Jan 2023 19:53:27 +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: d86f20eb-35d3-4203-ae0a-3e9d1f5e83d2 X-Archives-Hash: a2f8d3115ecd33671c614a118ced1bcd commit: 30e9c72612d623d7a48b4755a9426b2ddce3e51f Author: Arsen Arsenović gentoo org> AuthorDate: Sat Jan 21 19:08:11 2023 +0000 Commit: Arsen Arsenović gentoo org> CommitDate: Sat Jan 21 19:52:10 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30e9c726 net-mail/mu: Fix building on GCC 13 GCC 13s libstdc++ reduced its dependency on some headers like , so it's no longer transitively included through various headers. Include it explicitly. See also: https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes ../lib/utils/mu-error.hh:36:26: error: ‘uint32_t’ does not name a type 36 | static constexpr uint32_t SoftError = 1 << 23; | ^~~~~~~~ Closes: https://github.com/gentoo/gentoo/pull/29210 Signed-off-by: Arsen Arsenović gentoo.org> net-mail/mu/files/mu-1.8.13-add-cstdint-inc.patch | 37 +++++++++++++++++++++++ net-mail/mu/mu-1.8.13.ebuild | 4 +++ 2 files changed, 41 insertions(+) diff --git a/net-mail/mu/files/mu-1.8.13-add-cstdint-inc.patch b/net-mail/mu/files/mu-1.8.13-add-cstdint-inc.patch new file mode 100644 index 000000000000..5b46732c805f --- /dev/null +++ b/net-mail/mu/files/mu-1.8.13-add-cstdint-inc.patch @@ -0,0 +1,37 @@ +From e0b17e4e31acd5657a3488936ef619c5ae2dc689 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Arsen=20Arsenovi=C4=87?= +Date: Sat, 21 Jan 2023 19:39:09 +0100 +Subject: [PATCH] mu-error: Add missing include +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +GCC 13s libstdc++ reduced its dependency on some headers like , so it's +no longer transitively included through various headers. Include it explicitly. + +See also: https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes + + ../lib/utils/mu-error.hh:36:26: error: ‘uint32_t’ does not name a type + 36 | static constexpr uint32_t SoftError = 1 << 23; + | ^~~~~~~~ +--- +https://github.com/djcb/mu/pull/2421 + + lib/utils/mu-error.hh | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/lib/utils/mu-error.hh b/lib/utils/mu-error.hh +index c67fc5a1..61923c6c 100644 +--- a/lib/utils/mu-error.hh ++++ b/lib/utils/mu-error.hh +@@ -21,6 +21,7 @@ + #define MU_ERROR_HH__ + + #include ++#include + #include "mu-utils-format.hh" + #include "mu-util.h" + #include +-- +2.39.1 + diff --git a/net-mail/mu/mu-1.8.13.ebuild b/net-mail/mu/mu-1.8.13.ebuild index 5e3b96704cf5..4a5365df91b8 100644 --- a/net-mail/mu/mu-1.8.13.ebuild +++ b/net-mail/mu/mu-1.8.13.ebuild @@ -26,6 +26,10 @@ BDEPEND=" virtual/pkgconfig " +PATCHES=( + "${FILESDIR}/mu-1.8.13-add-cstdint-inc.patch" +) + SITEFILE="70mu-gentoo-autoload.el" src_prepare() {