pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/mediatomb Fix build problem with latest ver...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/afee2289b35d
branches:  trunk
changeset: 552780:afee2289b35d
user:      tron <tron%pkgsrc.org@localhost>
date:      Fri Jan 09 10:17:35 2009 +0000

description:
Fix build problem with latest version of the Curl library using the patch
from MediaTomb's bug tracker on SourceForge.

diffstat:

 multimedia/mediatomb/distinfo         |   3 ++-
 multimedia/mediatomb/patches/patch-ah |  17 +++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r 4c115b663194 -r afee2289b35d multimedia/mediatomb/distinfo
--- a/multimedia/mediatomb/distinfo     Fri Jan 09 08:53:26 2009 +0000
+++ b/multimedia/mediatomb/distinfo     Fri Jan 09 10:17:35 2009 +0000
@@ -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-ae) = dd75f7fd3d2794dd53062d5710285ed96d030c5b
 SHA1 (patch-af) = ec9261d2ec645a07144f8b927fd57a50175903ca
 SHA1 (patch-ag) = 932f8f4d2764c6cb098e0e78e7476527561b198e
+SHA1 (patch-ah) = 9b12a346a61bdeb7d5cc7a7289c0b4046a7a6255
diff -r 4c115b663194 -r afee2289b35d multimedia/mediatomb/patches/patch-ah
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mediatomb/patches/patch-ah     Fri Jan 09 10:17:35 2009 +0000
@@ -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());



Home | Main Index | Thread Index | Old Index