File project.diff of Package xmlstarlet

--- xmlstarlet-xml_depyx.c.diff.orig
+++ xmlstarlet-xml_depyx.c.diff
@@ -1,7 +1,7 @@
 Index: src/xml_depyx.c
 ===================================================================
---- src/xml_depyx.c.orig
-+++ src/xml_depyx.c
+--- a/src/xml_depyx.c.orig
++++ b/src/xml_depyx.c
 @@ -105,6 +105,7 @@ pyxDePyx(char *file)
  {
     static char line[INSZ];
--- xmlstarlet.changes.orig
+++ xmlstarlet.changes
@@ -1,4 +1,13 @@
 -------------------------------------------------------------------
+Tue Sep 23 11:18:15 UTC 2025 - pgajdos@suse.com
+
+- fix build with libxml2 2.14
+- modified patches
+  * xmlstarlet-xml_depyx.c.diff (-p1)
+- added patches
+  * xmlstarlet-libxml2-2.14.patch
+
+-------------------------------------------------------------------
 Wed Jun  7 11:12:36 UTC 2023 - Martin Pluskal <mpluskal@suse.com>
 
 - Modernise spec file 
@@ -278,5 +287,3 @@ Thu Aug 28 14:57:43 CEST 2003 - toms@sus
 
 - New package: xmlstarlet 0.5.1
 
--------------------------------------------------------------------
-
--- xmlstarlet.spec.orig
+++ xmlstarlet.spec
@@ -1,7 +1,7 @@
 #
 # spec file for package xmlstarlet
 #
-# Copyright (c) 2023 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
@@ -26,6 +26,7 @@ URL:            https://sourceforge.net/
 Source:         http://prdownloads.sourceforge.net/xmlstar/xmlstarlet-%{version}.tar.gz
 Source1:        %{name}-rpmlintrc
 Patch2:         %{name}-xml_depyx.c.diff
+Patch3:         %{name}-libxml2-2.14.patch
 BuildRequires:  libxml2-devel >= 2.6.27
 BuildRequires:  libxslt-devel >= 1.1.9
 BuildRequires:  pkgconfig
@@ -38,7 +39,7 @@ set of shell commands in similar way it
 'grep', 'sed', 'awk', 'tr', 'diff', or 'patch'.
 
 %prep
-%autosetup -p0
+%autosetup -p1
 
 %build
 export CFLAGS="%{optflags} -W -Wall"
openSUSE Build Service is sponsored by