diff options
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/libofx/README | 2 | ||||
-rw-r--r-- | libraries/libofx/libofx-0.9.5-gcc47.patch | 11 | ||||
-rw-r--r-- | libraries/libofx/libofx.SlackBuild | 5 |
3 files changed, 16 insertions, 2 deletions
diff --git a/libraries/libofx/README b/libraries/libofx/README index 2b4aa2153771f..db7c810d85436 100644 --- a/libraries/libofx/README +++ b/libraries/libofx/README @@ -1,3 +1,5 @@ LibOFX is a parser and an API designed to allow applications to very easily support OFX command responses, usually provided by financial institutions for statement downloads. + +This optionally depends on libxml++ in order to build ofxconnect. 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; diff --git a/libraries/libofx/libofx.SlackBuild b/libraries/libofx/libofx.SlackBuild index 17d01f536f462..3f5d932b80454 100644 --- a/libraries/libofx/libofx.SlackBuild +++ b/libraries/libofx/libofx.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=libofx VERSION=0.9.5 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -65,7 +65,8 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . -# Patch to fix compilation on gcc-4.3.x +# Patch to fix compilation with gcc 4.7 +patch -p1 -i $CWD/libofx-0.9.5-gcc47.patch CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ |