Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package vcdimager for openSUSE:Factory 
checked in at 2025-10-09 15:04:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/vcdimager (Old)
 and      /work/SRC/openSUSE:Factory/.vcdimager.new.11973 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "vcdimager"

Thu Oct  9 15:04:08 2025 rev:38 rq:1308599 version:2.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/vcdimager/vcdimager.changes      2020-11-12 
22:34:26.421851171 +0100
+++ /work/SRC/openSUSE:Factory/.vcdimager.new.11973/vcdimager.changes   
2025-10-09 15:05:30.708169915 +0200
@@ -1,0 +2,6 @@
+Tue Sep 23 13:20:07 UTC 2025 - [email protected]
+
+- fix build with libxml2 2.14
+  * vcdimager-libxml2-2.14.patch
+
+-------------------------------------------------------------------

New:
----
  vcdimager-libxml2-2.14.patch

----------(New B)----------
  New:- fix build with libxml2 2.14
  * vcdimager-libxml2-2.14.patch
----------(New E)----------

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

Other differences:
------------------
++++++ vcdimager.spec ++++++
--- /var/tmp/diff_new_pack.R1nkKI/_old  2025-10-09 15:05:31.792214062 +0200
+++ /var/tmp/diff_new_pack.R1nkKI/_new  2025-10-09 15:05:31.804214551 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package vcdimager
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2025 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
@@ -29,6 +29,8 @@
 Source1:        https://ftp.gnu.org/gnu/vcdimager/%{name}-%{version}.tar.gz.sig
 Source2:        baselibs.conf
 Patch1:         sector_private.patch
+# 
https://gitlab.archlinux.org/archlinux/packaging/packages/vcdimager/-/raw/main/libxml214.diff?ref_type=heads
+Patch2:         vcdimager-libxml2-2.14.patch
 BuildRequires:  fdupes
 BuildRequires:  gawk
 BuildRequires:  gcc-c++


++++++ vcdimager-libxml2-2.14.patch ++++++
diff -Nurp vcdimager-2.0.1/frontends/xml/vcd_xml_common.c 
vcdimager-2.0.1-libxml214/frontends/xml/vcd_xml_common.c
--- vcdimager-2.0.1/frontends/xml/vcd_xml_common.c      2018-01-03 
21:17:37.000000000 +0100
+++ vcdimager-2.0.1-libxml214/frontends/xml/vcd_xml_common.c    2025-04-26 
05:22:03.008769534 +0200
@@ -242,17 +242,27 @@ _convert (const char in[], const char en
 
   temp = size - 1;
   if (from) {
-    if (NULL != handler->output)
-      ret = handler->output (out, &out_size, (const unsigned char *) in, 
&temp);
-    else
+    if (!(handler->flags & 2) && NULL != handler->output.func)
+      ret = handler->output.func (handler->outputCtxt, out, &out_size, (const 
unsigned char *) in, &temp, 1);
+    if ((handler->flags & 2) && NULL != handler->output.legacyFunc)
+      ret = handler->output.legacyFunc (out, &out_size, (const unsigned char 
*) in, &temp);
+    else {
+      xmlCharEncCloseFunc(handler);
       return strdup(in);
+    }
   } else {
-    if (NULL != handler->input)
-      ret = handler->input (out, &out_size, (const unsigned char *) in, &temp);
-    else
+    if (!(handler->flags & 2) && NULL != handler->input.func)
+      ret = handler->input.func (handler->inputCtxt, out, &out_size, (const 
unsigned char *) in, &temp, 1);
+    if ((handler->flags & 2) && NULL != handler->input.legacyFunc)
+      ret = handler->input.legacyFunc (out, &out_size, (const unsigned char *) 
in, &temp);
+    else {
+      xmlCharEncCloseFunc(handler);
       return strdup(in);
+    }
   }
 
+  xmlCharEncCloseFunc(handler);
+
   if (ret < 0 || (temp - size + 1))
     {
       free (out);

Reply via email to