summaryrefslogtreecommitdiff
path: root/mail-mta/sendmail/files
diff options
context:
space:
mode:
Diffstat (limited to 'mail-mta/sendmail/files')
-rw-r--r--mail-mta/sendmail/files/sendmail-8.18.1-more-c23.patch24
-rw-r--r--mail-mta/sendmail/files/sendmail-8.18.1-tcpwrappers.patch13
2 files changed, 37 insertions, 0 deletions
diff --git a/mail-mta/sendmail/files/sendmail-8.18.1-more-c23.patch b/mail-mta/sendmail/files/sendmail-8.18.1-more-c23.patch
new file mode 100644
index 000000000000..e92b0b7dc6e0
--- /dev/null
+++ b/mail-mta/sendmail/files/sendmail-8.18.1-more-c23.patch
@@ -0,0 +1,24 @@
+Backport from 8.18.1.16 snapshot
+
+--- a/sendmail/arpadate.c
++++ b/sendmail/arpadate.c
+@@ -167,7 +167,7 @@
+ #endif /* TZ_TYPE == TZ_TZNAME */
+ #if TZ_TYPE == TZ_TIMEZONE
+ {
+- extern char *timezone();
++ extern char *timezone __P((int, int));
+
+ tz = timezone(off, lt->tm_isdst);
+ }
+--- a/sendmail/envelope.c
++++ b/sendmail/envelope.c
+@@ -762,7 +762,7 @@
+ #ifdef TTYNAME
+ static char ybuf[60]; /* holds tty id */
+ register char *p;
+- extern char *ttyname();
++ extern char *ttyname __P((int));
+ #endif /* TTYNAME */
+
+ /*
diff --git a/mail-mta/sendmail/files/sendmail-8.18.1-tcpwrappers.patch b/mail-mta/sendmail/files/sendmail-8.18.1-tcpwrappers.patch
new file mode 100644
index 000000000000..b7f0c805a0ca
--- /dev/null
+++ b/mail-mta/sendmail/files/sendmail-8.18.1-tcpwrappers.patch
@@ -0,0 +1,13 @@
+https://narkive.com/5o9wtufe.5
+
+--- a/sendmail/conf.c
++++ b/sendmail/conf.c
+@@ -4075,7 +4075,7 @@
+ #if TCPWRAPPERS
+ char *host;
+ char *addr;
+- extern int hosts_ctl();
++ extern int hosts_ctl __P((char *, char *, char *, char*));
+ #endif /* TCPWRAPPERS */
+
+ if (tTd(48, 3))