openbsd-ports/productivity/siag/patches/patch-xfiler_Fw_c
jasper c4a5486743 - update siag to 3.6.1
- better COMMENT
- fix LIB_DEPENDS
- fix the horrible location of the docs (and noone noticed?!)
- remove NO_REGRESS
- re-format DESCR

(i must say, pretty nice suite this is.)
2007-08-30 07:48:26 +00:00

16 lines
717 B
Plaintext

$OpenBSD: patch-xfiler_Fw_c,v 1.2 2007/08/30 07:48:26 jasper Exp $
--- xfiler/Fw.c.orig Thu Jan 16 00:57:08 2003
+++ xfiler/Fw.c Wed Aug 29 16:11:54 2007
@@ -858,9 +858,9 @@ static int devAction(int d, char *action)
fprintf(stderr, "%s\n", action);
freopen("/dev/null", "r", stdin);
if (user.arg0flag)
- execlp(user.shell, user.shell, "-c", action, user.shell, NULL);
+ execlp(user.shell, user.shell, "-c", action, user.shell, (void *)NULL);
else
- execlp(user.shell, user.shell, "-c", action, NULL);
+ execlp(user.shell, user.shell, "-c", action, (void *)NULL);
perror("Exec failed");
exit(1);
} else if (waitpid(pid, &status, 0) == -1 || !WIFEXITED(status) ||