summaryrefslogtreecommitdiff
path: root/finance/libofx/patches/patch-ofxdump_ofxdump.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'finance/libofx/patches/patch-ofxdump_ofxdump.cpp')
-rw-r--r--finance/libofx/patches/patch-ofxdump_ofxdump.cpp15
1 files changed, 15 insertions, 0 deletions
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 */