Fixes build with curl-7.21.7.

Let not to include deprecated header file.
This commit is contained in:
obache 2011-09-12 08:31:39 +00:00
parent f98ab5bc19
commit 7f5c8217b5
2 changed files with 16 additions and 1 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.28 2010/06/27 17:52:56 joerg Exp $
$NetBSD: distinfo,v 1.29 2011/09/12 08:31:39 obache Exp $
SHA1 (octave-3.2.4.tar.bz2) = 7de078564027108f3436f3ba7bf5993a6b411a67
RMD160 (octave-3.2.4.tar.bz2) = 6dcdea7ef2431b8427da5e6b9d2113e0e5736f43
@ -13,3 +13,4 @@ SHA1 (patch-ai) = d7b4841238f7358bea50dd1b1b22cd94ab2af229
SHA1 (patch-ak) = 98aa84ac66fac0b7b0dcdb69e911dc9d42fd6673
SHA1 (patch-an) = 4ce4be6b91fb61e76fe8a85d5120721d562b475a
SHA1 (patch-ao) = 80be57d904d48cc48d8f3da0a3883309a343d084
SHA1 (patch-src_DLD-FUNCTIONS_urlwrite.cc) = bb731c16a1ee1aa174c7cb8f0f479ed3787ecb07

View file

@ -0,0 +1,14 @@
$NetBSD: patch-src_DLD-FUNCTIONS_urlwrite.cc,v 1.1 2011/09/12 08:31:39 obache Exp $
* not to include deprecated CURL header file.
--- src/DLD-FUNCTIONS/urlwrite.cc.orig 2009-05-25 06:05:00.000000000 +0000
+++ src/DLD-FUNCTIONS/urlwrite.cc
@@ -46,7 +46,6 @@ along with Octave; see the file COPYING.
#if defined (HAVE_CURL)
#include <curl/curl.h>
-#include <curl/types.h>
#include <curl/easy.h>
// Write callback function for curl.