openbsd-ports/x11/gentoo/patches/patch-src_file_c
jasper 072652de04 - update gentoo 0.15.6
* switches to gtk+2
* fix a struct member clash, debugged with upstream
2010-03-21 09:13:53 +00:00

13 lines
503 B
Plaintext

$OpenBSD: patch-src_file_c,v 1.2 2010/03/21 09:13:53 jasper Exp $
--- src/file.c.orig Tue Jun 23 22:57:24 2009
+++ src/file.c Fri Jan 29 19:07:07 2010
@@ -59,7 +59,7 @@ static void start_file(MainInfo *min, const gchar *cmd
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);
}