X-Original-To: alpine-aports@lists.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from ncopa-desktop.alpinelinux.org (unknown [79.160.13.133]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: n@tanael.org) by mail.alpinelinux.org (Postfix) with ESMTPSA id 85268DC0096; Thu, 12 Mar 2015 15:46:16 +0000 (UTC) Date: Thu, 12 Mar 2015 16:46:13 +0100 From: Natanael Copa To: Peter Bui Cc: alpine-aports@lists.alpinelinux.org Subject: Re: [alpine-aports] [PATCH] main/mdocml: add patch to support manpages with *p extension Message-ID: <20150312164613.66be823b@ncopa-desktop.alpinelinux.org> In-Reply-To: <1422769860-16242-1-git-send-email-pnutzh4x0r@gmail.com> References: <1422769860-16242-1-git-send-email-pnutzh4x0r@gmail.com> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-alpine-linux-musl) X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sorry late response. Been on vacation. On Sat, 31 Jan 2015 23:51:00 -0600 Peter Bui 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@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---