From 7f5c8217b5df6ccb2fd843a393a7794156c67658 Mon Sep 17 00:00:00 2001 From: obache Date: Mon, 12 Sep 2011 08:31:39 +0000 Subject: [PATCH] Fixes build with curl-7.21.7. Let not to include deprecated header file. --- math/octave/distinfo | 3 ++- .../patches/patch-src_DLD-FUNCTIONS_urlwrite.cc | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 math/octave/patches/patch-src_DLD-FUNCTIONS_urlwrite.cc diff --git a/math/octave/distinfo b/math/octave/distinfo index 58a15cbf0dee..2c924e75f1f9 100644 --- a/math/octave/distinfo +++ b/math/octave/distinfo @@ -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 diff --git a/math/octave/patches/patch-src_DLD-FUNCTIONS_urlwrite.cc b/math/octave/patches/patch-src_DLD-FUNCTIONS_urlwrite.cc new file mode 100644 index 000000000000..23e1947497d6 --- /dev/null +++ b/math/octave/patches/patch-src_DLD-FUNCTIONS_urlwrite.cc @@ -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 +-#include + #include + + // Write callback function for curl.