summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-05-19 07:23:12 +0000
committerMike Frysinger <vapier@gentoo.org>2009-05-19 07:23:12 +0000
commit1fa12871e8d985abb8b2f46ca9d1853aa726d49a (patch)
tree901333ae90e625c26fb936031ecd8feb858043ec /sys-kernel
parentVersion bump. (diff)
downloadgentoo-2-1fa12871e8d985abb8b2f46ca9d1853aa726d49a.tar.gz
gentoo-2-1fa12871e8d985abb8b2f46ca9d1853aa726d49a.tar.bz2
gentoo-2-1fa12871e8d985abb8b2f46ca9d1853aa726d49a.zip
Fix building with glibc-2.10 due to getline #270383 by David Hallas.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/linux-headers/ChangeLog6
-rw-r--r--sys-kernel/linux-headers/linux-headers-2.6.27-r2.ebuild3
-rw-r--r--sys-kernel/linux-headers/linux-headers-2.6.28-r1.ebuild3
3 files changed, 9 insertions, 3 deletions
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 <vapier@gentoo.org>
+ 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:\<getline\>: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:\<getline\>:get_line:' scripts/unifdef.c || die #270383
# workaround #244640
mkdir arch/sparc64
touch arch/sparc64/Makefile