diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-05-06 16:31:02 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-05-06 16:31:02 +0000 |
commit | e87e4f766bef4358c0f2343bd1fa083b2124f904 (patch) | |
tree | 5a08796c40ea8f8bc34efee1fa6bb10de3d22eec /sys-kernel | |
parent | Stable on ppc64; bug #132183 (diff) | |
download | gentoo-2-e87e4f766bef4358c0f2343bd1fa083b2124f904.tar.gz gentoo-2-e87e4f766bef4358c0f2343bd1fa083b2124f904.tar.bz2 gentoo-2-e87e4f766bef4358c0f2343bd1fa083b2124f904.zip |
Replace malloc.h with stdlib.h when building on FreeBSD libc.
(Portage version: 2.1_pre10-r3)
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/linux-headers/ChangeLog | 6 | ||||
-rw-r--r-- | sys-kernel/linux-headers/linux-headers-2.6.11-r4.ebuild | 5 |
2 files changed, 9 insertions, 2 deletions
diff --git a/sys-kernel/linux-headers/ChangeLog b/sys-kernel/linux-headers/ChangeLog index 35ee8f388859..352af5730f7b 100644 --- a/sys-kernel/linux-headers/ChangeLog +++ b/sys-kernel/linux-headers/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-kernel/linux-headers # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/ChangeLog,v 1.174 2006/04/29 21:08:35 plasmaroo Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/ChangeLog,v 1.175 2006/05/06 16:31:02 flameeyes Exp $ + + 06 May 2006; Diego Pettenò <flameeyes@gentoo.org> + linux-headers-2.6.11-r4.ebuild: + Replace malloc.h with stdlib.h when building on FreeBSD libc. 29 Apr 2006; <plasmaroo@gentoo.org> linux-headers-2.6.11-r5.ebuild: Fix #131005. diff --git a/sys-kernel/linux-headers/linux-headers-2.6.11-r4.ebuild b/sys-kernel/linux-headers/linux-headers-2.6.11-r4.ebuild index 497b890d10de..c65db7e4f77e 100644 --- a/sys-kernel/linux-headers/linux-headers-2.6.11-r4.ebuild +++ b/sys-kernel/linux-headers/linux-headers-2.6.11-r4.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-kernel/linux-headers/linux-headers-2.6.11-r4.ebuild,v 1.13 2006/04/11 00:26:53 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.6.11-r4.ebuild,v 1.14 2006/05/06 16:31:02 flameeyes Exp $ ETYPE="headers" H_SUPPORTEDARCH="alpha amd64 arm bfin cris hppa ia64 m68k nios2 ppc ppc64 s390 sh sparc x86" @@ -54,4 +54,7 @@ src_unpack() { if use ppc && [[ ${PROFILE_ARCH} == "ppc64" ]]; then epatch "${FILESDIR}"/2.6.11-ppc64-32ul-spinlock.patch fi + + # Allow to install in Gentoo/FreeBSD for crosscompile purposes + [[ ${CHOST} == *-freebsd* ]] && sed -i -e 's:<malloc.h>:<stdlib.h>:g' ${S}/scripts/genksyms/* } |