#usr/bin/colcrt
#usr/bin/colrm
#usr/bin/column
-#usr/bin/copyfilerange
#usr/bin/coresched
usr/bin/eject
usr/bin/enosys
usr/bin/fallocate
usr/bin/fincore
usr/bin/flock
-#usr/bin/getino
usr/bin/getopt
usr/bin/hardlink
usr/bin/hexdump
#usr/share/bash-completion
#usr/share/bash-completion/completions
#usr/share/bash-completion/completions/addpart
-#usr/share/bash-completion/completions/bits
#usr/share/bash-completion/completions/blkdiscard
#usr/share/bash-completion/completions/blkid
-#usr/share/bash-completion/completions/blkpr
#usr/share/bash-completion/completions/blkzone
#usr/share/bash-completion/completions/blockdev
#usr/share/bash-completion/completions/cal
#usr/share/bash-completion/completions/colcrt
#usr/share/bash-completion/completions/colrm
#usr/share/bash-completion/completions/column
-#usr/share/bash-completion/completions/copyfilerange
#usr/share/bash-completion/completions/coresched
#usr/share/bash-completion/completions/ctrlaltdel
#usr/share/bash-completion/completions/delpart
#usr/share/bash-completion/completions/fsck.minix
#usr/share/bash-completion/completions/fsfreeze
#usr/share/bash-completion/completions/fstrim
-#usr/share/bash-completion/completions/getino
#usr/share/bash-completion/completions/getopt
#usr/share/bash-completion/completions/hardlink
#usr/share/bash-completion/completions/hexdump
#usr/share/bash-completion/completions/lsblk
#usr/share/bash-completion/completions/lsclocks
#usr/share/bash-completion/completions/lscpu
-#usr/share/bash-completion/completions/lsfd
#usr/share/bash-completion/completions/lsipc
#usr/share/bash-completion/completions/lsirq
#usr/share/bash-completion/completions/lslocks
#usr/share/man/man1/colcrt.1
#usr/share/man/man1/colrm.1
#usr/share/man/man1/column.1
-#usr/share/man/man1/copyfilerange.1
#usr/share/man/man1/coresched.1
#usr/share/man/man1/dmesg.1
#usr/share/man/man1/eject.1
#usr/share/man/man1/fallocate.1
#usr/share/man/man1/fincore.1
#usr/share/man/man1/flock.1
-#usr/share/man/man1/getino.1
#usr/share/man/man1/getopt.1
#usr/share/man/man1/hardlink.1
#usr/share/man/man1/hexdump.1
#usr/bin/colcrt
#usr/bin/colrm
#usr/bin/column
-#usr/bin/copyfilerange
#usr/bin/coresched
usr/bin/eject
usr/bin/enosys
usr/bin/fallocate
usr/bin/fincore
usr/bin/flock
-#usr/bin/getino
usr/bin/getopt
usr/bin/hardlink
usr/bin/hexdump
#usr/share/bash-completion
#usr/share/bash-completion/completions
#usr/share/bash-completion/completions/addpart
-#usr/share/bash-completion/completions/bits
#usr/share/bash-completion/completions/blkdiscard
#usr/share/bash-completion/completions/blkid
-#usr/share/bash-completion/completions/blkpr
#usr/share/bash-completion/completions/blkzone
#usr/share/bash-completion/completions/blockdev
#usr/share/bash-completion/completions/cal
#usr/share/bash-completion/completions/colcrt
#usr/share/bash-completion/completions/colrm
#usr/share/bash-completion/completions/column
-#usr/share/bash-completion/completions/copyfilerange
#usr/share/bash-completion/completions/coresched
#usr/share/bash-completion/completions/ctrlaltdel
#usr/share/bash-completion/completions/delpart
#usr/share/bash-completion/completions/fsck.minix
#usr/share/bash-completion/completions/fsfreeze
#usr/share/bash-completion/completions/fstrim
-#usr/share/bash-completion/completions/getino
#usr/share/bash-completion/completions/getopt
#usr/share/bash-completion/completions/hardlink
#usr/share/bash-completion/completions/hexdump
#usr/share/bash-completion/completions/lsblk
#usr/share/bash-completion/completions/lsclocks
#usr/share/bash-completion/completions/lscpu
-#usr/share/bash-completion/completions/lsfd
#usr/share/bash-completion/completions/lsipc
#usr/share/bash-completion/completions/lsirq
#usr/share/bash-completion/completions/lslocks
#usr/share/man/man1/colcrt.1
#usr/share/man/man1/colrm.1
#usr/share/man/man1/column.1
-#usr/share/man/man1/copyfilerange.1
#usr/share/man/man1/coresched.1
#usr/share/man/man1/dmesg.1
#usr/share/man/man1/eject.1
#usr/share/man/man1/fallocate.1
#usr/share/man/man1/fincore.1
#usr/share/man/man1/flock.1
-#usr/share/man/man1/getino.1
#usr/share/man/man1/getopt.1
#usr/share/man/man1/hardlink.1
#usr/share/man/man1/hexdump.1
#usr/bin/colcrt
#usr/bin/colrm
#usr/bin/column
-#usr/bin/copyfilerange
#usr/bin/coresched
usr/bin/eject
usr/bin/enosys
usr/bin/fallocate
usr/bin/fincore
usr/bin/flock
-#usr/bin/getino
usr/bin/getopt
usr/bin/hardlink
usr/bin/hexdump
#usr/share/bash-completion
#usr/share/bash-completion/completions
#usr/share/bash-completion/completions/addpart
-#usr/share/bash-completion/completions/bits
#usr/share/bash-completion/completions/blkdiscard
#usr/share/bash-completion/completions/blkid
-#usr/share/bash-completion/completions/blkpr
#usr/share/bash-completion/completions/blkzone
#usr/share/bash-completion/completions/blockdev
#usr/share/bash-completion/completions/cal
#usr/share/bash-completion/completions/colcrt
#usr/share/bash-completion/completions/colrm
#usr/share/bash-completion/completions/column
-#usr/share/bash-completion/completions/copyfilerange
#usr/share/bash-completion/completions/coresched
#usr/share/bash-completion/completions/ctrlaltdel
#usr/share/bash-completion/completions/delpart
#usr/share/bash-completion/completions/fsck.minix
#usr/share/bash-completion/completions/fsfreeze
#usr/share/bash-completion/completions/fstrim
-#usr/share/bash-completion/completions/getino
#usr/share/bash-completion/completions/getopt
#usr/share/bash-completion/completions/hardlink
#usr/share/bash-completion/completions/hexdump
#usr/share/bash-completion/completions/lsblk
#usr/share/bash-completion/completions/lsclocks
#usr/share/bash-completion/completions/lscpu
-#usr/share/bash-completion/completions/lsfd
#usr/share/bash-completion/completions/lsipc
#usr/share/bash-completion/completions/lsirq
#usr/share/bash-completion/completions/lslocks
#usr/share/man/man1/colcrt.1
#usr/share/man/man1/colrm.1
#usr/share/man/man1/column.1
-#usr/share/man/man1/copyfilerange.1
#usr/share/man/man1/coresched.1
#usr/share/man/man1/dmesg.1
#usr/share/man/man1/eject.1
#usr/share/man/man1/fallocate.1
#usr/share/man/man1/fincore.1
#usr/share/man/man1/flock.1
-#usr/share/man/man1/getino.1
#usr/share/man/man1/getopt.1
#usr/share/man/man1/hardlink.1
#usr/share/man/man1/hexdump.1
###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2007-2026 IPFire Team <info@ipfire.org> #
+# Copyright (C) 2007-2025 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
include Config
-VER = 2.42
+VER = 2.41.2
# https://www.kernel.org/pub/linux/utils/util-linux/
THISAPP = util-linux-$(VER)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_BLAKE2 = 531b79bbec272cf1007c55ff4042b5e1b14bcc0dc098e54e4b76ea2e70c785fc763f96686ad8cea5ea9c0f7190794f4d828b7742e3aa18a0c3ef506d34e9d465
+$(DL_FILE)_BLAKE2 = 96cf8022a2d727df373f717fcca750e4f3ffd365f50af35cb805fecb7fa39962dea134fab7efdb9dfdc5aa6ac721e758e2ea40254e21d3fd9e9e5e4b2d25aa91
install : $(TARGET)
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
$(UPDATE_AUTOMAKE)
+ cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/util-linux-2.41.2-FTBFS-bsearch.patch
cd $(DIR_APP) && ./configure \
--docdir=/usr/share/doc/util-linux \
--disable-chfn-chsh \
--- /dev/null
+From 711bda1441561bfd2eb6d45fe0bc789535c1f1a8 Mon Sep 17 00:00:00 2001
+From: =?utf8?q?Cristian=20Rodr=C3=ADguez?= <cristian@rodriguez.im>
+Date: Sat, 22 Nov 2025 10:41:08 -0300
+Subject: [PATCH] lsfd: fix bsearch macro usage with glibc C23
+MIME-Version: 1.0
+Content-Type: text/plain; charset=utf8
+Content-Transfer-Encoding: 8bit
+
+C23 requires bsearch to be a const preserving macro, build now fails
+with
+
+../lsfd-cmd/lsfd.c:1879:75: error: macro â\80\98bsearchâ\80\99 passed 6 arguments, but takes just 5
+ 1879 | nfds, sizeof(struct pollfd), pollfdcmp))
+ | ^
+In file included from ../include/c.h:17,
+ from ../lsfd-cmd/lsfd.c:48:
+/usr/include/stdlib.h:987:10: note: macro â\80\98bsearchâ\80\99 defined here
+ 987 | # define bsearch(KEY, BASE, NMEMB, SIZE, COMPAR) \
+
+ add parenthesis around expression to fix it.
+---
+ lsfd-cmd/lsfd.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lsfd-cmd/lsfd.c b/lsfd-cmd/lsfd.c
+index 335594144..4da86c602 100644
+--- a/lsfd-cmd/lsfd.c
++++ b/lsfd-cmd/lsfd.c
+@@ -1875,7 +1875,7 @@ static void mark_poll_fds_as_multiplexed(char *buf,
+ struct file *file = list_entry(f, struct file, files);
+ if (is_opened_file(file) && !file->multiplexed) {
+ int fd = file->association;
+- if (bsearch(&(struct pollfd){.fd = fd,}, local.iov_base,
++ if (bsearch((&(struct pollfd){.fd = fd,}), local.iov_base,
+ nfds, sizeof(struct pollfd), pollfdcmp))
+ file->multiplexed = 1;
+ }
+--
+2.47.3
+