openbsd-ports/graphics/qiv/patches/patch-utils_c
sturm f60aa872b4 update to qiv 2.0
from Jon Trembley <jon at brain-box.net>
2005-02-05 16:40:29 +00:00

12 lines
392 B
Plaintext

--- utils.c.orig Sat May 22 09:24:23 2004
+++ utils.c Sat Feb 5 17:25:47 2005
@@ -272,7 +272,7 @@ void run_command(qiv_image *q, int n, ch
dup2(pipe_stdout[1], 2);
close(pipe_stdout[1]);
- execlp("qiv-command", "qiv-command", nr, filename, 0);
+ execlp("qiv-command", "qiv-command", nr, filename, (void *)NULL);
perror("Error calling qiv-command");
abort();
}