diff options
author | Ned Ludd <solar@gentoo.org> | 2004-05-09 01:45:29 +0000 |
---|---|---|
committer | Ned Ludd <solar@gentoo.org> | 2004-05-09 01:45:29 +0000 |
commit | 4220f0f1e715ed6bf93f88355a4c9437bea3a527 (patch) | |
tree | b7fc6e7f060623032456294ca21dd66fb240316b /sys-apps/util-linux/util-linux-2.12-r4.ebuild | |
parent | (no commit message) (diff) | |
download | historical-4220f0f1e715ed6bf93f88355a4c9437bea3a527.tar.gz historical-4220f0f1e715ed6bf93f88355a4c9437bea3a527.tar.bz2 historical-4220f0f1e715ed6bf93f88355a4c9437bea3a527.zip |
access() is a macro which uses R_OK. However R_OK is not defined on sparc during a bootstrap unless we actually include unistd.h
Diffstat (limited to 'sys-apps/util-linux/util-linux-2.12-r4.ebuild')
-rw-r--r-- | sys-apps/util-linux/util-linux-2.12-r4.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys-apps/util-linux/util-linux-2.12-r4.ebuild b/sys-apps/util-linux/util-linux-2.12-r4.ebuild index 7abbb649ccc9..d05049ae717c 100644 --- a/sys-apps/util-linux/util-linux-2.12-r4.ebuild +++ b/sys-apps/util-linux/util-linux-2.12-r4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.12-r4.ebuild,v 1.11 2004/04/25 20:09:23 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.12-r4.ebuild,v 1.12 2004/05/09 01:45:29 solar Exp $ inherit eutils flag-o-matic @@ -47,6 +47,11 @@ src_unpack() { # Fix unreadable df output epatch ${FILESDIR}/no-symlink-resolve.patch + # access() is a macro which uses R_OK however + # R_OK is not defined on sparc during a bootstrap + # unless we actually include unistd.h -solar (May 07 2004) + epatch ${FILESDIR}/${PN}-2.12-swapon-unistd.patch + # Add the O option to agetty to display DNS domainname in the issue # file, thanks to Marius Mauch <genone@genone.de>, bug #22275. # @@ -106,6 +111,7 @@ src_unpack() { # /bin/kill is provided by procps ONLY epatch ${FILESDIR}/${PN}-no-kill.patch + } src_compile() { |