zsh: update to 5.7.1 & native build
[unleashed-userland.git] / components / logrotate / patches / 04.compile.patch
blob395ecb891ff95bb9bc1200365206615f494c8273
1 Fixes error: missing sentinel in function call [-Werror=format=]
2 --- logrotate-r3-9-1/logrotate.c.~1~ 2015-09-21 17:23:10.385648887 +0300
3 +++ logrotate-r3-9-1/logrotate.c 2015-09-21 17:25:03.727947187 +0300
4 @@ -356,7 +356,7 @@
5 DOEXIT(1);
8 - execl("/bin/sh", "sh", "-c", script, "logrotate_script", logfn, NULL);
9 + execl("/bin/sh", "sh", "-c", script, "logrotate_script", logfn, (char *) NULL);
10 DOEXIT(1);
13 @@ -671,7 +671,7 @@
14 DOEXIT(1);
17 - execlp(uncompressCommand, uncompressCommand, NULL);
18 + execlp(uncompressCommand, uncompressCommand, (char *) NULL);
19 DOEXIT(1);