From f56d22b989e2d0985037f6ff3ce59db9819d3a67 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Sun, 23 Sep 2018 14:23:36 +0200 Subject: [PATCH] man-pages: duplicate syslog.2/klogctl.3 man pages instead of sourcing. mandoc confuses this else with syslog(3). Closes #2575. --- 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 b32e893d3d3..04c9d8379ca 100644 --- a/srcpkgs/man-pages/template +++ b/srcpkgs/man-pages/template @@ -1,7 +1,7 @@ # Template file for 'man-pages' pkgname=man-pages version=4.16 -revision=1 +revision=2 noarch=yes short_desc="Linux Documentation Project (LDP) manual pages" maintainer="Juan RP " @@ -45,6 +45,8 @@ do_install() { mv man1/{iconv.1,glibc-iconv.1} mv man1/{ldd.1,glibc-ldd.1} mv man1/{getent.1,glibc-getent.1} + + sed 's/^\.TH SYSLOG 2/.TH KLOGCTL 3/' man2/syslog.2 >man3/klogctl.3 } man-pages-devel_package() {