diff options
author | Tim Yamin <plasmaroo@gentoo.org> | 2004-02-20 00:22:15 +0000 |
---|---|---|
committer | Tim Yamin <plasmaroo@gentoo.org> | 2004-02-20 00:22:15 +0000 |
commit | 71680cfa48e2bec9157bb21ff5f9a08ff82552a0 (patch) | |
tree | 581323874cc0265231eafe103602a7f0f0559829 /sys-kernel | |
parent | Version bump, closes bug #42153. [ Manifest recommit ] (diff) | |
download | gentoo-2-71680cfa48e2bec9157bb21ff5f9a08ff82552a0.tar.gz gentoo-2-71680cfa48e2bec9157bb21ff5f9a08ff82552a0.tar.bz2 gentoo-2-71680cfa48e2bec9157bb21ff5f9a08ff82552a0.zip |
Fixed "__attribute_const__" bug brought up from upstream.
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/linux-headers/files/linux-headers-2.6.3-strict-ansi-fix.patch | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sys-kernel/linux-headers/files/linux-headers-2.6.3-strict-ansi-fix.patch b/sys-kernel/linux-headers/files/linux-headers-2.6.3-strict-ansi-fix.patch index ed4409dc0020..7f5b36f2d011 100644 --- a/sys-kernel/linux-headers/files/linux-headers-2.6.3-strict-ansi-fix.patch +++ b/sys-kernel/linux-headers/files/linux-headers-2.6.3-strict-ansi-fix.patch @@ -1,5 +1,14 @@ --- linux-2.6.0/include/asm-i386/byteorder.h 2003-07-10 21:11:31.000000000 +0100 +++ linux-2.6.0/include/asm-i386/byteorder.h 2003-12-26 22:58:17.000000000 +0000 +@@ -1,6 +1,8 @@ + #ifndef _I386_BYTEORDER_H + #define _I386_BYTEORDER_H + ++#define __attribute_const__ __attribute__((__const__)) ++ + #include <asm/types.h> + #include <linux/compiler.h> + @@ -43,13 +43,13 @@ } v; v.u = val; |