Files
packages/mail/sendmail/patches/230-ctime.patch
Aleksey Vasilenko 3000e1a420 sendmail: update to 8.18.1
- Fix GCC 15 build with 2 patches from Gentoo [1][2]
- Refresh existing patch
- Extend 010-enable-nonroot-install.patch to remove "-o U -g G" from
  more install targets (fixes 'invalid user buildbot' in CI)

[1]: https://github.com/gentoo/gentoo/blob/master/mail-mta/sendmail/files/sendmail-8.18.1-c23-sm_strtoll.patch
[2]: https://github.com/gentoo/gentoo/blob/master/mail-mta/sendmail/files/sendmail-8.18.1-c23-ctime.patch

Co-authored-by: W. Michael Petullo <mike@flyn.org>
Signed-off-by: Aleksey Vasilenko <aleksey.vasilenko@gmail.com>
2025-09-20 23:11:51 +08:00

14 lines
339 B
Diff

Bug: https://bugs.gentoo.org/945726
--- a/mailstats/mailstats.c
+++ b/mailstats/mailstats.c
@@ -65,7 +65,7 @@ main(argc, argv)
char sfilebuf[MAXPATHLEN];
char buf[MAXLINE];
struct statistics stats;
- extern char *ctime();
+ extern char *ctime(const time_t *);
extern char *optarg;
extern int optind;
# define MSOPTS "cC:f:opP"