summaryrefslogtreecommitdiff
path: root/recipes/klibc/klibc-1.5.18/arm-signal-cleanup.patch
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2010-05-31 01:39:00 +0200
committerAndrea Adami <andrea.adami@gmail.com>2010-05-31 01:39:00 +0200
commit921f2ae278c952cf30cfe1554bac079c213bd5f1 (patch)
treedfc5ea4458d06929c52edf97e18cb4d1cd1d12fc /recipes/klibc/klibc-1.5.18/arm-signal-cleanup.patch
parentc6a662cd60d585a10b83a3642de36b48bb15e5ac (diff)
klibc: add some patches to 1.5.18 and make it build vs. old kernels.
* increase default preference, tested on arm
Diffstat (limited to 'recipes/klibc/klibc-1.5.18/arm-signal-cleanup.patch')
-rw-r--r--recipes/klibc/klibc-1.5.18/arm-signal-cleanup.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/recipes/klibc/klibc-1.5.18/arm-signal-cleanup.patch b/recipes/klibc/klibc-1.5.18/arm-signal-cleanup.patch
new file mode 100644
index 0000000000..b95d6aec95
--- /dev/null
+++ b/recipes/klibc/klibc-1.5.18/arm-signal-cleanup.patch
@@ -0,0 +1,18 @@
+Index: klibc-1.5.15/usr/include/arch/arm/klibc/archsignal.h
+===================================================================
+--- klibc-1.5.15.orig/usr/include/arch/arm/klibc/archsignal.h 2010-03-20 01:06:35.000000000 +0100
++++ klibc-1.5.15/usr/include/arch/arm/klibc/archsignal.h 2010-05-30 18:08:47.000000000 +0200
+@@ -104,7 +104,12 @@
+ #define MINSIGSTKSZ 2048
+ #define SIGSTKSZ 8192
+
++#include <linux/version.h>
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,31)
+ #include <asm-generic/signal-defs.h>
++#else
++#include <asm-generic/signal.h>
++#endif
+
+ /* This uses gcc anonymous union support... */
+ struct siginfo;
+