diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-20 01:01:31 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-20 01:01:31 +0000 |
commit | 5d0c0ffd63620a4db788484bd36ab92b76e7891b (patch) | |
tree | b4204d122504a5c2d3bfdb2cc9f3a5dcf5fe07b2 /mail-filter/spamassassin/files | |
parent | 60945053af0588a6219a4a6867aace9e7b47faeb (diff) |
gentoo auto-resync : 20:11:2022 - 01:01:31
Diffstat (limited to 'mail-filter/spamassassin/files')
-rw-r--r-- | mail-filter/spamassassin/files/3.4.6-configure-clang16.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/mail-filter/spamassassin/files/3.4.6-configure-clang16.patch b/mail-filter/spamassassin/files/3.4.6-configure-clang16.patch new file mode 100644 index 000000000000..cd69a546c71d --- /dev/null +++ b/mail-filter/spamassassin/files/3.4.6-configure-clang16.patch @@ -0,0 +1,44 @@ +https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8073 +--- a/spamc/configure.in ++++ b/spamc/configure.in +@@ -48,7 +48,9 @@ dnl ---------------------------------------------------------------------- + AC_CACHE_CHECK([for SHUT_RD], + shutrd, [ + AC_TRY_COMPILE([#include <sys/types.h> +-#include <sys/socket.h>], ++#include <sys/socket.h> ++#include <stdio.h> ++], + [printf ("%d", SHUT_RD); return 0;], + [shutrd=yes], + [shutrd=no]), +@@ -89,7 +91,8 @@ dnl ---------------------------------------------------------------------- + + AC_CACHE_CHECK([for h_errno], + herrno, [ +- AC_TRY_COMPILE([#include <netdb.h>], ++ AC_TRY_COMPILE([#include <netdb.h> ++#include <stdio.h>], + [printf ("%d", h_errno); return 0;], + [herrno=yes], + [herrno=no]), +diff --git a/spamc/configure b/spamc/configure +index d8e5dcf..2e30ba4 100755 +--- a/spamc/configure ++++ b/spamc/configure +@@ -3555,6 +3555,7 @@ cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #include <sys/types.h> + #include <sys/socket.h> ++#include <stdio.h> + int + main () + { +@@ -4253,6 +4254,7 @@ cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #include <netdb.h> ++#include <stdio.h> + int + main () + { |