pkgsrc/sysutils/xentools20/patches/patch-bb
seb 9ab4a5acbe Fix build with libcurl-7.6.10.
Fix build with NetBSD's current gcc 4.1.2.
Bump PKGREVISION to 9.

Approved by maintainer.
2006-11-22 00:12:34 +00:00

16 lines
473 B
Text

$NetBSD: patch-bb,v 1.1 2006/11/22 00:12:34 seb Exp $
--- xfrd/xen_domain.c.orig 2005-08-03 23:57:58.000000000 +0000
+++ xfrd/xen_domain.c
@@ -223,9 +223,11 @@ static int curlsetup(CURL **pcurl, struc
#else
// No progress meter.
curl_easy_setopt(curl, CURLOPT_NOPROGRESS, 1);
+#if defined(CURLOPT_MUTE)
// Completely quiet.
curl_easy_setopt(curl, CURLOPT_MUTE, 1);
#endif
+#endif
// Set the URL.
curl_easy_setopt(curl, CURLOPT_URL, url);