openbsd-ports/devel/libgtop2/patches/patch-lib_open_c
jasper 6d839c0aeb - convert to use gnome.port.mk
- regen patches
2007-12-28 14:31:52 +00:00

13 lines
552 B
Plaintext

$OpenBSD: patch-lib_open_c,v 1.5 2007/12/28 14:31:52 jasper Exp $
--- lib/open.c.orig Tue Jan 2 23:50:29 2007
+++ lib/open.c Fri Dec 28 15:29:17 2007
@@ -112,7 +112,7 @@ glibtop_open_l (glibtop *server, const char *program_n
close (server->input [0]); close (server->output [1]);
dup2 (server->input [1], 1);
dup2 (server->output [0], 0);
- execl (LIBGTOP_SERVER, "libgtop-server", NULL);
+ execl (LIBGTOP_SERVER, "libgtop-server", (void *)NULL);
glibtop_error_io_r (server, "execl (%s)",
LIBGTOP_SERVER);
_exit (2);