updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / octave30 / octave305-gcc46.patch
blob6701a72340ee4cdc53a269b41e231cd1e9db7717
1 diff --git a/liboctave/oct-alloc.h b/liboctave/oct-alloc.h
2 index 13fb9f0..2b57693 100644
3 --- a/liboctave/oct-alloc.h
4 +++ b/liboctave/oct-alloc.h
5 @@ -1,7 +1,6 @@
6 /*
8 -Copyright (C) 1996, 1997, 1998, 2002, 2003, 2005, 2006, 2007
9 - John W. Eaton
10 +Copyright (C) 1996-2011 John W. Eaton
12 This file is part of Octave.
14 @@ -24,6 +23,8 @@ along with Octave; see the file COPYING. If not, see
15 #if !defined (octave_oct_alloc_h)
16 #define octave_oct_alloc_h 1
18 +#include <cstddef>
20 class
21 OCTAVE_API
22 octave_allocator
23 diff --git a/src/DLD-FUNCTIONS/urlwrite.cc b/src/DLD-FUNCTIONS/urlwrite.cc
24 index e190642..c721bc1 100644
25 --- a/src/DLD-FUNCTIONS/urlwrite.cc
26 +++ b/src/DLD-FUNCTIONS/urlwrite.cc
27 @@ -43,7 +43,7 @@ along with Octave; see the file COPYING. If not, see
28 #if defined (HAVE_CURL)
30 #include <curl/curl.h>
31 -#include <curl/types.h>
32 +#include <curl/curlver.h>
33 #include <curl/easy.h>
35 // Write callback function for curl.