From 921f2ae278c952cf30cfe1554bac079c213bd5f1 Mon Sep 17 00:00:00 2001 From: Andrea Adami Date: Mon, 31 May 2010 01:39:00 +0200 Subject: klibc: add some patches to 1.5.18 and make it build vs. old kernels. * increase default preference, tested on arm --- recipes/klibc/klibc-1.5.18/arm-signal-cleanup.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 recipes/klibc/klibc-1.5.18/arm-signal-cleanup.patch (limited to 'recipes/klibc/klibc-1.5.18/arm-signal-cleanup.patch') 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 ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,31) + #include ++#else ++#include ++#endif + + /* This uses gcc anonymous union support... */ + struct siginfo; + -- cgit v1.2.3