diff options
author | obache <obache> | 2011-09-12 08:31:39 +0000 |
---|---|---|
committer | obache <obache> | 2011-09-12 08:31:39 +0000 |
commit | 1847d5d4ee43c05d53bb7fcc9e9db7607a9755fc (patch) | |
tree | 0a84751eae9417f100016b3f83920722457ba2f9 /math/octave | |
parent | c25cd51aa61b3cef5112ef90c6b7fdd58ea3115e (diff) | |
download | pkgsrc-1847d5d4ee43c05d53bb7fcc9e9db7607a9755fc.tar.gz |
Fixes build with curl-7.21.7.
Let not to include deprecated header file.
Diffstat (limited to 'math/octave')
-rw-r--r-- | math/octave/distinfo | 3 | ||||
-rw-r--r-- | math/octave/patches/patch-src_DLD-FUNCTIONS_urlwrite.cc | 14 |
2 files changed, 16 insertions, 1 deletions
diff --git a/math/octave/distinfo b/math/octave/distinfo index 58a15cbf0de..2c924e75f1f 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 00000000000..23e1947497d --- /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 <curl/curl.h> +-#include <curl/types.h> + #include <curl/easy.h> + + // Write callback function for curl. |