aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-11-30 18:30:16 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-11-30 18:30:16 +0000
commit2d3da58dc675357a0a4b1081a4fe30a0e77e19c6 (patch)
tree1d9330405076ad996e505790e66827b289f8a8a1 /toolchain/uClibc/patches
parent040bb4800e52154d0b06e392cb13a48be3d4821d (diff)
downloadupstream-2d3da58dc675357a0a4b1081a4fe30a0e77e19c6.tar.gz
upstream-2d3da58dc675357a0a4b1081a4fe30a0e77e19c6.tar.bz2
upstream-2d3da58dc675357a0a4b1081a4fe30a0e77e19c6.zip
another round of ppc fixes - the unfinished include/asm-ppc => asm-powerpc migration causes trouble
SVN-Revision: 5683
Diffstat (limited to 'toolchain/uClibc/patches')
-rw-r--r--toolchain/uClibc/patches/180-powerpc_headers.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/toolchain/uClibc/patches/180-powerpc_headers.patch b/toolchain/uClibc/patches/180-powerpc_headers.patch
new file mode 100644
index 0000000000..98af0c03c6
--- /dev/null
+++ b/toolchain/uClibc/patches/180-powerpc_headers.patch
@@ -0,0 +1,13 @@
+diff -ur uClibc.old/libc/sysdeps/linux/powerpc/bits/kernel_types.h uClibc.dev/libc/sysdeps/linux/powerpc/bits/kernel_types.h
+--- uClibc.old/libc/sysdeps/linux/powerpc/bits/kernel_types.h 2005-08-18 00:49:41.000000000 +0200
++++ uClibc.dev/libc/sysdeps/linux/powerpc/bits/kernel_types.h 2006-11-30 19:26:22.000000000 +0100
+@@ -4,7 +4,8 @@
+ * our private content, and not the kernel header, will win.
+ * -Erik
+ */
+-#if ! defined _PPC_POSIX_TYPES_H && ! defined _PPC64_POSIX_TYPES_H
++#if ! defined _PPC_POSIX_TYPES_H && ! defined _PPC64_POSIX_TYPES_H && !defined _ASM_POWERPC_POSIX_TYPES_H
++#define _ASM_POWERPC_POSIX_TYPES_H
+ #define _PPC_POSIX_TYPES_H
+ #define _PPC64_POSIX_TYPES_H
+