summaryrefslogtreecommitdiff
path: root/archivers/libcomprex/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/libcomprex/patches/patch-ad')
-rw-r--r--archivers/libcomprex/patches/patch-ad14
1 files changed, 14 insertions, 0 deletions
diff --git a/archivers/libcomprex/patches/patch-ad b/archivers/libcomprex/patches/patch-ad
new file mode 100644
index 00000000000..96e65705c43
--- /dev/null
+++ b/archivers/libcomprex/patches/patch-ad
@@ -0,0 +1,14 @@
+$NetBSD: patch-ad,v 1.1 2006/11/12 04:21:07 rillig Exp $
+
+--- modules/scheme/curl/curl.c.orig 2003-01-01 07:22:34.000000000 +0100
++++ modules/scheme/curl/curl.c 2006-11-12 05:16:12.000000000 +0100
+@@ -51,7 +51,9 @@ schemeGet(const char *scheme, const char
+
+ curl_easy_setopt(curl, CURLOPT_URL, url);
+ curl_easy_setopt(curl, CURLOPT_NOPROGRESS, 1);
++#if LIBCURL_VERSION_NUM < 0x71000
+ curl_easy_setopt(curl, CURLOPT_MUTE, 1);
++#endif
+ curl_easy_setopt(curl, CURLOPT_FILE, fp);
+
+ res = curl_easy_perform(curl);