From f4bab2d12cf608175b414cb2202125951e1ffda1 Mon Sep 17 00:00:00 2001 From: Ivan Pavlov Date: Sun, 1 Mar 2026 08:52:57 +0300 Subject: [PATCH] libunistring: update to 1.4.2 sync with gnulib, fixes compilation with gcc15 Signed-off-by: Ivan Pavlov Link: https://github.com/openwrt/openwrt/pull/22225 (cherry picked from commit fce39a8d7fa59556af276223ba21ad5c661fda51) Link: https://github.com/openwrt/openwrt/pull/22226 Signed-off-by: Hauke Mehrtens --- package/libs/libunistring/Makefile | 4 ++-- .../100-tests-pthread-rwlock-better-support-MUSL.patch | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libs/libunistring/Makefile b/package/libs/libunistring/Makefile index 670853fa79..4b1567a99e 100644 --- a/package/libs/libunistring/Makefile +++ b/package/libs/libunistring/Makefile @@ -1,12 +1,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libunistring -PKG_VERSION:=1.4.1 +PKG_VERSION:=1.4.2 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=@GNU/$(PKG_NAME) -PKG_HASH:=67d88430892527861903788868c77802a217b0959990f7449f2976126a307763 +PKG_HASH:=5b46e74377ed7409c5b75e7a96f95377b095623b689d8522620927964a41499c PKG_BUILD_PARALLEL:=1 PKG_INSTALL:=1 diff --git a/package/libs/libunistring/patches/100-tests-pthread-rwlock-better-support-MUSL.patch b/package/libs/libunistring/patches/100-tests-pthread-rwlock-better-support-MUSL.patch index eea6efd59c..dd943e59c0 100644 --- a/package/libs/libunistring/patches/100-tests-pthread-rwlock-better-support-MUSL.patch +++ b/package/libs/libunistring/patches/100-tests-pthread-rwlock-better-support-MUSL.patch @@ -25,7 +25,7 @@ Signed-off-by: Christian Marangi /* Override pthread_rwlockattr_init, to use the kind PREFER_WRITER_NONRECURSIVE (or possibly PREFER_WRITER) instead of the kind DEFAULT. */ -@@ -388,7 +388,7 @@ pthread_rwlock_destroy (pthread_rwlock_t +@@ -398,7 +398,7 @@ pthread_rwlock_destroy (pthread_rwlock_t # else