man-pages: duplicate syslog.2/klogctl.3 man pages instead of sourcing.

mandoc confuses this else with syslog(3).

Closes #2575.
This commit is contained in:
Leah Neukirchen 2018-09-23 14:23:36 +02:00
parent d18d60b68d
commit f56d22b989

View file

@ -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 <xtraeme@voidlinux.eu>"
@ -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() {