diff options
Diffstat (limited to 'net-mail/email/files/email-3.1.3-fix-clang16-configure.patch')
-rw-r--r-- | net-mail/email/files/email-3.1.3-fix-clang16-configure.patch | 19 |
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) |