From: Alexander Kanavin Date: Fri, 19 Jun 2026 08:32:52 +0000 (+0200) Subject: libsolv: upgrade 0.7.37 -> 0.7.39 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11465472e9b8eb23ac525209d9601e8626ecc196;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git libsolv: upgrade 0.7.37 -> 0.7.39 Drop a patch as upstream solved the issue separately by moving the data to the heap. Signed-off-by: Alexander Kanavin Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-extended/libsolv/libsolv/0001-compress_buf-fix-musl-segfaults.patch b/meta/recipes-extended/libsolv/libsolv/0001-compress_buf-fix-musl-segfaults.patch deleted file mode 100644 index c2734eb676..0000000000 --- a/meta/recipes-extended/libsolv/libsolv/0001-compress_buf-fix-musl-segfaults.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 847fb663583fd01121313d1ec0e9ceab240c9143 Mon Sep 17 00:00:00 2001 -From: Adam Duskett -Date: Thu, 26 Mar 2026 12:11:42 +0100 -Subject: [PATCH] compress_buf: fix musl segfaults - -By default, musl has a stack size of 128K, while the compress_buf -method uses 256KB of stack space! - -The easiest course of action is to add `static thread_local` -to htab and hnext. - -Upstream-Status: Submitted [https://github.com/openSUSE/libsolv/pull/612] - -Signed-off-by: Adam Duskett ---- - src/repopage.c | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/src/repopage.c b/src/repopage.c -index 77c7fcc7..470e4f34 100644 ---- a/src/repopage.c -+++ b/src/repopage.c -@@ -29,6 +29,7 @@ - #include - #include - #include -+#include - - #ifdef _WIN32 - #include -@@ -100,8 +101,8 @@ compress_buf(const unsigned char *in, unsigned int in_len, - unsigned int oo = 0; /* out-offset */ - unsigned int io = 0; /* in-offset */ - #define HS (65536) -- Ref htab[HS]; -- Ref hnext[BLOCK_SIZE]; -+ static thread_local Ref htab[HS]; -+ static thread_local Ref hnext[BLOCK_SIZE]; - unsigned int litofs = 0; - memset(htab, -1, sizeof (htab)); - memset(hnext, -1, sizeof (hnext)); diff --git a/meta/recipes-extended/libsolv/libsolv_0.7.37.bb b/meta/recipes-extended/libsolv/libsolv_0.7.39.bb similarity index 92% rename from meta/recipes-extended/libsolv/libsolv_0.7.37.bb rename to meta/recipes-extended/libsolv/libsolv_0.7.39.bb index 1a95d1d11d..48fa03eb70 100644 --- a/meta/recipes-extended/libsolv/libsolv_0.7.37.bb +++ b/meta/recipes-extended/libsolv/libsolv_0.7.39.bb @@ -9,11 +9,10 @@ LIC_FILES_CHKSUM = "file://LICENSE.BSD;md5=62272bd11c97396d4aaf1c41bc11f7d8" DEPENDS = "expat zlib zstd" SRC_URI = "git://github.com/openSUSE/libsolv.git;branch=master;protocol=https;tag=${PV} \ - file://0001-compress_buf-fix-musl-segfaults.patch \ file://run-ptest \ " -SRCREV = "806c0513cd0799a37802f483710cfbdcc6d16b5f" +SRCREV = "2f58c6f86edd978d6bdbd87dce9c85388e9b9dcc" UPSTREAM_CHECK_GITTAGREGEX = "(?P\d+(\.\d+)+)"