diff options
author | tron <tron@pkgsrc.org> | 2009-01-09 10:17:35 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2009-01-09 10:17:35 +0000 |
commit | ee54baa5ce6c50aaf82d6aaa1fc17a31de516639 (patch) | |
tree | 309af20887204d5cc0b653951b2887d8eda6eaf7 /multimedia/mediatomb | |
parent | 09a8763fee10d5a61cd85228c15056a452916153 (diff) | |
download | pkgsrc-ee54baa5ce6c50aaf82d6aaa1fc17a31de516639.tar.gz |
Fix build problem with latest version of the Curl library using the patch
from MediaTomb's bug tracker on SourceForge.
Diffstat (limited to 'multimedia/mediatomb')
-rw-r--r-- | multimedia/mediatomb/distinfo | 3 | ||||
-rw-r--r-- | multimedia/mediatomb/patches/patch-ah | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/multimedia/mediatomb/distinfo b/multimedia/mediatomb/distinfo index 8d7e6872ff2..5bf6c2a6774 100644 --- a/multimedia/mediatomb/distinfo +++ b/multimedia/mediatomb/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.3 2008/04/11 10:11:59 agc Exp $ +$NetBSD: distinfo,v 1.4 2009/01/09 10:17:35 tron Exp $ SHA1 (mediatomb-0.11.0.tar.gz) = 1d7c86924686f9999a359ba96092aa36d30832a6 RMD160 (mediatomb-0.11.0.tar.gz) = 11c53d5757da3a689c025107331526c0486befc4 @@ -10,3 +10,4 @@ SHA1 (patch-ad) = 6ab358d4ad7530a8337db154017024da8bf89fbf SHA1 (patch-ae) = dd75f7fd3d2794dd53062d5710285ed96d030c5b SHA1 (patch-af) = ec9261d2ec645a07144f8b927fd57a50175903ca SHA1 (patch-ag) = 932f8f4d2764c6cb098e0e78e7476527561b198e +SHA1 (patch-ah) = 9b12a346a61bdeb7d5cc7a7289c0b4046a7a6255 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()); |