]> git.pld-linux.org Git - packages/libofx.git/commitdiff
- fix building with current c++ auto/th/libofx-0.9.4-2
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 24 May 2015 19:35:31 +0000 (21:35 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 24 May 2015 19:35:31 +0000 (21:35 +0200)
- rel 2

libofx.spec
stdc++.patch [new file with mode: 0644]

index ae22ab1a111a6f0c442afe5ec09222c52ca3ddff..e290945d92131225d4ac818f264c1a49c05ce2fe 100644 (file)
@@ -2,12 +2,13 @@ Summary:      LibOFX library that allows applications to support OFX command response
 Summary(pl.UTF-8):     Biblioteka LibOFX pozwalająca aplikacjom obsługiwać odpowiedzi na polecenia OFX
 Name:          libofx
 Version:       0.9.4
-Release:       1
+Release:       2
 License:       GPL v2+
 Group:         Libraries
 Source0:       http://downloads.sourceforge.net/libofx/%{name}-%{version}.tar.gz
 # Source0-md5: f2419bf8d01c0cff74efe7084e0a26c5
 Patch0:                %{name}-system-wide-treehh.patch
+Patch1:                stdc++.patch
 URL:           http://libofx.sourceforge.net/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -68,6 +69,7 @@ Statyczna biblioteka LibOFX.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 rm -f lib/tree.hh
 
 %build
diff --git a/stdc++.patch b/stdc++.patch
new file mode 100644 (file)
index 0000000..2a2a571
--- /dev/null
@@ -0,0 +1,10 @@
+--- libofx-0.9.4/ofxconnect/ofxpartner.cpp~    2011-03-31 00:30:50.000000000 +0200
++++ libofx-0.9.4/ofxconnect/ofxpartner.cpp     2015-05-24 21:34:39.050758092 +0200
+@@ -30,6 +30,7 @@
+ #include "ofxpartner.h"
+ #include "nodeparser.h"
++#include <unistd.h>
+ #include <sys/stat.h>
+ #include <iostream>
This page took 0.201476 seconds and 4 git commands to generate.