Mercurial > hg > aboriginal
annotate sources/patches/uClibc-fixsparc.patch @ 680:924527b0b454
Fix ppc bios, this is the one from qemu svn 6657.
author | Rob Landley <rob@landley.net> |
---|---|
date | Mon, 30 Mar 2009 04:50:02 -0500 |
parents | 98369d03cf6f |
children |
rev | line source |
---|---|
656
98369d03cf6f
Patch to make uClibc 0.9.30.1 build for sparc with linux 2.6.29 headers - it's the same bug that hit x86/x86_64 when they were unified in 2.6.28.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
1 diff -ru uClibc/libc/sysdeps/linux/sparc/bits/kernel_types.h uClibc.bak/libc/sysdeps/linux/sparc/bits/kernel_types.h |
98369d03cf6f
Patch to make uClibc 0.9.30.1 build for sparc with linux 2.6.29 headers - it's the same bug that hit x86/x86_64 when they were unified in 2.6.28.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
2 --- uClibc/libc/sysdeps/linux/sparc/bits/kernel_types.h 2008-07-23 06:23:36.000000000 -0500 |
98369d03cf6f
Patch to make uClibc 0.9.30.1 build for sparc with linux 2.6.29 headers - it's the same bug that hit x86/x86_64 when they were unified in 2.6.28.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
3 +++ uClibc.bak/libc/sysdeps/linux/sparc/bits/kernel_types.h 2009-03-26 18:05:26.000000000 -0500 |
98369d03cf6f
Patch to make uClibc 0.9.30.1 build for sparc with linux 2.6.29 headers - it's the same bug that hit x86/x86_64 when they were unified in 2.6.28.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
4 @@ -4,9 +4,10 @@ |
98369d03cf6f
Patch to make uClibc 0.9.30.1 build for sparc with linux 2.6.29 headers - it's the same bug that hit x86/x86_64 when they were unified in 2.6.28.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
5 * our private content, and not the kernel header, will win. |
98369d03cf6f
Patch to make uClibc 0.9.30.1 build for sparc with linux 2.6.29 headers - it's the same bug that hit x86/x86_64 when they were unified in 2.6.28.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
6 * -Erik |
98369d03cf6f
Patch to make uClibc 0.9.30.1 build for sparc with linux 2.6.29 headers - it's the same bug that hit x86/x86_64 when they were unified in 2.6.28.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
7 */ |
98369d03cf6f
Patch to make uClibc 0.9.30.1 build for sparc with linux 2.6.29 headers - it's the same bug that hit x86/x86_64 when they were unified in 2.6.28.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
8 -#if ! defined __ARCH_SPARC_POSIX_TYPES_H && ! defined __ARCH_SPARC64_POSIX_TYPES_H |
98369d03cf6f
Patch to make uClibc 0.9.30.1 build for sparc with linux 2.6.29 headers - it's the same bug that hit x86/x86_64 when they were unified in 2.6.28.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
9 +#if ! defined __ARCH_SPARC_POSIX_TYPES_H && ! defined __ARCH_SPARC64_POSIX_TYPES_H && !defined __SPARC_POSIX_TYPES_H |
98369d03cf6f
Patch to make uClibc 0.9.30.1 build for sparc with linux 2.6.29 headers - it's the same bug that hit x86/x86_64 when they were unified in 2.6.28.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
10 #define __ARCH_SPARC_POSIX_TYPES_H |
98369d03cf6f
Patch to make uClibc 0.9.30.1 build for sparc with linux 2.6.29 headers - it's the same bug that hit x86/x86_64 when they were unified in 2.6.28.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
11 #define __ARCH_SPARC64_POSIX_TYPES_H |
98369d03cf6f
Patch to make uClibc 0.9.30.1 build for sparc with linux 2.6.29 headers - it's the same bug that hit x86/x86_64 when they were unified in 2.6.28.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
12 +#define __SPARC_POSIX_TYPES_H |
98369d03cf6f
Patch to make uClibc 0.9.30.1 build for sparc with linux 2.6.29 headers - it's the same bug that hit x86/x86_64 when they were unified in 2.6.28.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
13 |
98369d03cf6f
Patch to make uClibc 0.9.30.1 build for sparc with linux 2.6.29 headers - it's the same bug that hit x86/x86_64 when they were unified in 2.6.28.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
14 # if __WORDSIZE == 64 |
98369d03cf6f
Patch to make uClibc 0.9.30.1 build for sparc with linux 2.6.29 headers - it's the same bug that hit x86/x86_64 when they were unified in 2.6.28.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
15 typedef unsigned long __kernel_size_t; |