summaryrefslogtreecommitdiff
path: root/mail-mta/sendmail/files/sendmail-musl-disable-cdefs.patch
diff options
context:
space:
mode:
authorCristian Othón Martínez Vera <cfuga@cfuga.mx>2025-04-03 10:07:35 -0600
committerSam James <sam@gentoo.org>2025-04-10 10:32:54 +0100
commit2988c7148a532f78524820d0e40d96738940ea02 (patch)
tree7fec2c639aedb59a7de6f1bf68960c0f61535697 /mail-mta/sendmail/files/sendmail-musl-disable-cdefs.patch
parent2c297a5d6acec05aaa94de3215be947d12ef86a5 (diff)
downloadgentoo-2988c7148a532f78524820d0e40d96738940ea02.tar.gz
gentoo-2988c7148a532f78524820d0e40d96738940ea02.tar.bz2
gentoo-2988c7148a532f78524820d0e40d96738940ea02.zip
mail-mta/sendmail: bump to version 8.18.1, add myself as maintainer
* Convert ```sys-libs/db``` to an optional dependency, controlled by the ```berkdb``` USE flag. * Add ```eai``` USE flag to support optional Email Address Internationalization, like ```mail-mta/postfix```. * Add ```tinycdb``` USE flag to compile with ```dev-db/tinycdb``` and prevent automagic linking with ```dev-db/cdb```. * Add ```_FFR_TLS_USE_CERTIFICATE_CHAIN_FILE```, to fix STARTTLS chain validation when the server's certificate requires intermediate certs. * Add ```mail-filter/maildrop``` as alternative to use maildir-style mailboxes. * Keep ```sys-libs/db``` and ```mail-filter/procmail``` as default dependencies, to allow seamless upgrades from previous versions. * Fix compilation with gcc-15/-std=c23 * Clean up blockers. * Fix some ebuild typos. * Fix building with musl, using patches borrowed from ```mail-filter/libmilter```. It just compiles; needs more tweaking/debugging to make it work. Closes: https://bugs.gentoo.org/830525 Closes: https://bugs.gentoo.org/831999 Closes: https://bugs.gentoo.org/914272 Closes: https://bugs.gentoo.org/921521 Closes: https://bugs.gentoo.org/944822 Closes: https://bugs.gentoo.org/945726 Signed-off-by: Cristian Othón Martínez Vera <cfuga@cfuga.mx> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'mail-mta/sendmail/files/sendmail-musl-disable-cdefs.patch')
-rw-r--r--mail-mta/sendmail/files/sendmail-musl-disable-cdefs.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/mail-mta/sendmail/files/sendmail-musl-disable-cdefs.patch b/mail-mta/sendmail/files/sendmail-musl-disable-cdefs.patch
new file mode 100644
index 000000000000..6dc4ac63105e
--- /dev/null
+++ b/mail-mta/sendmail/files/sendmail-musl-disable-cdefs.patch
@@ -0,0 +1,11 @@
+--- a/include/sm/os/sm_os_linux.h 2020-06-09 11:57:46.789786561 +0200
++++ b/include/sm/os/sm_os_linux.h 2020-06-09 11:57:49.174781812 +0200
+@@ -33,7 +33,7 @@
+ # endif /* LINUX_VERSION_CODE */
+ #endif /* SM_CONF_SHM */
+
+-#define SM_CONF_SYS_CDEFS_H 1
++#define SM_CONF_SYS_CDEFS_H 0
+ #ifndef SM_CONF_SEM
+ # define SM_CONF_SEM 2
+ #endif /* SM_CONF_SEM */