1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 03:09:51 +03:00
aports/community/mailutils/gcc15.patch
2025-07-03 06:58:32 +00:00

22 lines
475 B
Diff

--- a/libmailutils/mailer/progmailer.c
+++ b/libmailutils/mailer/progmailer.c
@@ -45,7 +45,7 @@ struct _mu_progmailer
{
int fd;
pid_t pid;
- void (*sighandler)();
+ void (*sighandler)(int);
char *command;
};
--- a/mh/scan.c
+++ b/mh/scan.c
@@ -200,7 +200,7 @@ clear_screen (void)
char *clr = tgetstr ("cl", &buffer);
if (clr)
{
- tputs(clr, 1, (int (*)())putstdout);
+ tputs(clr, 1, (int (*)(int))putstdout);
return;
}
}