Package: ui-utilcpp
Followup-For: Bug #1077768

Dear Maintainer,

I tested a patch based on the upstream removal of strategy struct parameter.

  * Drop strategy (Closes: #1077768)


Thanks for considering the patch.

diff -Nru ui-utilcpp-1.10.3/debian/patches/drop-strategy.patch 
ui-utilcpp-1.10.3/debian/patches/drop-strategy.patch
--- ui-utilcpp-1.10.3/debian/patches/drop-strategy.patch        1970-01-01 
01:00:00.000000000 +0100
+++ ui-utilcpp-1.10.3/debian/patches/drop-strategy.patch        2024-08-07 
08:46:33.000000000 +0200
@@ -0,0 +1,15 @@
+Description: strategy was removed in 
https://github.com/rrthomas/recode/commit/76d7efd2d6c9dfa81270401a346c27c52a9e7f11
+Author: Gianfranco Costamagna <locutusofb...@debian.org>
+Bug-Debian: https://bugs.debian.org/1077768
+Last-Update: 2024-08-07
+
+--- ui-utilcpp-1.10.3.orig/src/ui-utilcpp/Recoder.cpp
++++ ui-utilcpp-1.10.3/src/ui-utilcpp/Recoder.cpp
+@@ -154,7 +154,6 @@ Conversion const * LibRecodeConverter::m
+                       :task_(::recode_new_task(request))
+               {
+                       // Task config
+-                      task_->strategy = RECODE_SEQUENCE_IN_MEMORY;
+                       task_->fail_level = sloppy ? RECODE_INVALID_INPUT : 
RECODE_NOT_CANONICAL;
+
+                       task_->input.buffer = buf;
diff -Nru ui-utilcpp-1.10.3/debian/patches/series 
ui-utilcpp-1.10.3/debian/patches/series
--- ui-utilcpp-1.10.3/debian/patches/series     1970-01-01 01:00:00.000000000 
+0100
+++ ui-utilcpp-1.10.3/debian/patches/series     2024-08-07 08:45:44.000000000 
+0200
@@ -0,0 +1 @@
+drop-strategy.patch

However with this patch the testsuite now hangs, not sure if this is related or 
not.

G.

Reply via email to