$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());