libxslt/gcc14-runtest-no-const.patch
David Anes 51f4741901 Accepting request 1172005 from home:dziobian
- Fix ftbfs with GCC14 (bsc#1220571)
  * correct libxslt-random-seed.patch to include time.h unconditionally
  * add gcc14-runtest-no-const.patch

OBS-URL: https://build.opensuse.org/request/show/1172005
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxslt?expand=0&rev=101
2024-05-06 07:04:35 +00:00

12 lines
440 B
Diff

--- libxslt-1.1.39/tests/runtest.c.old 2023-11-16 12:36:28.000000000 +0000
+++ libxslt-1.1.39/tests/runtest.c 2024-05-05 16:25:22.656618600 +0000
@@ -269,7 +269,7 @@ xmlParserPrintFileContextInternal(xmlPar
}
static void
-testStructuredErrorHandler(void *ctx ATTRIBUTE_UNUSED, const xmlError *err) {
+testStructuredErrorHandler(void *ctx ATTRIBUTE_UNUSED, xmlError *err) {
char *file = NULL;
int line = 0;
int code = -1;