Accepting request 1176766 from home:krop:gcc14
Add upstream build fix for gcc14 failure OBS-URL: https://build.opensuse.org/request/show/1176766 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxslt?expand=0&rev=103
This commit is contained in:
parent
51f4741901
commit
e9d43d6a33
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>
|
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
|
Patch1: libxslt-random-seed.patch
|
||||||
# PATCH-FIX_UPSTREAM -- gcc14-runtest-no-const.patch
|
# PATCH-FIX_UPSTREAM -- gcc14-runtest-no-const.patch
|
||||||
Patch2: 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
|
### SUSE patches starts on 1000
|
||||||
# PATCH-FIX-SUSE
|
# PATCH-FIX-SUSE
|
||||||
|
Loading…
Reference in New Issue
Block a user