summaryrefslogtreecommitdiff
path: root/archivers/libcomprex/patches/patch-ad
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-11-12 04:21:07 +0000
committerrillig <rillig@pkgsrc.org>2006-11-12 04:21:07 +0000
commit3e11d5dbc0e2ccdefcf1aeb8a25931471aa83b04 (patch)
tree13b05ab99d218eb16ea94942eeb775e8541d1f75 /archivers/libcomprex/patches/patch-ad
parentc2cf732bb42b38b488b7efc0a0dcb7e2a765af43 (diff)
downloadpkgsrc-3e11d5dbc0e2ccdefcf1aeb8a25931471aa83b04.tar.gz
Added a patch for newer libcurl versions, in which CURLOPT_MUTE has been
removed.
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);