openbsd-ports/x11/gnome/libs/patches/patch-libgnomeui_gnome-dns_c

13 lines
461 B
Plaintext

$OpenBSD: patch-libgnomeui_gnome-dns_c,v 1.1 2003/01/18 09:21:09 pvalchev Exp $
--- libgnomeui/gnome-dns.c.orig Sat Jan 18 01:20:32 2003
+++ libgnomeui/gnome-dns.c Sat Jan 18 01:20:44 2003
@@ -402,7 +402,7 @@ static gint gnome_dns_create_server(void
if (pid == 0) {
dup2(pipefd0[0], 0);
dup2(pipefd1[1], 1);
- execlp("dns-helper", "dns-helper", NULL);
+ execlp("dns-helper", "dns-helper", (void *)NULL);
/* does not return */
}
/* else */