Update package version to 2.15.3

This commit is contained in:
2026-04-20 12:19:17 +03:00
parent 8184f646e3
commit 84dda6a68d
3 changed files with 2 additions and 34 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
name: libxml2
description: XML C parser and toolkit
version: 2.15.2
version: 2.15.3
revision: 1
url: https://gitlab.gnome.org/GNOME/libxml2
license: MIT
@@ -24,4 +24,4 @@ downloads:
- url: https://download.gnome.org/sources/libxml2/${BPM_PKG_VERSION%.*}/libxml2-${BPM_PKG_VERSION}.tar.xz
extract_to: ${BPM_SOURCE}
extract_strip_components: 1
checksum: c8b9bc81f8b590c33af8cc6c336dbff2f53409973588a351c95f1c621b13d09d
checksum: 78262a6e7ac170d6528ebfe2efccdf220191a5af6a6cd61ea4a9a9a5042c7a07
@@ -1,25 +0,0 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: "Jan Alexander Steffens (heftig)" <[email protected]>
Date: Wed, 4 Mar 2026 19:08:16 +0100
Subject: [PATCH] catalog: Free xmlCatalogResolveCache on cleanup
Otherwise the `tstLastError.py` test will complain about a memory leak.
Fixes: b706c5c5b7ce11d002a5b77ff938aa3693931c12 (Add xmlCatalogResolveCache)
Fixes: https://gitlab.gnome.org/GNOME/libxml2/-/issues/1069
---
catalog.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/catalog.c b/catalog.c
index 8a5ca77a6ae1..bfaf099f47a4 100644
--- a/catalog.c
+++ b/catalog.c
@@ -3338,6 +3338,7 @@ xmlCatalogCleanup(void) {
if (xmlDebugCatalogs)
xmlCatalogPrintDebug(
"Catalogs cleanup\n");
+ xmlResetCatalogResolveCache();
if (xmlCatalogXMLFiles != NULL)
xmlHashFree(xmlCatalogXMLFiles, xmlFreeCatalogHashEntryList);
xmlCatalogXMLFiles = NULL;
-7
View File
@@ -2,13 +2,6 @@
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
# The prepare function is executed in the root of the temp directory
# This function is used for putting downloaded files to the correct location or applying patches
prepare() {
cd "$BPM_SOURCE"
patch -Np1 -i "$BPM_WORKDIR"/0001-catalog-Free-xmlCatalogResolveCache-on-cleanup.patch
}
# The build function is executed in the source directory
# This function is used to compile the source code
build() {