openbsd-ports/graphics/qiv/patches/patch-utils_c
kili 5f024a8c50 Update to 2.2.2.
testing, tweaks and ok bernd@
2009-08-20 18:58:39 +00:00

12 lines
409 B
Plaintext

--- utils.c.orig Tue May 26 18:56:25 2009
+++ utils.c Tue Jul 14 18:31:22 2009
@@ -276,7 +276,7 @@ void run_command(qiv_image *q, char *n, char *filename
dup2(pipe_stdout[1], 2);
close(pipe_stdout[1]);
- execlp("qiv-command", "qiv-command", nr, filename, NULL);
+ execlp("qiv-command", "qiv-command", nr, filename, (void *)NULL);
perror("Error calling qiv-command");
abort();
}