From 84dda6a68d4559309de5df8e210011a2452e3ded Mon Sep 17 00:00:00 2001 From: EnumDev Date: Mon, 20 Apr 2026 12:19:17 +0300 Subject: [PATCH] Update package version to 2.15.3 --- pkg.info | 4 +-- ...ee-xmlCatalogResolveCache-on-cleanup.patch | 25 ------------------- source.sh | 7 ------ 3 files changed, 2 insertions(+), 34 deletions(-) delete mode 100644 source-files/0001-catalog-Free-xmlCatalogResolveCache-on-cleanup.patch diff --git a/pkg.info b/pkg.info index 51b6d26..43cba70 100644 --- a/pkg.info +++ b/pkg.info @@ -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 diff --git a/source-files/0001-catalog-Free-xmlCatalogResolveCache-on-cleanup.patch b/source-files/0001-catalog-Free-xmlCatalogResolveCache-on-cleanup.patch deleted file mode 100644 index 54c965e..0000000 --- a/source-files/0001-catalog-Free-xmlCatalogResolveCache-on-cleanup.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: "Jan Alexander Steffens (heftig)" -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; diff --git a/source.sh b/source.sh index 597cccc..0a9f56e 100644 --- a/source.sh +++ b/source.sh @@ -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() {