openbsd-ports/productivity/siag/patches/patch-xfiler_Main_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

13 lines
518 B
Plaintext

$OpenBSD: patch-xfiler_Main_c,v 1.2 2007/08/30 07:48:26 jasper Exp $
--- xfiler/Main.c.orig Mon Mar 10 00:20:42 2003
+++ xfiler/Main.c Wed Aug 29 16:11:54 2007
@@ -317,7 +317,7 @@ int shell_test(UserInfo *ui)
perror("(child) Can't close pipe");
exit(1);
}
- execlp(ui->shell, ui->shell, "-c", "echo $*", "1", NULL);
+ execlp(ui->shell, ui->shell, "-c", "echo $*", "1", (void *)NULL);
perror("Exec failed");
exit(1);
} else { /* parent; read and check the child's output */