summaryrefslogtreecommitdiff
path: root/net-mail/email/files/email-3.1.3-fix-clang16-configure.patch
blob: 37fcd9f1415329f5a03994645c2d9c9d985545b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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)