aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2009-01-21 16:56:57 +0000
committerNicolas Thill <nico@openwrt.org>2009-01-21 16:56:57 +0000
commite93668757ea29b85346e3b7a22ea0e871a6adfa2 (patch)
tree191d0d2bd3a353328dd99e6b760136b9b27f7d95 /toolchain/uClibc
parent2526375d164159b4e2340467d4f70cb46a525cab (diff)
downloadmaster-187ad058-e93668757ea29b85346e3b7a22ea0e871a6adfa2.tar.gz
master-187ad058-e93668757ea29b85346e3b7a22ea0e871a6adfa2.tar.bz2
master-187ad058-e93668757ea29b85346e3b7a22ea0e871a6adfa2.zip
[toolchain] fix uClibc v0.9.30 build on x86_64
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14138 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/uClibc')
-rw-r--r--toolchain/uClibc/patches/0.9.30/180-fix_kernel_types_with_recent_kernel.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/toolchain/uClibc/patches/0.9.30/180-fix_kernel_types_with_recent_kernel.patch b/toolchain/uClibc/patches/0.9.30/180-fix_kernel_types_with_recent_kernel.patch
index 2c68583be3..89c60fee36 100644
--- a/toolchain/uClibc/patches/0.9.30/180-fix_kernel_types_with_recent_kernel.patch
+++ b/toolchain/uClibc/patches/0.9.30/180-fix_kernel_types_with_recent_kernel.patch
@@ -32,3 +32,18 @@ index 6609dd3..8641a48 100644
--
1.5.6.5
+diff -ruN uClibc-0.9.30-old/libc/sysdeps/linux/x86_64/bits/kernel_types.h uClibc-0.9.30-new/libc/sysdeps/linux/x86_64/bits/kernel_types.h
+--- uClibc-0.9.30-old/libc/sysdeps/linux/x86_64/bits/kernel_types.h 2008-07-23 13:23:36.000000000 +0200
++++ uClibc-0.9.30-new/libc/sysdeps/linux/x86_64/bits/kernel_types.h 2009-01-21 16:33:27.000000000 +0100
+@@ -4,8 +4,10 @@
+ * our private content, and not the kernel header, will win.
+ * -Erik
+ */
+-#ifndef _ASM_X86_64_POSIX_TYPES_H
++#if !defined(_ASM_X86_64_POSIX_TYPES_H) && \
++ !defined(_ASM_X86_POSIX_TYPES_64_H)
+ #define _ASM_X86_64_POSIX_TYPES_H
++#define _ASM_X86_POSIX_TYPES_64_H
+
+ typedef unsigned long __kernel_dev_t;
+ typedef unsigned long __kernel_ino_t;