openbsd-ports/x11/gentoo/patches/patch-src_mount_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
435 B
Plaintext

$OpenBSD: patch-src_mount_c,v 1.2 2010/03/21 09:13:53 jasper Exp $
--- src/mount.c.orig Wed Jun 24 22:06:11 2009
+++ src/mount.c Fri Jan 29 19:07:07 2010
@@ -197,7 +197,7 @@ static gint run_cmd(MainInfo *min, const gchar *cmd, c
if(dup(fd_err[STDOUT_FILENO]) == STDERR_FILENO)
{
if(close(fd_err[STDIN_FILENO]) == 0)
- execl(cmd, cname, arg, NULL);
+ execl(cmd, cname, arg, (void *)NULL);
}
}
perror("");