Fix build with newer curl.

This commit is contained in:
joerg 2011-07-21 14:31:52 +00:00
parent 8692ff62cb
commit 597b3559a7
2 changed files with 12 additions and 4 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.8 2008/08/02 17:26:23 dholland Exp $ $NetBSD: distinfo,v 1.9 2011/07/21 14:31:52 joerg Exp $
SHA1 (libcomprex-0.3.3.tar.gz) = a1ccd214a67aea3863dda866391921b94f162dea SHA1 (libcomprex-0.3.3.tar.gz) = a1ccd214a67aea3863dda866391921b94f162dea
RMD160 (libcomprex-0.3.3.tar.gz) = 1a4420ce23d88108e6678f6b3bfddad522dd159b RMD160 (libcomprex-0.3.3.tar.gz) = 1a4420ce23d88108e6678f6b3bfddad522dd159b
@ -6,5 +6,5 @@ Size (libcomprex-0.3.3.tar.gz) = 685822 bytes
SHA1 (patch-aa) = 967fdbf14cf06ff1f483df16bfe45226a8b64e5c SHA1 (patch-aa) = 967fdbf14cf06ff1f483df16bfe45226a8b64e5c
SHA1 (patch-ab) = f529232ae7bb809fda655735c15803a0913304c8 SHA1 (patch-ab) = f529232ae7bb809fda655735c15803a0913304c8
SHA1 (patch-ac) = 0f7a3cfd0ecd8fecd5054738e407c40f9120f3de SHA1 (patch-ac) = 0f7a3cfd0ecd8fecd5054738e407c40f9120f3de
SHA1 (patch-ad) = 66f7dccbef72ad680ca09de33b95d7b75589f03e SHA1 (patch-ad) = cdca93e4f106dcaea085cf9fc6abbc75b6dde8bb
SHA1 (patch-ae) = 645e16eab2620d13a982629bb02fdf99aafec0b4 SHA1 (patch-ae) = 645e16eab2620d13a982629bb02fdf99aafec0b4

View file

@ -1,8 +1,16 @@
$NetBSD: patch-ad,v 1.1 2006/11/12 04:21:07 rillig Exp $ $NetBSD: patch-ad,v 1.2 2011/07/21 14:31:52 joerg Exp $
--- modules/scheme/curl/curl.c.orig 2003-01-01 07:22:34.000000000 +0100 --- modules/scheme/curl/curl.c.orig 2003-01-01 07:22:34.000000000 +0100
+++ modules/scheme/curl/curl.c 2006-11-12 05:16:12.000000000 +0100 +++ modules/scheme/curl/curl.c 2006-11-12 05:16:12.000000000 +0100
@@ -51,7 +51,9 @@ schemeGet(const char *scheme, const char @@ -23,7 +23,6 @@
#include <libcomprex/internal.h>
#include <curl/curl.h>
-#include <curl/types.h>
#include <curl/easy.h>
static CxStatus
@@ -51,7 +50,9 @@ schemeGet(const char *scheme, const char
curl_easy_setopt(curl, CURLOPT_URL, url); curl_easy_setopt(curl, CURLOPT_URL, url);
curl_easy_setopt(curl, CURLOPT_NOPROGRESS, 1); curl_easy_setopt(curl, CURLOPT_NOPROGRESS, 1);