openbsd-ports/www/dillo/patches/patch-dpid_main_c
ajacoutot af93f62e24 - major upgrade to dillo 2.0
it now uses the fltk2 toolkit instead of gtk1
add a patch to fix accessing websites that have ipv6 addr while you don't

full changelog:
http://cvs.auriga.wearlab.de/cgi-bin/cvsweb.cgi/dillo2/ChangeLog?rev=HEAD;cvsroot=dillo

from new MAINTAINER James Turner (former maintainer Jim Uhl resigned)
requested by kili@
2008-10-19 08:42:55 +00:00

22 lines
961 B
Plaintext

$OpenBSD: patch-dpid_main_c,v 1.3 2008/10/19 08:42:55 ajacoutot Exp $
--- dpid/main.c.orig Tue Sep 30 16:27:32 2008
+++ dpid/main.c Sat Oct 18 11:14:19 2008
@@ -69,7 +69,7 @@ static int start_filter_plugin(struct dp dpi_attr)
}
if (pid == 0) {
/* Child, start plugin */
- if (execl(dpi_attr.path, dpi_attr.path, NULL) == -1) {
+ if (execl(dpi_attr.path, dpi_attr.path, (void *)NULL) == -1) {
ERRMSG("start_plugin", "execl", errno);
MSG_ERR("ERROR in child proc for %s\n", dpi_attr.path);
exit(1);
@@ -101,7 +101,7 @@ static void start_server_plugin(struct dp dpi_attr)
MSG_ERR("ERROR in child proc for %s\n", dpi_attr.path);
exit(1);
}
- if (execl(dpi_attr.path, dpi_attr.path, NULL) == -1) {
+ if (execl(dpi_attr.path, dpi_attr.path, (void *)NULL) == -1) {
ERRMSG("start_plugin", "execl", errno);
MSG_ERR("ERROR in child proc for %s\n", dpi_attr.path);
exit(1);