aboutsummaryrefslogtreecommitdiff
path: root/libraries/libofx/libofx-0.9.5-gcc47.patch
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2012-10-04 23:26:34 +0200
committerdsomero <xgizzmo@slackbuilds.org>2012-10-07 09:16:15 -0400
commitd7f81dfe0c321f8c875d4d89191415e6ee7ce77d (patch)
treeb650f698fac31178185401c183a3c9da2e28fa3b /libraries/libofx/libofx-0.9.5-gcc47.patch
parent6269a559be426d40718e9c2cb1f900b4896bc208 (diff)
libraries/libofx: Fix building with gcc 4.7.
This slipped through before because it only happens when libxml++ is present on the system. Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'libraries/libofx/libofx-0.9.5-gcc47.patch')
-rw-r--r--libraries/libofx/libofx-0.9.5-gcc47.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/libraries/libofx/libofx-0.9.5-gcc47.patch b/libraries/libofx/libofx-0.9.5-gcc47.patch
new file mode 100644
index 0000000000000..2e6ee8b08d65c
--- /dev/null
+++ b/libraries/libofx/libofx-0.9.5-gcc47.patch
@@ -0,0 +1,11 @@
+diff -ruN libofx-0.9.5.orig/ofxconnect/ofxpartner.cpp libofx-0.9.5/ofxconnect/ofxpartner.cpp
+--- libofx-0.9.5.orig/ofxconnect/ofxpartner.cpp 2011-03-31 00:30:50.000000000 +0200
++++ libofx-0.9.5/ofxconnect/ofxpartner.cpp 2012-06-30 21:57:35.747989782 +0200
+@@ -37,6 +37,7 @@
+ #include <vector>
+ #include <algorithm>
+ #include <string.h>
++#include <unistd.h>
+
+ using std::string;
+ using std::vector;