summaryrefslogtreecommitdiffstats
path: root/graphics/gimp-app/files/patch-plug-ins_common_url.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gimp-app/files/patch-plug-ins_common_url.c')
-rw-r--r--graphics/gimp-app/files/patch-plug-ins_common_url.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/graphics/gimp-app/files/patch-plug-ins_common_url.c b/graphics/gimp-app/files/patch-plug-ins_common_url.c
new file mode 100644
index 000000000..bceff6df1
--- /dev/null
+++ b/graphics/gimp-app/files/patch-plug-ins_common_url.c
@@ -0,0 +1,17 @@
+--- plug-ins/common/url.c.orig Wed Dec 28 13:56:48 2005
++++ plug-ins/common/url.c Wed Dec 28 13:58:33 2005
+@@ -186,10 +186,10 @@
+ putenv ("LANG=C");
+ #endif
+
+- execlp ("wget",
+- "wget", "-v", "-e", "server-response=off", "-T", TIMEOUT,
+- filename, "-O", tmpname, NULL);
+- g_message ("exec() failed: wget: %s", g_strerror (errno));
++ execlp ("fetch",
++ "fetch", "-T", TIMEOUT,
++ filename, "-p", "-o", tmpname, NULL);
++ g_message ("exec() failed: fetch: %s", g_strerror (errno));
+ g_free (tmpname);
+ _exit (127);
+ }