openbsd-ports/x11/gentoo/patches/patch-src_file_c

13 lines
491 B
Plaintext

$OpenBSD: patch-src_file_c,v 1.1 2002/12/28 23:29:13 pvalchev Exp $
--- src/file.c.orig Sat Dec 28 14:51:00 2002
+++ src/file.c Sat Dec 28 14:52:17 2002
@@ -59,7 +59,7 @@ static void start_file(MainInfo *min, co
bits |= (close(fd_out[STDIN_FILENO]) == 0) << 1;
}
if(bits == 3U)
- execlp(cmd, cmd, "-n", "-f", "-", NULL);
+ execlp(cmd, cmd, "-n", "-f", "-", (void *)NULL);
fprintf(stderr, "FILE: execlp() of '%s' failed (code %d)\n", cmd, errno);
exit(EXIT_FAILURE);
}