From 8a6efdf43f513f97ac6691fd4ea1d5ff3cd864f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pascal=20J=C3=A4ger?= Date: Fri, 11 Nov 2022 00:54:06 +0100 Subject: [PATCH] net-mail/email: EAPI bump, fix clang16 configure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/879737 Signed-off-by: Pascal Jäger Closes: https://github.com/gentoo/gentoo/pull/28219 Signed-off-by: Sam James --- ...-3.1.3-r1.ebuild => email-3.1.3-r2.ebuild} | 7 ++++--- .../email-3.1.3-fix-clang16-configure.patch | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+), 3 deletions(-) rename net-mail/email/{email-3.1.3-r1.ebuild => email-3.1.3-r2.ebuild} (80%) create mode 100644 net-mail/email/files/email-3.1.3-fix-clang16-configure.patch diff --git a/net-mail/email/email-3.1.3-r1.ebuild b/net-mail/email/email-3.1.3-r2.ebuild similarity index 80% rename from net-mail/email/email-3.1.3-r1.ebuild rename to net-mail/email/email-3.1.3-r2.ebuild index 03b751178f8dc..5c2707adb62f5 100644 --- a/net-mail/email/email-3.1.3-r1.ebuild +++ b/net-mail/email/email-3.1.3-r2.ebuild @@ -1,17 +1,18 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 DESCRIPTION="Advanced CLI tool for sending email" HOMEPAGE="https://github.com/deanproxy/eMail" SRC_URI="http://www.cleancode.org/downloads/${PN}/${P}.tar.bz2" LICENSE="GPL-2" -SLOT="0" +SLOT="0" KEYWORDS="~alpha amd64 x86" PATCHES=( "${FILESDIR}"/${PN}-3.1.3-fno-common.patch + "${FILESDIR}"/${PN}-3.1.3-fix-clang16-configure.patch ) src_install() { diff --git a/net-mail/email/files/email-3.1.3-fix-clang16-configure.patch b/net-mail/email/files/email-3.1.3-fix-clang16-configure.patch new file mode 100644 index 0000000000000..37fcd9f141532 --- /dev/null +++ b/net-mail/email/files/email-3.1.3-fix-clang16-configure.patch @@ -0,0 +1,19 @@ +Clang16 will not allow using undeclared library functions by default. +This imports ctype.h into that check so isdigit() can be used without errors. + +Bug: https://bugs.gentoo.org/879737 + +PR upstream: https://github.com/deanproxy/eMail/pull/63 + +Signed-off-by: Pascal Jäger + +--- a/check_strftime.sh ++++ b/check_strftime.sh +@@ -14,6 +14,7 @@ cat << EOF > /tmp/strftime_try.c + #include + #include + #include ++#include + + int + main (void)