summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPascal Jäger <pascal.jaeger@leimstift.de>2022-11-11 00:54:06 +0100
committerSam James <sam@gentoo.org>2022-11-22 06:47:00 +0000
commit8a6efdf43f513f97ac6691fd4ea1d5ff3cd864f5 (patch)
tree3ed5828fced0923124357b458c4336d791703a9a /net-mail/email/files
parentdev-python/jedi: add 0.18.2 (diff)
downloadgentoo-8a6efdf43f513f97ac6691fd4ea1d5ff3cd864f5.tar.gz
gentoo-8a6efdf43f513f97ac6691fd4ea1d5ff3cd864f5.tar.bz2
gentoo-8a6efdf43f513f97ac6691fd4ea1d5ff3cd864f5.zip
net-mail/email: EAPI bump, fix clang16 configure
Closes: https://bugs.gentoo.org/879737 Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de> Closes: https://github.com/gentoo/gentoo/pull/28219 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-mail/email/files')
-rw-r--r--net-mail/email/files/email-3.1.3-fix-clang16-configure.patch19
1 files changed, 19 insertions, 0 deletions
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 000000000000..37fcd9f14153
--- /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 <pascal.jaeger@leimstift.de>
+
+--- a/check_strftime.sh
++++ b/check_strftime.sh
+@@ -14,6 +14,7 @@ cat << EOF > /tmp/strftime_try.c
+ #include <stdlib.h>
+ #include <time.h>
+ #include <sys/time.h>
++#include <ctype.h>
+
+ int
+ main (void)