]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
tools: util-linux: update to v2.41.1
authorThomas Weißschuh <thomas@t-8ch.de>
Thu, 26 Jun 2025 10:54:40 +0000 (12:54 +0200)
committerNick Hainke <vincent@systemli.org>
Tue, 1 Jul 2025 21:04:15 +0000 (23:04 +0200)
Release Notes:
https://www.kernel.org/pub/linux/utils/util-linux/v2.41/v2.41.1-ReleaseNotes

Remove upstreamed:
tools/util-linux/patches/101-macos-weak-aliases.patch

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
Link: https://github.com/openwrt/openwrt/pull/19236
Signed-off-by: Nick Hainke <vincent@systemli.org>
tools/util-linux/Makefile
tools/util-linux/patches/101-macos-weak-aliases.patch [deleted file]

index 37c9366f372fd780d9978f793820a7e0961d5ecb..fd90f31b5f312f5b76e5798545a04c943d24eb33 100644 (file)
@@ -7,11 +7,11 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=util-linux
-PKG_VERSION:=2.41
+PKG_VERSION:=2.41.1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=@KERNEL/linux/utils/$(PKG_NAME)/v2.41
-PKG_HASH:=81ee93b3cfdfeb7d7c4090cedeba1d7bbce9141fd0b501b686b3fe475ddca4c6
+PKG_HASH:=be9ad9a276f4305ab7dd2f5225c8be1ff54352f565ff4dede9628c1aaa7dec57
 PKG_CPE_ID:=cpe:/a:kernel:util-linux
 
 PKG_FIXUP:=autoreconf
diff --git a/tools/util-linux/patches/101-macos-weak-aliases.patch b/tools/util-linux/patches/101-macos-weak-aliases.patch
deleted file mode 100644 (file)
index 13acccd..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-From 9445f477cfcfb3615ffde8f93b1b98c809ee4eca Mon Sep 17 00:00:00 2001
-From: Eugene Gershnik <gershnik@users.noreply.github.com>
-Date: Mon, 6 May 2024 09:29:39 -0700
-Subject: [PATCH] This re-enables build on macOS.
-
-Weak aliases are not supported by clang on Darwin.
-Instead this fix uses inline asm to make `_uuid_time` and alias to `___uuid_time`
-
-Fixes util-linux/util-linux#2873
----
- libuuid/src/uuid_time.c | 4 ++++
- 1 file changed, 4 insertions(+)
-
---- a/libuuid/src/uuid_time.c
-+++ b/libuuid/src/uuid_time.c
-@@ -144,6 +144,10 @@ time_t __uuid_time(const uuid_t uu, stru
- }
- #if defined(__USE_TIME_BITS64) && defined(__GLIBC__)
- extern time_t uuid_time64(const uuid_t uu, struct timeval *ret_tv) __attribute__((weak, alias("__uuid_time")));
-+#elif defined(__clang__) && defined(__APPLE__)
-+__asm__(".globl _uuid_time");
-+__asm__(".set _uuid_time, ___uuid_time");
-+extern time_t uuid_time(const uuid_t uu, struct timeval *ret_tv);
- #else
- extern time_t uuid_time(const uuid_t uu, struct timeval *ret_tv) __attribute__((weak, alias("__uuid_time")));
- #endif