Mercurial > hg > aboriginal
changeset 555:82be828e61b5
Patch needed to build uClibc 0.9.30 with 2.6.28 kernel headers.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 28 Dec 2008 02:15:41 -0600 |
parents | 52248870bdb0 |
children | 3a60fac0781c |
files | sources/patches/uClibc-0.9.30-2.6.28.patch |
diffstat | 1 files changed, 27 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/patches/uClibc-0.9.30-2.6.28.patch Sun Dec 28 02:15:41 2008 -0600 @@ -0,0 +1,27 @@ +diff -ruN uClibc/libc/sysdeps/linux/i386/bits/kernel_types.h uClibc2/libc/sysdeps/linux/i386/bits/kernel_types.h +--- uClibc/libc/sysdeps/linux/i386/bits/kernel_types.h 2008-07-23 06:23:36.000000000 -0500 ++++ uClibc2/libc/sysdeps/linux/i386/bits/kernel_types.h 2008-12-28 01:19:51.000000000 -0600 +@@ -7,7 +7,8 @@ + + /* a hack for compiling a 32 bit user space with 64 bit + * kernel on x86_64 */ +-#if !defined(__ARCH_I386_POSIX_TYPES_H) && !defined(_ASM_X86_64_POSIX_TYPES_H) ++#if !defined(__ARCH_I386_POSIX_TYPES_H) && !defined(_ASM_X86_64_POSIX_TYPES_H) && !defined(_ASM_X86_POSIX_TYPES_32_H) ++#define _ASM_X86_POSIX_TYPES_32_H + #define _ASM_X86_64_POSIX_TYPES_H + #define __ARCH_I386_POSIX_TYPES_H + +diff -ruN uClibc/libc/sysdeps/linux/x86_64/bits/kernel_types.h uClibc2/libc/sysdeps/linux/x86_64/bits/kernel_types.h +--- uClibc/libc/sysdeps/linux/x86_64/bits/kernel_types.h 2008-07-23 06:23:36.000000000 -0500 ++++ uClibc2/libc/sysdeps/linux/x86_64/bits/kernel_types.h 2008-12-28 01:22:29.000000000 -0600 +@@ -4,8 +4,9 @@ + * 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;