summaryrefslogtreecommitdiff
path: root/multimedia/mediatomb/patches/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/mediatomb/patches/patch-ah')
-rw-r--r--multimedia/mediatomb/patches/patch-ah17
1 files changed, 17 insertions, 0 deletions
diff --git a/multimedia/mediatomb/patches/patch-ah b/multimedia/mediatomb/patches/patch-ah
new file mode 100644
index 00000000000..304b3f8fa40
--- /dev/null
+++ b/multimedia/mediatomb/patches/patch-ah
@@ -0,0 +1,17 @@
+$NetBSD: patch-ah,v 1.1 2009/01/09 10:17:35 tron Exp $
+
+Fix compilation with newer version of "curl", see here:
+
+http://sourceforge.net/tracker/index.php?func=detail&aid=1978210&group_id=129766&atid=715780
+
+--- src/url.cc.orig 2008-03-01 22:48:36.000000000 +0000
++++ src/url.cc 2009-01-09 10:09:10.000000000 +0000
+@@ -75,7 +75,7 @@
+
+ if (only_header)
+ {
+- curl_easy_setopt(curl_handle, CURLOPT_NOBODY);
++ curl_easy_setopt(curl_handle, CURLOPT_NOBODY, 1);
+ curl_easy_setopt(curl_handle, CURLOPT_HEADERFUNCTION, URL::dl);
+ curl_easy_setopt(curl_handle, CURLOPT_HEADERDATA,
+ (void *)buffer.getPtr());