From 1fa12871e8d985abb8b2f46ca9d1853aa726d49a Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 19 May 2009 07:23:12 +0000 Subject: Fix building with glibc-2.10 due to getline #270383 by David Hallas. (Portage version: 2.2_rc33/cvs/Linux x86_64) --- sys-kernel/linux-headers/ChangeLog | 6 +++++- sys-kernel/linux-headers/linux-headers-2.6.27-r2.ebuild | 3 ++- sys-kernel/linux-headers/linux-headers-2.6.28-r1.ebuild | 3 ++- 3 files changed, 9 insertions(+), 3 deletions(-) (limited to 'sys-kernel/linux-headers') diff --git a/sys-kernel/linux-headers/ChangeLog b/sys-kernel/linux-headers/ChangeLog index 69eabf6e06f7..60aee665654f 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-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/ChangeLog,v 1.287 2009/05/09 22:02:40 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/ChangeLog,v 1.288 2009/05/19 07:23:12 vapier Exp $ + + 19 May 2009; Mike Frysinger + linux-headers-2.6.27-r2.ebuild, linux-headers-2.6.28-r1.ebuild: + Fix building with glibc-2.10 due to getline #270383 by David Hallas. *linux-headers-2.6.29 (09 May 2009) diff --git a/sys-kernel/linux-headers/linux-headers-2.6.27-r2.ebuild b/sys-kernel/linux-headers/linux-headers-2.6.27-r2.ebuild index fc1eb79cce4d..464df1969998 100644 --- a/sys-kernel/linux-headers/linux-headers-2.6.27-r2.ebuild +++ b/sys-kernel/linux-headers/linux-headers-2.6.27-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 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.27-r2.ebuild,v 1.9 2009/05/09 20:48:50 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.6.27-r2.ebuild,v 1.10 2009/05/19 07:23:12 vapier Exp $ ETYPE="headers" H_SUPPORTEDARCH="alpha amd64 arm cris hppa m68k mips ia64 ppc ppc64 s390 sh sparc x86" @@ -22,6 +22,7 @@ src_unpack() { unpack ${A} cd "${S}" [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV} + sed -i 's:\:get_line:' scripts/unifdef.c || die #270383 # workaround #244640 mkdir arch/sparc64 touch arch/sparc64/Makefile diff --git a/sys-kernel/linux-headers/linux-headers-2.6.28-r1.ebuild b/sys-kernel/linux-headers/linux-headers-2.6.28-r1.ebuild index 8f22cc52e27b..9868f9d95021 100644 --- a/sys-kernel/linux-headers/linux-headers-2.6.28-r1.ebuild +++ b/sys-kernel/linux-headers/linux-headers-2.6.28-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 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.28-r1.ebuild,v 1.3 2009/05/09 20:48:50 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.6.28-r1.ebuild,v 1.4 2009/05/19 07:23:12 vapier Exp $ ETYPE="headers" H_SUPPORTEDARCH="alpha amd64 arm cris hppa m68k mips ia64 ppc ppc64 s390 sh sparc x86" @@ -22,6 +22,7 @@ src_unpack() { unpack ${A} cd "${S}" [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV} + sed -i 's:\:get_line:' scripts/unifdef.c || die #270383 # workaround #244640 mkdir arch/sparc64 touch arch/sparc64/Makefile -- cgit v1.2.3-65-gdbad