summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Yamin <plasmaroo@gentoo.org>2004-06-28 16:28:29 +0000
committerTim Yamin <plasmaroo@gentoo.org>2004-06-28 16:28:29 +0000
commit2a6ef4f185f57132081f80620c571e0ce3f92b18 (patch)
tree96f8c3761b117141d344c6695fcc6b5688248cdd /sys-kernel/linux-headers
parentAdded patch to allow compilation with gcc-3.4 closing bug 52819 (Manifest rec... (diff)
downloadgentoo-2-2a6ef4f185f57132081f80620c571e0ce3f92b18.tar.gz
gentoo-2-2a6ef4f185f57132081f80620c571e0ce3f92b18.tar.bz2
gentoo-2-2a6ef4f185f57132081f80620c571e0ce3f92b18.zip
Removing forced inlining from the 2.6.7 headers; this should solve issues for GCC 3.4 users.
Diffstat (limited to 'sys-kernel/linux-headers')
-rw-r--r--sys-kernel/linux-headers/ChangeLog9
-rw-r--r--sys-kernel/linux-headers/files/digest-linux-headers-2.6.7-r1 (renamed from sys-kernel/linux-headers/files/digest-linux-headers-2.6.7)0
-rw-r--r--sys-kernel/linux-headers/files/linux-headers-2.6.7-appCompat.patch6
-rw-r--r--sys-kernel/linux-headers/linux-headers-2.6.7-r1.ebuild (renamed from sys-kernel/linux-headers/linux-headers-2.6.7.ebuild)2
4 files changed, 12 insertions, 5 deletions
diff --git a/sys-kernel/linux-headers/ChangeLog b/sys-kernel/linux-headers/ChangeLog
index 762353da9c74..2dc8d2d427f9 100644
--- a/sys-kernel/linux-headers/ChangeLog
+++ b/sys-kernel/linux-headers/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-kernel/linux-headers
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/ChangeLog,v 1.82 2004/06/24 22:58:42 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/ChangeLog,v 1.83 2004/06/28 16:28:29 plasmaroo Exp $
+
+*linux-headers-2.6.7-r1 (28 Jun 2004)
+
+ 28 Jun 2004; <plasmaroo@gentoo.org> +linux-headers-2.6.7-r1.ebuild,
+ -linux-headers-2.6.7.ebuild, files/linux-headers-2.6.7-appCompat.patch:
+ Removing forced inlining from the 2.6.7 headers; this should solve inlining
+ issues for GCC 3.4 users.
24 Jun 2004; <plasmaroo@gentoo.org>
files/linux-headers-2.6.7-appCompat.patch:
diff --git a/sys-kernel/linux-headers/files/digest-linux-headers-2.6.7 b/sys-kernel/linux-headers/files/digest-linux-headers-2.6.7-r1
index fbf6945c9a39..fbf6945c9a39 100644
--- a/sys-kernel/linux-headers/files/digest-linux-headers-2.6.7
+++ b/sys-kernel/linux-headers/files/digest-linux-headers-2.6.7-r1
diff --git a/sys-kernel/linux-headers/files/linux-headers-2.6.7-appCompat.patch b/sys-kernel/linux-headers/files/linux-headers-2.6.7-appCompat.patch
index afc8102d3575..6b01dee8f017 100644
--- a/sys-kernel/linux-headers/files/linux-headers-2.6.7-appCompat.patch
+++ b/sys-kernel/linux-headers/files/linux-headers-2.6.7-appCompat.patch
@@ -972,9 +972,9 @@ diff -ur linux-2.6.7/include/linux/compiler.h linux-2.6.7-gentoo/include/linux/c
#endif
+#if (__GNUC__ > 3) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)
-+#define inline __inline__ __attribute__((always_inline))
-+#define __inline__ __inline__ __attribute__((always_inline))
-+#define __inline __inline__ __attribute__((always_inline))
++#define inline __inline__
++#define __inline__ __inline__
++#define __inline __inline__
+#ifndef asm
+# define asm __asm__
+#endif
diff --git a/sys-kernel/linux-headers/linux-headers-2.6.7.ebuild b/sys-kernel/linux-headers/linux-headers-2.6.7-r1.ebuild
index 7b77b620eeac..001ce5705d61 100644
--- a/sys-kernel/linux-headers/linux-headers-2.6.7.ebuild
+++ b/sys-kernel/linux-headers/linux-headers-2.6.7-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 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.7.ebuild,v 1.3 2004/06/24 22:58:42 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.6.7-r1.ebuild,v 1.1 2004/06/28 16:28:29 plasmaroo Exp $
ETYPE="headers"
inherit kernel eutils