Accepting request 1177468 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1177468 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libxslt?expand=0&rev=69
This commit is contained in:
commit
cc087d898f
27
0001-tests-Fix-build-with-older-libxml2.patch
Normal file
27
0001-tests-Fix-build-with-older-libxml2.patch
Normal file
@ -0,0 +1,27 @@
|
||||
From 02a57a01c603462ce8cc65fc64076a107ccf758e Mon Sep 17 00:00:00 2001
|
||||
From: Nick Wellnhofer <wellnhofer@aevum.de>
|
||||
Date: Fri, 1 Dec 2023 21:05:19 +0100
|
||||
Subject: [PATCH] tests: Fix build with older libxml2
|
||||
|
||||
Fixes #99.
|
||||
---
|
||||
tests/runtest.c | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tests/runtest.c b/tests/runtest.c
|
||||
index ea08824..f61c66a 100644
|
||||
--- a/tests/runtest.c
|
||||
+++ b/tests/runtest.c
|
||||
@@ -456,7 +456,8 @@ initializeLibxml2(void) {
|
||||
xmlSetExternalEntityLoader(xmlNoNetExternalEntityLoader);
|
||||
xmlSetGenericErrorFunc(NULL, testErrorHandler);
|
||||
xsltSetGenericErrorFunc(NULL, testErrorHandler);
|
||||
- xmlSetStructuredErrorFunc(NULL, testStructuredErrorHandler);
|
||||
+ xmlSetStructuredErrorFunc(NULL,
|
||||
+ (xmlStructuredErrorFunc) testStructuredErrorHandler);
|
||||
exsltRegisterAll();
|
||||
xsltRegisterTestModule();
|
||||
xsltMaxDepth = 200;
|
||||
--
|
||||
2.45.1
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 24 16:14:39 UTC 2024 - Christophe Marin <christophe@krop.fr>
|
||||
|
||||
- Add upstream build fix:
|
||||
* 0001-tests-Fix-build-with-older-libxml2.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 5 16:26:10 UTC 2024 - Bruno Pitrus <brunopitrus@hotmail.com>
|
||||
|
||||
|
@ -42,6 +42,8 @@ Patch0: libxslt-1.1.24-no-net-autobuild.patch
|
||||
Patch1: libxslt-random-seed.patch
|
||||
# PATCH-FIX_UPSTREAM -- gcc14-runtest-no-const.patch
|
||||
Patch2: gcc14-runtest-no-const.patch
|
||||
# PATCH-FIX-UPSTREAM -- 0001-tests-Fix-build-with-older-libxml2.patch
|
||||
Patch3: 0001-tests-Fix-build-with-older-libxml2.patch
|
||||
#
|
||||
### SUSE patches starts on 1000
|
||||
# PATCH-FIX-SUSE
|
||||
|
Loading…
Reference in New Issue
Block a user