From 289bb25cd17fd63fbe83bb68522a0c8265b54e63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Sun, 8 Feb 2026 11:24:21 +0100 Subject: [PATCH] expat: remove warning --- dev-libs/expat/expat-2.7.4.recipe | 2 +- dev-libs/expat/patches/expat-2.7.4.patchset | 13 +++++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/dev-libs/expat/expat-2.7.4.recipe b/dev-libs/expat/expat-2.7.4.recipe index 5d86dd977..1fe34fc62 100644 --- a/dev-libs/expat/expat-2.7.4.recipe +++ b/dev-libs/expat/expat-2.7.4.recipe @@ -6,7 +6,7 @@ HOMEPAGE="http://expat.sourceforge.net/" COPYRIGHT="1998-2000 Thai Open Source Software Center Ltd and Clark Cooper 2001-2025 Expat maintainers." LICENSE="MIT" -REVISION="2" +REVISION="3" SOURCE_URI="https://downloads.sourceforge.net/expat/expat-$portVersion.tar.bz2" #SOURCE_URI="git+https://github.com/libexpat/libexpat?signed#tag=R_${portVersion//./_}" CHECKSUM_SHA256="e6af11b01e32e5ef64906a5cca8809eabc4beb7ff2f9a0e6aabbd42e825135d0" diff --git a/dev-libs/expat/patches/expat-2.7.4.patchset b/dev-libs/expat/patches/expat-2.7.4.patchset index 2a263a668..5316846d1 100644 --- a/dev-libs/expat/patches/expat-2.7.4.patchset +++ b/dev-libs/expat/patches/expat-2.7.4.patchset @@ -102,7 +102,7 @@ index b76cc45..67dd17e 100644 2.51.0 -From e0e82a2778bcf7de6c1619ff5454ed4eb0a349cd Mon Sep 17 00:00:00 2001 +From e0e8ee11a9bd25baa7f5190d863d1f1e93299ff1 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Wed, 7 Feb 2024 18:47:27 +0100 Subject: support for getentropy on Haiku @@ -133,7 +133,7 @@ index d25195d..ae13670 100644 AC_CHECK_HEADERS(fcntl.h unistd.h) AC_TYPE_OFF_T diff --git a/lib/xmlparse.c b/lib/xmlparse.c -index 086fca5..9fffc88 100644 +index 086fca5..12fbe36 100644 --- a/lib/xmlparse.c +++ b/lib/xmlparse.c @@ -143,8 +143,8 @@ @@ -173,6 +173,15 @@ index 086fca5..9fffc88 100644 #if defined(HAVE_ARC4RANDOM) && ! defined(HAVE_ARC4RANDOM_BUF) +@@ -1163,7 +1164,7 @@ writeRandomBytes_rand_s(void *target, size_t count) { + + #endif /* _WIN32 */ + +-#if ! defined(HAVE_ARC4RANDOM_BUF) && ! defined(HAVE_ARC4RANDOM) ++#if ! defined(HAVE_ARC4RANDOM_BUF) && ! defined(HAVE_ARC4RANDOM) && ! defined(HAVE_GETENTROPY) + + static unsigned long + gather_time_entropy(void) { @@ -1208,6 +1209,9 @@ generate_hash_secret_salt(XML_Parser parser) { #if defined(HAVE_ARC4RANDOM_BUF) arc4random_buf(&entropy, sizeof(entropy));