diff options
author | Javier Villavicencio <the_paya@gentoo.org> | 2006-07-18 20:07:39 +0000 |
---|---|---|
committer | Javier Villavicencio <the_paya@gentoo.org> | 2006-07-18 20:07:39 +0000 |
commit | 00d8b58c79bc6b70340fc110a6ca26afa882aec9 (patch) | |
tree | 8fb180c8587e8c2df3c625dcbe1d318aee15d45c /sys-apps | |
parent | Version bump. (diff) | |
download | gentoo-2-00d8b58c79bc6b70340fc110a6ca26afa882aec9.tar.gz gentoo-2-00d8b58c79bc6b70340fc110a6ca26afa882aec9.tar.bz2 gentoo-2-00d8b58c79bc6b70340fc110a6ca26afa882aec9.zip |
ÂFixes compilation in FreeBSD wrt #138123.
(Portage version: 2.1.1_pre3)
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/man/ChangeLog | 6 | ||||
-rw-r--r-- | sys-apps/man/files/man-1.6d-fbsd.patch | 11 | ||||
-rw-r--r-- | sys-apps/man/man-1.6d.ebuild | 5 |
3 files changed, 20 insertions, 2 deletions
diff --git a/sys-apps/man/ChangeLog b/sys-apps/man/ChangeLog index 56a74c6de529..d1d10c47e0ab 100644 --- a/sys-apps/man/ChangeLog +++ b/sys-apps/man/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-apps/man # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/man/ChangeLog,v 1.89 2006/06/22 04:42:26 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/man/ChangeLog,v 1.90 2006/07/18 20:07:39 the_paya Exp $ + + 18 Jul 2006; Javier Villavicencio <the_paya@gentoo.org> + +files/man-1.6d-fbsd.patch, man-1.6d.ebuild: + Fixes compilation in FreeBSD wrt #138123 *man-1.6d (22 Jun 2006) diff --git a/sys-apps/man/files/man-1.6d-fbsd.patch b/sys-apps/man/files/man-1.6d-fbsd.patch new file mode 100644 index 000000000000..5882645d9018 --- /dev/null +++ b/sys-apps/man/files/man-1.6d-fbsd.patch @@ -0,0 +1,11 @@ +--- man-1.6d/gencat/genlib.c.orig 2006-06-26 21:26:10 -0300 ++++ man-1.6d/gencat/genlib.c 2006-06-26 21:34:46 -0300 +@@ -54,7 +54,7 @@ + #include <unistd.h> + #endif + +-#ifndef __linux__ ++#if !defined(__linux__) && !defined(__FreeBSD__) + #include <memory.h> + static int bcopy(src, dst, length) + char *src, *dst; diff --git a/sys-apps/man/man-1.6d.ebuild b/sys-apps/man/man-1.6d.ebuild index c2e02c0874fb..91edb65e700f 100644 --- a/sys-apps/man/man-1.6d.ebuild +++ b/sys-apps/man/man-1.6d.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/man/man-1.6d.ebuild,v 1.2 2006/07/02 20:29:24 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/man/man-1.6d.ebuild,v 1.3 2006/07/18 20:07:39 the_paya Exp $ inherit eutils flag-o-matic toolchain-funcs @@ -59,6 +59,9 @@ src_unpack() { # use non-lazy binds for man epatch "${FILESDIR}"/man-1.6b-build.patch + # Fixes compilation in FreeBSD wrt #138123 + epatch "${FILESDIR}"/man-1.6d-fbsd.patch + strip-linguas $(eval $(grep ^LANGUAGES= configure) ; echo ${LANGUAGES//,/ }) } |