From fc16152cef7ae6dc1c148b61eb30cca49dfbe4e9 Mon Sep 17 00:00:00 2001 From: meator Date: Mon, 12 Feb 2024 14:31:00 +0100 Subject: [PATCH] util-linux: fix manpage links Manpages of vigr, swapoff and lastb don't link properly. --- .../patches/fix_manpage_redirects.patch | 18 ++++++++++++++++++ srcpkgs/util-linux/template | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/util-linux/patches/fix_manpage_redirects.patch diff --git a/srcpkgs/util-linux/patches/fix_manpage_redirects.patch b/srcpkgs/util-linux/patches/fix_manpage_redirects.patch new file mode 100644 index 00000000000000..64f65bfbf07fb9 --- /dev/null +++ b/srcpkgs/util-linux/patches/fix_manpage_redirects.patch @@ -0,0 +1,18 @@ +--- a/login-utils/lastb.1 ++++ b/login-utils/lastb.1 +@@ -1 +1 @@ +-.so last.1 +\ No newline at end of file ++.so man1/last.1 +--- a/login-utils/vigr.8 ++++ b/login-utils/vigr.8 +@@ -1 +1 @@ +-.so vipw.8 +\ No newline at end of file ++.so man8/vipw.8 +--- a/sys-utils/swapoff.8 ++++ b/sys-utils/swapoff.8 +@@ -1 +1 @@ +-.so swapon.8 +\ No newline at end of file ++.so man8/swapon.8 diff --git a/srcpkgs/util-linux/template b/srcpkgs/util-linux/template index f048a9126cc20d..358a75a3fb51bd 100644 --- a/srcpkgs/util-linux/template +++ b/srcpkgs/util-linux/template @@ -2,7 +2,7 @@ # Keep this package sync with util-linux-common pkgname=util-linux version=2.38.1 -revision=5 +revision=6 build_style=gnu-configure configure_args="--exec-prefix=\${prefix} --enable-libuuid --disable-makeinstall-chown --enable-libblkid --enable-fsck --disable-rpath --enable-fs-paths-extra=/usr/sbin:/usr/bin