openbsd-ports/devel/libgtop2/patches/patch-lib_open_c
marcm ca3b5569fc Update to 2.6.0. Get rid of the custom OpenBSD support from the
former nino@ that has been a part of this port for some time.
Updates to the internal API finally broke it, but a huge thanks
to Nils for his work there (thanks Nils!).

Now we use the Free/NetBSD support as a base and patch from there :).
2004-08-01 06:06:35 +00:00

13 lines
537 B
Plaintext

$OpenBSD: patch-lib_open_c,v 1.1 2004/08/01 06:06:35 marcm Exp $
--- lib/open.c.orig Sat Jul 31 13:11:08 2004
+++ lib/open.c Sat Jul 31 13:11:32 2004
@@ -109,7 +109,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);