libxslt/gcc14-runtest-no-const.patch
Pedro Monreal Gonzalez 26d6e58210 - Update to 1.1.42:
* Regressions:
    - extensions: Readd call to xmlCheckFilename with older libxml2
  * Improvments:
    - utils: Don't use deprecated xmlCharEncodingHandler member
    - transform: Handle filesystem paths after libxml2 changes
    - locale: Work around issue with FreeBSD's strxfrm_l
  * Build systems:
    - cmake: Add LIBXSLT_WITH_PROGRAMS option (Don Olmstead)
    - cmake: Fix HAVE_GCRYPT check
- Update to 1.1.41:
  * Removals:
    - autotools: Stop installing libxslt.m4
    - autotools: Remove RPM build
  * Improvements:
    - libxslt: Set _FILE_OFFSET_BITS to 64
    - xsltproc: Remove unneeded includes
    - include: Don't define ATTRIBUTE_UNUSED in public header
    - xsltproc: Make "-" read from stdin
  * Build systems:
    - cmake: Adjust paths for UNIX or UNIX-like target systems (Daniel E)
  * Tests:
    - cmake: Link testplugin with libxml2
    - tests: Link testplugin with libxml2
    - tests: Fix expected error after libxml2 change
    - runtest: Switch to xmlFormatError
    - fuzz: Avoid accessing internal struct members
- Update to 1.1.40:
  * Removals:
    - xsltproc: remove maxparserdepth option (Mike Dalessio)

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxslt?expand=0&rev=107
2025-01-17 17:19:05 +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;