mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 19:14:30 +04:00
- 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>
14 lines
339 B
Diff
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"
|