From 9d1b08bbdfb477c3a536717ebf9be396f5096231 Mon Sep 17 00:00:00 2001 From: meator Date: Wed, 9 Feb 2022 18:19:42 +0100 Subject: [PATCH] man-pages: fix links to moved manpages The template file renames rand.3 and err.3 to glibc-rand.3 and glibc-err.3 to resolve conflict with openssl manpages, but it doesn't fix manpages linking to the old version. These manpages then won't know where the manpages are. This commit redirects them to the renamed version. --- srcpkgs/man-pages/template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/srcpkgs/man-pages/template b/srcpkgs/man-pages/template index 8386f6492f94..127c95e2dc51 100644 --- a/srcpkgs/man-pages/template +++ b/srcpkgs/man-pages/template @@ -1,7 +1,7 @@ # Template file for 'man-pages' pkgname=man-pages version=5.13 -revision=1 +revision=2 short_desc="Linux Documentation Project (LDP) manual pages" maintainer="Enno Boland " license="GPL-2.0-or-later" @@ -37,6 +37,8 @@ do_install() { # openssl-devel mv man3/rand.3 man3/glibc-rand.3 mv man3/err.3 man3/glibc-err.3 + # Fix references to these manpages + sed -i -e "s|.so man3/rand.3|.so man3/glibc-rand.3|" -e "s|.so man3/err.3|.so man3/glibc-err.3|" man3/* # Rename some glibc specific manpages mv man1/{iconv.1,glibc-iconv.1} mv man1/{ldd.1,glibc-ldd.1}