From 4f52104386cc7d46eb4b711675c76502f0fb5f7b Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Thu, 29 May 2025 09:57:51 +0200 Subject: [PATCH] yaz, bump to 5.35.1 (#12449) --- dev-libs/yaz/patches/yaz-5.34.0.patchset | 187 ------------------ .../{yaz-5.34.0.recipe => yaz-5.35.1.recipe} | 7 +- 2 files changed, 3 insertions(+), 191 deletions(-) delete mode 100644 dev-libs/yaz/patches/yaz-5.34.0.patchset rename dev-libs/yaz/{yaz-5.34.0.recipe => yaz-5.35.1.recipe} (96%) diff --git a/dev-libs/yaz/patches/yaz-5.34.0.patchset b/dev-libs/yaz/patches/yaz-5.34.0.patchset deleted file mode 100644 index 194f9f33f..000000000 --- a/dev-libs/yaz/patches/yaz-5.34.0.patchset +++ /dev/null @@ -1,187 +0,0 @@ -From 2ea7588c18ef673137062804b1ecb50e32748ae9 Mon Sep 17 00:00:00 2001 -From: Mamoru TASAKA -Date: Tue, 21 Nov 2023 23:39:48 +0900 -Subject: FIX: fix build error with libxml2 2.12.0 - -libxml2 2.12.0 changed which header file to define functions -and header inclusion. Due to this refactoring, some yaz source -files need additional inclusion of libxml2 header file, -especially for libxml/parser.h . - -Closes #102 . - -diff --git a/client/client.c b/client/client.c -index 34e6a77..369564a 100644 ---- a/client/client.c -+++ b/client/client.c -@@ -73,6 +73,10 @@ - #include - #endif - -+#if YAZ_HAVE_XML2 -+#include -+#endif -+ - - #include "admin.h" - #include "tabcomplete.h" -diff --git a/src/record_render.c b/src/record_render.c -index 82fa698..654aca4 100644 ---- a/src/record_render.c -+++ b/src/record_render.c -@@ -23,6 +23,7 @@ - #include - - #if YAZ_HAVE_XML2 -+#include - #include - #include - #endif -diff --git a/test/test_ccl.c b/test/test_ccl.c -index bb3e932..b970870 100644 ---- a/test/test_ccl.c -+++ b/test/test_ccl.c -@@ -11,6 +11,9 @@ - #include - #include - -+#if YAZ_HAVE_XML2 -+#include -+#endif - - static int tst_ccl_query(CCL_bibset bibset, - const char *query, -diff --git a/test/test_icu.c b/test/test_icu.c -index 18e2866..309621a 100644 ---- a/test/test_icu.c -+++ b/test/test_icu.c -@@ -28,6 +28,7 @@ - #endif - - #if YAZ_HAVE_XML2 -+#include - #include - #endif - -diff --git a/test/test_xml_include.c b/test/test_xml_include.c -index aec8308..ff1f1a1 100644 ---- a/test/test_xml_include.c -+++ b/test/test_xml_include.c -@@ -12,6 +12,9 @@ - - #include - #include -+#if YAZ_HAVE_XML2 -+#include -+#endif - - static void tst_xml_include1(void) - { -diff --git a/util/cclsh.c b/util/cclsh.c -index 419fcb7..c40061c 100644 ---- a/util/cclsh.c -+++ b/util/cclsh.c -@@ -20,6 +20,9 @@ - #include - #endif - -+#if YAZ_HAVE_XML2 -+#include -+#endif - - static int debug = 0; - static char *prog; -diff --git a/util/yaz-icu.c b/util/yaz-icu.c -index 3087e13..767cb20 100644 ---- a/util/yaz-icu.c -+++ b/util/yaz-icu.c -@@ -17,6 +17,8 @@ - - #if YAZ_HAVE_ICU - -+#include -+ - #include - #include - #include -diff --git a/util/yaz-record-conv.c b/util/yaz-record-conv.c -index 75be066..b386e2a 100644 ---- a/util/yaz-record-conv.c -+++ b/util/yaz-record-conv.c -@@ -13,6 +13,10 @@ - #include - #include - -+#if YAZ_HAVE_XML2 -+#include -+#endif -+ - const char *prog = "yaz-record-conv"; - - static void usage(void) --- -2.42.1 - - -From 5e57b3aa8a468e3cc8ff56795a8448021d1f3f8a Mon Sep 17 00:00:00 2001 -From: Mamoru TASAKA -Date: Tue, 21 Nov 2023 23:47:18 +0900 -Subject: FIX: fix build error with glibc 2.39 - -glibc 2.39 does some refactoring for header file inclusion -and some additional header inclusion is needed for yaz -source. - -Closes #104 . - -diff --git a/src/record_conv.c b/src/record_conv.c -index 6ec066f..6daaa9a 100644 ---- a/src/record_conv.c -+++ b/src/record_conv.c -@@ -11,6 +11,7 @@ - #include - #endif - -+#include - #include - #include - #include -diff --git a/src/xmlquery.c b/src/xmlquery.c -index 543be2a..dc2bfd3 100644 ---- a/src/xmlquery.c -+++ b/src/xmlquery.c -@@ -10,6 +10,7 @@ - #endif - - #include -+#include - #include - #include - -diff --git a/test/test_record_conv.c b/test/test_record_conv.c -index bb417a5..7fdca22 100644 ---- a/test/test_record_conv.c -+++ b/test/test_record_conv.c -@@ -9,6 +9,7 @@ - #include - #include - #include -+#include - #include - #include - #include -diff --git a/test/test_retrieval.c b/test/test_retrieval.c -index 25711af..6065c5c 100644 ---- a/test/test_retrieval.c -+++ b/test/test_retrieval.c -@@ -9,6 +9,7 @@ - #include - #include - #include -+#include - #include - #include - #include --- -2.42.1 - diff --git a/dev-libs/yaz/yaz-5.34.0.recipe b/dev-libs/yaz/yaz-5.35.1.recipe similarity index 96% rename from dev-libs/yaz/yaz-5.34.0.recipe rename to dev-libs/yaz/yaz-5.35.1.recipe index ce426c61e..bdcd0177b 100644 --- a/dev-libs/yaz/yaz-5.34.0.recipe +++ b/dev-libs/yaz/yaz-5.35.1.recipe @@ -21,12 +21,11 @@ C++. very fast. * Liberal license that allows for commercial use of YAZ." HOMEPAGE="http://www.indexdata.com/yaz" -COPYRIGHT="1995-2023 Index Data" +COPYRIGHT="1995-2025 Index Data" LICENSE="BSD (3-clause)" REVISION="1" SOURCE_URI="https://download.indexdata.com/pub/yaz/yaz-$portVersion.tar.gz" -CHECKSUM_SHA256="bcbea894599a13342910003401c17576f0fb910092aecb51cb54065d0cd2d613" -PATCHES="yaz-$portVersion.patchset" +CHECKSUM_SHA256="db030d6d66880398a44215e26132630ee94f5e462d838809e43f97e6399c1353" ARCHITECTURES="all !x86_gcc2" SECONDARY_ARCHITECTURES="x86" @@ -38,7 +37,7 @@ if [ "$targetArchitecture" = x86_gcc2 ]; then commandBinDir=$prefix/bin fi -libVersion="5.0.0" +libVersion="5.1.1" libVersionCompat="$libVersion compat >= ${libVersion%.*}" PROVIDES="