openbsd-ports/devel/libgtop2/patches/patch-lib_open_c
steven d962a2a9ce fix texinfo stuff, regen patches, rerun makesum
from Moritz Grimm <mlist at scapa.dnsalias.net>

ok espie@
2007-02-21 17:27:53 +00:00

13 lines
538 B
Plaintext

$OpenBSD: patch-lib_open_c,v 1.4 2007/02/21 17:27:54 steven Exp $
--- lib/open.c.orig Tue Jan 2 23:50:29 2007
+++ lib/open.c Sun Feb 18 20:23:18 2007
@@ -112,7 +112,7 @@ glibtop_open_l (glibtop *server, const c
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);