From owner-cvs-all@FreeBSD.ORG Fri Sep 28 02:31:31 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 42EAB16A420; Fri, 28 Sep 2007 02:31:31 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 5642013C447; Fri, 28 Sep 2007 02:31:31 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l8S2VVXO015532; Fri, 28 Sep 2007 02:31:31 GMT (envelope-from edwin@repoman.freebsd.org) Received: (from edwin@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l8S2VV1Q015524; Fri, 28 Sep 2007 02:31:31 GMT (envelope-from edwin) Message-Id: <200709280231.l8S2VV1Q015524@repoman.freebsd.org> From: Edwin Groothuis Date: Fri, 28 Sep 2007 02:31:30 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 Cc: Subject: cvs commit: src/gnu/usr.bin/man/man man.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Sep 2007 02:31:31 -0000 edwin 2007-09-28 02:31:30 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) gnu/usr.bin/man/man man.c Log: MFC: Fix man(1) to allow .so to reference a compressed file Original PR description: man(1) can't handle compressed included files. Some ports will install with compressed manpages. man handles this by looking for the .gz version of a man source file. It is also common to include other files with the .so directive where commands or functions share a man page. Traditionally ports have had to handle this by either not compressing the manpages, or using the _MLINKS macro in the port makefile to create symlinks to the actual source file, rather than using .so versions. Notably, the current version of Xorg port breaks. See ports/113096 and ports/115845. PR: bin/115850 Submitted by: Callum Gibson Revision Changes Path 1.62.4.1 +15 -0 src/gnu/usr.bin/man/man/man.c