Mail archive
alpine-aports

Re: [alpine-aports] [PATCH] main/mdocml: add patch to support manpages with *p extension

From: Natanael Copa <ncopa_at_alpinelinux.org>
Date: Thu, 12 Mar 2015 16:46:13 +0100

Sorry late response. Been on vacation.

On Sat, 31 Jan 2015 23:51:00 -0600
Peter Bui <pnutzh4x0r_at_gmail.com> wrote:

> mdocml only stores the section name in its database and not the file's
> extension. This is problematic for files such as
> /usr/share/man/man1/ls.1p since mdocml will try to use the section name
> (i.e. 1) as the file extension in the buildnames function, which will
> yield a file not found error when you try to do 'man ls'.
>
> This patch modifies mdocml's database by adding a fsec field to the
> mlinks table. This is then used to record the file section and thus
> allows for more reliable building of the manpage path.
>
> With this patch, it is now possible to run 'man ls' with mdocml.

Have you reported this upsteam?

I don't want change the database schema without upstreams blessing.

I saw they have a new release coming up with support for running the
'man' command without any db. Do you think that will solve the issue?

-nc


---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Thu Mar 12 2015 - 16:46:13 GMT