summaryrefslogtreecommitdiff
path: root/finance
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2011-08-20 19:25:38 +0000
committerwiz <wiz@pkgsrc.org>2011-08-20 19:25:38 +0000
commit1935d0de4f7c86c14b82e1d4521fe797af9491bc (patch)
tree13dadf99485fed13cceb2bf03853b24f2b01c44c /finance
parent18289f2124a33ae33d75a11053960b42a754dfa7 (diff)
downloadpkgsrc-1935d0de4f7c86c14b82e1d4521fe797af9491bc.tar.gz
Fix build with gcc-4.5.
Diffstat (limited to 'finance')
-rw-r--r--finance/libofx/distinfo11
-rw-r--r--finance/libofx/patches/patch-ab9
-rw-r--r--finance/libofx/patches/patch-lib_ofx__container__transaction.cpp14
-rw-r--r--finance/libofx/patches/patch-lib_ofx__request.cpp14
-rw-r--r--finance/libofx/patches/patch-lib_ofx__request__accountinfo.cpp14
-rw-r--r--finance/libofx/patches/patch-lib_ofx__request__statement.cpp14
-rw-r--r--finance/libofx/patches/patch-lib_ofx__utilities.cpp16
-rw-r--r--finance/libofx/patches/patch-ofxconnect_ofxconnect.cpp15
-rw-r--r--finance/libofx/patches/patch-ofxdump_ofxdump.cpp15
9 files changed, 117 insertions, 5 deletions
diff --git a/finance/libofx/distinfo b/finance/libofx/distinfo
index bbb516b04b8..90a781e6907 100644
--- a/finance/libofx/distinfo
+++ b/finance/libofx/distinfo
@@ -1,7 +1,14 @@
-$NetBSD: distinfo,v 1.7 2010/05/20 06:54:23 wiz Exp $
+$NetBSD: distinfo,v 1.8 2011/08/20 19:25:38 wiz Exp $
SHA1 (libofx-0.9.1.tar.gz) = a12110ddcbff596e26496865570fb4dcb75c08d0
RMD160 (libofx-0.9.1.tar.gz) = 84b139cb39006f8f6433d490d72e83f103156952
Size (libofx-0.9.1.tar.gz) = 1177818 bytes
SHA1 (patch-aa) = dc3df3ee3b6154a529bf407f9f2eacdf07499c2f
-SHA1 (patch-ab) = 1afecedcc76ac45824a13da1d2a39881c734a179
+SHA1 (patch-ab) = 2c5f2d69778d7428b8247751ccc64053817eb6cf
+SHA1 (patch-lib_ofx__container__transaction.cpp) = 9aba00ec4798e3f93a095d3c49da365d50a7cf89
+SHA1 (patch-lib_ofx__request.cpp) = 699386e96b7528f17b8d95feb5af586bb4bf7fbe
+SHA1 (patch-lib_ofx__request__accountinfo.cpp) = a3e90b301403694cd38a3bd58b5e44d0592bd0d4
+SHA1 (patch-lib_ofx__request__statement.cpp) = 44da33136702f0d84c2fd254026f9e733477edaf
+SHA1 (patch-lib_ofx__utilities.cpp) = fce612ed44de70967fdca6345d1921b4e9c814b4
+SHA1 (patch-ofxconnect_ofxconnect.cpp) = 3b4d556f80474ac6497df1472abb1a9f9e170212
+SHA1 (patch-ofxdump_ofxdump.cpp) = 0a51258e115d39572dce0c254d6a07d545cff2c1
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 */