openbsd-ports/graphics/wmgrabimage/patches/patch-wmGrabImage_GrabImage
martynas 9ff4557468 There's a fine utility in base, called ftp. There's no reason at
all that some of the ports RUN_DEPEND on wget.
"Nice!" naddy@, who also went even further and made libxml not
BUILD_DEPEND on wget.
2008-06-20 10:49:42 +00:00

19 lines
639 B
Plaintext

$OpenBSD: patch-wmGrabImage_GrabImage,v 1.1 2008/06/20 10:49:42 martynas Exp $
--- wmGrabImage/GrabImage.orig Sun May 27 21:02:18 2001
+++ wmGrabImage/GrabImage Thu Jun 19 21:08:20 2008
@@ -47,13 +47,7 @@
system("cp $ImagePath $home/.wmGrabImage/$ImageName");
} else {
-
-
- #
- # I think some of these wget command line options may cause problems
- # for some people? Dont know why...
- #
- $GrabCmd = "wget --proxy=off --passive-ftp --tries 0 -q -O $home/.wmGrabImage/$ImageName $URL";
+ $GrabCmd = "ftp -V -o $home/.wmGrabImage/$ImageName $URL";
system "$GrabCmd";
}