Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package htmlcxx for openSUSE:Factory checked in at 2026-08-14 22:07:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/htmlcxx (Old) and /work/SRC/openSUSE:Factory/.htmlcxx.new.1258 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "htmlcxx" Fri Aug 14 22:07:07 2026 rev:3 rq:1371051 version:0.87 Changes: -------- --- /work/SRC/openSUSE:Factory/htmlcxx/htmlcxx.changes 2021-06-04 00:33:40.996896646 +0200 +++ /work/SRC/openSUSE:Factory/.htmlcxx.new.1258/htmlcxx.changes 2026-08-14 22:07:33.151253333 +0200 @@ -1,0 +2,7 @@ +Thu Aug 13 13:34:51 UTC 2026 - Hillwood Yang <[email protected]> + +- Add htmlcxx-fix-c++20-allocator.patch + * Fix C++20 build error caused by obsolete std::allocator::allocate(size, hint) + syntax in tree.h. + +------------------------------------------------------------------- New: ---- htmlcxx-fix-c++20-allocator.patch ----------(New B)---------- New: - Add htmlcxx-fix-c++20-allocator.patch * Fix C++20 build error caused by obsolete std::allocator::allocate(size, hint) ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ htmlcxx.spec ++++++ --- /var/tmp/diff_new_pack.qV8Ny7/_old 2026-08-14 22:07:34.528303470 +0200 +++ /var/tmp/diff_new_pack.qV8Ny7/_new 2026-08-14 22:07:34.530303543 +0200 @@ -1,7 +1,7 @@ # # spec file for package htmlcxx # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # Copyright (c) 2014 Klaus Singvogel, Kaierberg, Germany. # # All modifications and additions to the file contributed by third parties @@ -21,12 +21,13 @@ Version: 0.87 Release: 0 Summary: HTML and CSS APIs for C++ -License: LGPL-2.0-only AND Apache-2.0 +License: Apache-2.0 AND LGPL-2.0-only Group: Productivity/File utilities URL: http://htmlcxx.sourceforge.net/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz Patch0: %{name}-0.84-cstddef.patch Patch1: 0001-Remove-throw-specifications.patch +Patch2: htmlcxx-fix-c++20-allocator.patch BuildRequires: gcc-c++ BuildRequires: pkgconfig ++++++ htmlcxx-fix-c++20-allocator.patch ++++++ diff -Nur htmlcxx-0.87/html/tree.h htmlcxx-0.87-new/html/tree.h --- htmlcxx-0.87/html/tree.h 2018-12-29 11:13:56.000000000 +0800 +++ htmlcxx-0.87-new/html/tree.h 2026-08-13 21:25:02.366222279 +0800 @@ -416,8 +416,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; @@ -700,7 +700,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; @@ -756,7 +756,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; @@ -864,7 +864,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;
