Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libofx for openSUSE:Factory checked 
in at 2026-08-18 16:38:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libofx (Old)
 and      /work/SRC/openSUSE:Factory/.libofx.new.1258 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libofx"

Tue Aug 18 16:38:17 2026 rev:42 rq:1371759 version:0.10.9

Changes:
--------
--- /work/SRC/openSUSE:Factory/libofx/libofx.changes    2025-06-24 
20:48:07.021737583 +0200
+++ /work/SRC/openSUSE:Factory/.libofx.new.1258/libofx.changes  2026-08-18 
16:38:58.430278564 +0200
@@ -1,0 +2,7 @@
+Tue Aug 18 10:45:00 UTC 2026 - Dominique Leuenberger <[email protected]>
+
+- Add libofx-cxx20-allocator.patch: Remove second parameter to
+  std::allocator::allocate in tree.hh to fix compilation error with
+  C++20 (GCC 16) (gh#libofx/libofx#105).
+
+-------------------------------------------------------------------

New:
----
  libofx-cxx20-allocator.patch

----------(New B)----------
  New:
- Add libofx-cxx20-allocator.patch: Remove second parameter to
  std::allocator::allocate in tree.hh to fix compilation error with
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libofx.spec ++++++
--- /var/tmp/diff_new_pack.ntMKGq/_old  2026-08-18 16:38:59.219306800 +0200
+++ /var/tmp/diff_new_pack.ntMKGq/_new  2026-08-18 16:38:59.224306979 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libofx
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,8 @@
 Source:         
https://github.com/libofx/libofx/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 # PATCH-FIX-UPSTREAM
 Patch0:         0001-Remove-handling-for-obsolete-partner-server.patch
+# PATCH-FIX-UPSTREAM libofx-cxx20-allocator.patch gh#libofx/libofx#105 
[email protected] -- Remove 2nd argument of std::allocator::allocate for 
C++20 compliance
+Patch1:         libofx-cxx20-allocator.patch
 BuildRequires:  cmake
 BuildRequires:  dos2unix
 BuildRequires:  doxygen

++++++ libofx-cxx20-allocator.patch ++++++
--- libofx-0.10.9/lib/tree.hh.orig      2026-08-18 14:22:30.333711401 +0200
+++ libofx-0.10.9/lib/tree.hh   2026-08-18 14:22:33.152731263 +0200
@@ -467,8 +467,8 @@
 template <class T, class tree_node_allocator>
 void tree<T, tree_node_allocator>::head_initialise_()
 {
-  head = alloc_.allocate(1, 0); // MSVC does not have default second argument
-  feet = alloc_.allocate(1, 0);
+  head = alloc_.allocate(1); // MSVC does not have default second argument
+  feet = alloc_.allocate(1);
 
   head->parent = 0;
   head->first_child = 0;
@@ -743,7 +743,7 @@
 {
   assert(position.node != head);
 
-  tree_node* tmp = alloc_.allocate(1, 0);
+  tree_node* tmp = alloc_.allocate(1);
   kp::constructor(&tmp->data);
   tmp->first_child = 0;
   tmp->last_child = 0;
@@ -773,7 +773,7 @@
   // the API change.
   assert(position.node != head);
 
-  tree_node* tmp = alloc_.allocate(1, 0);
+  tree_node* tmp = alloc_.allocate(1);
   kp::constructor(&tmp->data, x);
   tmp->first_child = 0;
   tmp->last_child = 0;
@@ -833,7 +833,7 @@
     position.node = feet; // Backward compatibility: when calling insert on a 
null node,
     // insert before the feet.
   }
-  tree_node* tmp = alloc_.allocate(1, 0);
+  tree_node* tmp = alloc_.allocate(1);
   kp::constructor(&tmp->data, x);
   tmp->first_child = 0;
   tmp->last_child = 0;
@@ -856,7 +856,7 @@
 template <class T, class tree_node_allocator>
 typename tree<T, tree_node_allocator>::sibling_iterator tree<T, 
tree_node_allocator>::insert(sibling_iterator position, const T& x)
 {
-  tree_node* tmp = alloc_.allocate(1, 0);
+  tree_node* tmp = alloc_.allocate(1);
   kp::constructor(&tmp->data, x);
   tmp->first_child = 0;
   tmp->last_child = 0;
@@ -889,7 +889,7 @@
 template <class iter>
 iter tree<T, tree_node_allocator>::insert_after(iter position, const T& x)
 {
-  tree_node* tmp = alloc_.allocate(1, 0);
+  tree_node* tmp = alloc_.allocate(1);
   kp::constructor(&tmp->data, x);
   tmp->first_child = 0;
   tmp->last_child = 0;
@@ -951,7 +951,7 @@
 
   // replace the node at position with head of the replacement tree at from
   erase_children(position);
-  tree_node* tmp = alloc_.allocate(1, 0);
+  tree_node* tmp = alloc_.allocate(1);
   kp::constructor(&tmp->data, (*from));
   tmp->first_child = 0;
   tmp->last_child = 0;

Reply via email to