Fix build with libxml2-2.12.0

https://github.com/ibm-s390-linux/s390-tools/pull/160
This commit is contained in:
Yaakov Selkowitz 2023-12-12 19:50:01 -05:00
parent f00ff2ac55
commit 0f03699129
2 changed files with 15 additions and 0 deletions

12
libxml2-parser.patch Normal file
View File

@ -0,0 +1,12 @@
diff --git a/libkmipclient/kmip.h b/libkmipclient/kmip.h
index e918577..3344cb0 100644
--- a/libkmipclient/kmip.h
+++ b/libkmipclient/kmip.h
@@ -16,6 +16,7 @@
#include <openssl/ssl.h>
#include <json-c/json.h>
+#include <libxml/parser.h>
#include <libxml/tree.h>
#include <curl/curl.h>

View File

@ -49,6 +49,9 @@ Patch0: s390-tools-zipl-invert-script-options.patch
Patch1: s390-tools-zipl-blscfg-rpm-nvr-sort.patch Patch1: s390-tools-zipl-blscfg-rpm-nvr-sort.patch
# https://github.com/ibm-s390-linux/s390-tools/pull/155 # https://github.com/ibm-s390-linux/s390-tools/pull/155
Patch2: snmp-semicolon.patch Patch2: snmp-semicolon.patch
# fix build with libxml2-2.12.0
# https://github.com/ibm-s390-linux/s390-tools/pull/160
Patch3: libxml2-parser.patch
# upstream fixes/updates # upstream fixes/updates
#Patch100: s390utils-%%{version}-fedora.patch #Patch100: s390utils-%%{version}-fedora.patch