gentoo-ebuilds/mail-mta/sendmail/files/sendmail-musl-disable-cdefs.patch
Cristian Othón Martínez Vera 2988c7148a
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>
2025-04-10 10:32:54 +01:00

11 lines
352 B
Diff

--- 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 */