Mail archive
alpine-aports

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

From: Peter Bui <pnutzh4x0r_at_gmail.com>
Date: Fri, 24 Apr 2015 09:17:50 -0500

On Thu, Mar 12, 2015 at 04:46:13PM +0100, Natanael Copa wrote:
> 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?
>

mdocml 1.13.3 appears to fix this problem. Attached is a diff that
updates the package to this version.

-- 
Peter Bui




---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Fri Apr 24 2015 - 09:17:50 GMT