[packages/libofx] - fix building with current c++ - rel 2
baggins
baggins at pld-linux.org
Sun May 24 21:35:52 CEST 2015
commit 78a061fb423e0de108c5eafd2ffc4b9fbe653160
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun May 24 21:35:31 2015 +0200
- fix building with current c++
- rel 2
libofx.spec | 4 +++-
stdc++.patch | 10 ++++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/libofx.spec b/libofx.spec
index ae22ab1..e290945 100644
--- a/libofx.spec
+++ b/libofx.spec
@@ -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
index 0000000..2a2a571
--- /dev/null
+++ b/stdc++.patch
@@ -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>
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libofx.git/commitdiff/78a061fb423e0de108c5eafd2ffc4b9fbe653160
More information about the pld-cvs-commit
mailing list