[packages/libofx] Up to 0.10.9

arekm arekm at pld-linux.org
Sun Mar 15 11:43:26 CET 2026


commit 0d919333c9b63ba4cd7da68d1ac720942d756f29
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Mar 15 11:40:11 2026 +0100

    Up to 0.10.9

 libofx-flags.patch |  8 ++++----
 libofx.spec        | 18 +++++++++---------
 stdc++.patch       | 10 ----------
 3 files changed, 13 insertions(+), 23 deletions(-)
---
diff --git a/libofx.spec b/libofx.spec
index b663c96..2e711cb 100644
--- a/libofx.spec
+++ b/libofx.spec
@@ -1,16 +1,15 @@
 Summary:	LibOFX library that allows applications to support OFX command responses
 Summary(pl.UTF-8):	Biblioteka LibOFX pozwalająca aplikacjom obsługiwać odpowiedzi na polecenia OFX
 Name:		libofx
-Version:	0.9.10
+Version:	0.10.9
 Release:	1
 License:	GPL v2+
 Group:		Libraries
-Source0:	http://downloads.sourceforge.net/libofx/%{name}-%{version}.tar.gz
-# Source0-md5:	adfa83a08d76b047f89a82d5b484f79b
+Source0:	https://github.com/libofx/libofx/archive/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	d53518ec2b5e12573add5477eaeb81c1
 Patch0:		%{name}-system-wide-treehh.patch
-Patch1:		stdc++.patch
-Patch2:		%{name}-flags.patch
-URL:		http://libofx.sourceforge.net/
+Patch1:		%{name}-flags.patch
+URL:		https://github.com/libofx/libofx
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake
 BuildRequires:	curl-devel >= 7.9.7
@@ -72,17 +71,18 @@ Statyczna biblioteka LibOFX.
 %setup -q
 %patch -P0 -p1
 %patch -P1 -p1
-%patch -P2 -p1
 %{__rm} lib/tree.hh
 
 %build
+install -d config
+touch INSTALL
 %{__libtoolize}
 %{__aclocal} -I m4
 %{__autoconf}
 %{__autoheader}
 %{__automake}
 # C++ 11 is required by tree.hh 3+ and libxml++ 2.40+
-CXXFLAGS="%{rpmcxxflags} -std=c++0x"
+CXXFLAGS="%{rpmcxxflags} -std=c++11"
 %configure \
 	--with-opensp-libs=%{_libdir}
 
@@ -112,7 +112,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/ofxconnect
 %attr(755,root,root) %{_bindir}/ofxdump
 %attr(755,root,root) %{_libdir}/libofx.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libofx.so.6
+%attr(755,root,root) %ghost %{_libdir}/libofx.so.7
 %{_datadir}/libofx
 %{_mandir}/man1/ofxconnect.1*
 %{_mandir}/man1/ofxdump.1*
diff --git a/libofx-flags.patch b/libofx-flags.patch
index a36f4f2..ec40e70 100644
--- a/libofx-flags.patch
+++ b/libofx-flags.patch
@@ -1,11 +1,11 @@
---- libofx-0.9.10/configure.in.orig	2014-09-12 21:44:44.000000000 +0200
-+++ libofx-0.9.10/configure.in	2016-02-15 17:43:50.885542399 +0100
-@@ -64,7 +64,7 @@
+--- libofx-0.10.9/configure.ac.orig	2022-10-03 00:00:00.000000000 +0200
++++ libofx-0.10.9/configure.ac	2022-10-03 00:00:01.000000000 +0200
+@@ -45,7 +45,7 @@
  			  [Define if GCC visibility extensions are supported])
  	VISIBILITY_FLAGS="-fvisibility=hidden"
  	CFLAGS="$VISIBILITY_FLAGS $CFLAGS"
 -	CXXFLAGS="$VISIBILITY_FLAGS -fvisibility-inlines-hidden $CFLAGS"
 +	CXXFLAGS="$VISIBILITY_FLAGS -fvisibility-inlines-hidden $CXXFLAGS"
  fi
- 
+
  ## Pass -DIN_LIBOFX to the compiler so we can detect it and include config.h
diff --git a/stdc++.patch b/stdc++.patch
deleted file mode 100644
index 2a2a571..0000000
--- a/stdc++.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- 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/0d919333c9b63ba4cd7da68d1ac720942d756f29



More information about the pld-cvs-commit mailing list