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 80016158043 for ; Sun, 14 Apr 2024 16:09:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 85EF2E29F6; Sun, 14 Apr 2024 16:09:04 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5DE14E29F6 for ; Sun, 14 Apr 2024 16:09:04 +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 69A30343349 for ; Sun, 14 Apr 2024 16:09:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0476B1620 for ; Sun, 14 Apr 2024 16:09:02 +0000 (UTC) From: "Matthew Smith" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthew Smith" Message-ID: <1713110788.650f13dce660ef67fd90b7e6134a9ab79fa36c2c.matthew@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: mail-mta/opensmtpd/files/, mail-mta/opensmtpd/ X-VCS-Repository: repo/gentoo X-VCS-Files: mail-mta/opensmtpd/files/opensmtpd-7.4.0-missing-include.patch mail-mta/opensmtpd/opensmtpd-7.4.0_p1.ebuild X-VCS-Directories: mail-mta/opensmtpd/ mail-mta/opensmtpd/files/ X-VCS-Committer: matthew X-VCS-Committer-Name: Matthew Smith X-VCS-Revision: 650f13dce660ef67fd90b7e6134a9ab79fa36c2c X-VCS-Branch: master Date: Sun, 14 Apr 2024 16:09:02 +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: ca54cd31-fb2f-49cb-9ffa-f7a2ae350ebf X-Archives-Hash: 73596b7c7d7f4c4e79d51029f31eda17 commit: 650f13dce660ef67fd90b7e6134a9ab79fa36c2c Author: NHOrus yahoo com> AuthorDate: Mon Apr 1 07:51:45 2024 +0000 Commit: Matthew Smith gentoo org> CommitDate: Sun Apr 14 16:06:28 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=650f13dc mail-mta/opensmtpd: Add missing include Fixes GCC-14 build error implicit declaration of function snprintf Closes: https://bugs.gentoo.org/922951 Signed-off-by: NHOrus yahoo.com> Closes: https://github.com/gentoo/gentoo/pull/36035 Signed-off-by: Matthew Smith gentoo.org> .../opensmtpd/files/opensmtpd-7.4.0-missing-include.patch | 11 +++++++++++ mail-mta/opensmtpd/opensmtpd-7.4.0_p1.ebuild | 2 ++ 2 files changed, 13 insertions(+) diff --git a/mail-mta/opensmtpd/files/opensmtpd-7.4.0-missing-include.patch b/mail-mta/opensmtpd/files/opensmtpd-7.4.0-missing-include.patch new file mode 100644 index 000000000000..b11d62456743 --- /dev/null +++ b/mail-mta/opensmtpd/files/opensmtpd-7.4.0-missing-include.patch @@ -0,0 +1,11 @@ +diff -ur '--exclude=*.o' opensmtpd-7.4.0p1.orig/openbsd-compat/getdtablecount.c opensmtpd-7.4.0p1/openbsd-compat/getdtablecount.c +--- a/openbsd-compat/getdtablecount.c 2024-04-01 07:25:41.230753002 +0000 ++++ b/openbsd-compat/getdtablecount.c 2024-04-01 07:27:23.556124378 +0000 +@@ -20,6 +20,7 @@ + + #include + #include ++#include + + void fatal(const char *, ...); + void fatalx(const char *, ...); diff --git a/mail-mta/opensmtpd/opensmtpd-7.4.0_p1.ebuild b/mail-mta/opensmtpd/opensmtpd-7.4.0_p1.ebuild index c5b98eddea63..9dfe3df3f2c5 100644 --- a/mail-mta/opensmtpd/opensmtpd-7.4.0_p1.ebuild +++ b/mail-mta/opensmtpd/opensmtpd-7.4.0_p1.ebuild @@ -57,6 +57,8 @@ QA_CONFIG_IMPL_DECL_SKIP=( closefrom ) DOCS=( {CHANGES,README}.md ) +PATCHES=( "${FILESDIR}/${PN}-7.4.0-missing-include.patch" ) + src_unpack() { if use verify-sig; then # Too many levels of symbolic links