openbsd-ports/graphics/gimp/stable/patches/patch-plug-ins_print_print_c
2003-12-27 00:26:17 +00:00

13 lines
543 B
Plaintext

$OpenBSD: patch-plug-ins_print_print_c,v 1.2 2003/12/27 00:26:17 brad Exp $
--- plug-ins/print/print.c.orig Fri Jul 19 20:35:02 2002
+++ plug-ins/print/print.c Tue May 20 23:56:58 2003
@@ -451,7 +451,7 @@ run (char *name, /* I - Name of print
dup2 (pipefd[0], 0);
close (pipefd[0]);
close (pipefd[1]);
- execl("/bin/sh", "/bin/sh", "-c", stp_get_output_to(vars), NULL);
+ execl("/bin/sh", "/bin/sh", "-c", stp_get_output_to(vars), (void *)NULL);
/* NOTREACHED */
exit (1);
} else {