openbsd-ports/graphics/gimp/stable/patches/patch-plug-ins_common_url_c
2006-01-27 07:28:41 +00:00

13 lines
556 B
Plaintext

$OpenBSD: patch-plug-ins_common_url_c,v 1.3 2006/01/27 07:28:41 steven Exp $
--- plug-ins/common/url.c.orig Sun Jan 22 11:41:00 2006
+++ plug-ins/common/url.c Sun Jan 22 11:41:29 2006
@@ -188,7 +188,7 @@ load_image (const gchar *filename,
execlp ("wget",
"wget", "-v", "-e", "server-response=off", "-T", TIMEOUT,
- filename, "-O", tmpname, NULL);
+ filename, "-O", tmpname, (char *)NULL);
g_message ("exec() failed: wget: %s", g_strerror (errno));
g_free (tmpname);
_exit (127);