diff options
author | wiz <wiz> | 2011-08-20 19:25:38 +0000 |
---|---|---|
committer | wiz <wiz> | 2011-08-20 19:25:38 +0000 |
commit | 893d01c8ac58f3a351b13f6e55fb1642672079ff (patch) | |
tree | 13dadf99485fed13cceb2bf03853b24f2b01c44c /finance/libofx/patches | |
parent | beb3a16c2461a9848cdbf0be17d412030d6b029b (diff) | |
download | pkgsrc-893d01c8ac58f3a351b13f6e55fb1642672079ff.tar.gz |
Fix build with gcc-4.5.
Diffstat (limited to 'finance/libofx/patches')
8 files changed, 108 insertions, 3 deletions
diff --git a/finance/libofx/patches/patch-ab b/finance/libofx/patches/patch-ab index 51b1906ab45..236cdd2fae1 100644 --- a/finance/libofx/patches/patch-ab +++ b/finance/libofx/patches/patch-ab @@ -1,12 +1,15 @@ -$NetBSD: patch-ab,v 1.3 2006/09/11 07:18:27 joerg Exp $ +$NetBSD: patch-ab,v 1.4 2011/08/20 19:25:39 wiz Exp $ ---- ofxconnect/ofxpartner.cpp.orig 2006-09-11 07:14:37.000000000 +0000 +--- ofxconnect/ofxpartner.cpp.orig 2006-03-26 04:49:54.000000000 +0000 +++ ofxconnect/ofxpartner.cpp -@@ -31,6 +31,7 @@ +@@ -31,7 +31,10 @@ #include "nodeparser.h" #include <sys/stat.h> +#include <unistd.h> ++#include <algorithm> ++#include <cstring> #include <iostream> #include <string> + #include <vector> diff --git a/finance/libofx/patches/patch-lib_ofx__container__transaction.cpp b/finance/libofx/patches/patch-lib_ofx__container__transaction.cpp new file mode 100644 index 00000000000..1266af6b43c --- /dev/null +++ b/finance/libofx/patches/patch-lib_ofx__container__transaction.cpp @@ -0,0 +1,14 @@ +$NetBSD: patch-lib_ofx__container__transaction.cpp,v 1.1 2011/08/20 19:25:39 wiz Exp $ + +Fix build with gcc-4.5. + +--- lib/ofx_container_transaction.cpp.orig 2007-11-09 23:13:21.000000000 +0000 ++++ lib/ofx_container_transaction.cpp +@@ -22,6 +22,7 @@ + #endif + + #include <string> ++#include <stdlib.h> + #include "messages.hh" + #include "libofx.h" + #include "ofx_containers.hh" diff --git a/finance/libofx/patches/patch-lib_ofx__request.cpp b/finance/libofx/patches/patch-lib_ofx__request.cpp new file mode 100644 index 00000000000..df098f646cc --- /dev/null +++ b/finance/libofx/patches/patch-lib_ofx__request.cpp @@ -0,0 +1,14 @@ +$NetBSD: patch-lib_ofx__request.cpp,v 1.1 2011/08/20 19:25:39 wiz Exp $ + +Fix build with gcc-4.5. + +--- lib/ofx_request.cpp.orig 2007-10-28 03:01:38.000000000 +0000 ++++ lib/ofx_request.cpp +@@ -22,6 +22,7 @@ + #endif + + #include <string> ++#include <string.h> + #include "messages.hh" + #include "libofx.h" + #include "ofx_request.hh" diff --git a/finance/libofx/patches/patch-lib_ofx__request__accountinfo.cpp b/finance/libofx/patches/patch-lib_ofx__request__accountinfo.cpp new file mode 100644 index 00000000000..fac5e6b78c2 --- /dev/null +++ b/finance/libofx/patches/patch-lib_ofx__request__accountinfo.cpp @@ -0,0 +1,14 @@ +$NetBSD: patch-lib_ofx__request__accountinfo.cpp,v 1.1 2011/08/20 19:25:39 wiz Exp $ + +Fix build with gcc-4.5. + +--- lib/ofx_request_accountinfo.cpp.orig 2007-10-28 03:01:38.000000000 +0000 ++++ lib/ofx_request_accountinfo.cpp +@@ -22,6 +22,7 @@ + #endif + + #include <string> ++#include <stdlib.h> + #include "libofx.h" + #include "ofx_request_accountinfo.hh" + diff --git a/finance/libofx/patches/patch-lib_ofx__request__statement.cpp b/finance/libofx/patches/patch-lib_ofx__request__statement.cpp new file mode 100644 index 00000000000..79735e7c5d5 --- /dev/null +++ b/finance/libofx/patches/patch-lib_ofx__request__statement.cpp @@ -0,0 +1,14 @@ +$NetBSD: patch-lib_ofx__request__statement.cpp,v 1.1 2011/08/20 19:25:39 wiz Exp $ + +Fix build with gcc-4.5. + +--- lib/ofx_request_statement.cpp.orig 2007-10-28 03:01:38.000000000 +0000 ++++ lib/ofx_request_statement.cpp +@@ -21,6 +21,7 @@ + #include <config.h> + #endif + ++#include <stdlib.h> + #include <string> + #include "libofx.h" + #include "ofx_utilities.hh" diff --git a/finance/libofx/patches/patch-lib_ofx__utilities.cpp b/finance/libofx/patches/patch-lib_ofx__utilities.cpp new file mode 100644 index 00000000000..7bebfd55957 --- /dev/null +++ b/finance/libofx/patches/patch-lib_ofx__utilities.cpp @@ -0,0 +1,16 @@ +$NetBSD: patch-lib_ofx__utilities.cpp,v 1.1 2011/08/20 19:25:39 wiz Exp $ + +Fix build with gcc-4.5. + +--- lib/ofx_utilities.cpp.orig 2007-10-27 12:15:58.000000000 +0000 ++++ lib/ofx_utilities.cpp +@@ -21,7 +21,8 @@ + + #include "ParserEventGeneratorKit.h" + #include "SGMLApplication.h" +-#include <time.h> ++#include <cstdlib> ++#include <ctime> + #include <string> + #include <locale.h> + #include "messages.hh" diff --git a/finance/libofx/patches/patch-ofxconnect_ofxconnect.cpp b/finance/libofx/patches/patch-ofxconnect_ofxconnect.cpp new file mode 100644 index 00000000000..1b33099074e --- /dev/null +++ b/finance/libofx/patches/patch-ofxconnect_ofxconnect.cpp @@ -0,0 +1,15 @@ +$NetBSD: patch-ofxconnect_ofxconnect.cpp,v 1.1 2011/08/20 19:25:39 wiz Exp $ + +Fix build with gcc-4.5. + +--- ofxconnect/ofxconnect.cpp.orig 2007-01-09 08:04:37.000000000 +0000 ++++ ofxconnect/ofxconnect.cpp +@@ -28,6 +28,8 @@ + * (at your option) any later version. * + * * + ***************************************************************************/ ++#include <cstdlib> ++#include <cstring> + #include <iostream> + #include <fstream> + #include <string> diff --git a/finance/libofx/patches/patch-ofxdump_ofxdump.cpp b/finance/libofx/patches/patch-ofxdump_ofxdump.cpp new file mode 100644 index 00000000000..0fde3222b4a --- /dev/null +++ b/finance/libofx/patches/patch-ofxdump_ofxdump.cpp @@ -0,0 +1,15 @@ +$NetBSD: patch-ofxdump_ofxdump.cpp,v 1.1 2011/08/20 19:25:40 wiz Exp $ + +Fix build with gcc-4.5. + +--- ofxdump/ofxdump.cpp.orig 2006-08-02 04:19:22.000000000 +0000 ++++ ofxdump/ofxdump.cpp +@@ -30,6 +30,8 @@ + #include <iostream> + #include <iomanip> + #include <string> ++#include <cstdlib> ++#include <cstring> + #include "libofx.h" + #include <stdio.h> /* for printf() */ + #include <config.h> /* Include config constants, e.g., VERSION TF */ |