summaryrefslogtreecommitdiff
path: root/packages/uclibc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/uclibc')
-rw-r--r--packages/uclibc/files/kernel-key-t-ipc.h.patch0
-rw-r--r--packages/uclibc/uclibc_0.9.27.bb11
2 files changed, 10 insertions, 1 deletions
diff --git a/packages/uclibc/files/kernel-key-t-ipc.h.patch b/packages/uclibc/files/kernel-key-t-ipc.h.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/uclibc/files/kernel-key-t-ipc.h.patch
diff --git a/packages/uclibc/uclibc_0.9.27.bb b/packages/uclibc/uclibc_0.9.27.bb
index 65552b61bb..d7630b74b3 100644
--- a/packages/uclibc/uclibc_0.9.27.bb
+++ b/packages/uclibc/uclibc_0.9.27.bb
@@ -1,10 +1,19 @@
DEFAULT_PREFERENCE = "1"
-PR = "r4"
+PR = "r5"
include uclibc.inc
+# This patch removes the typedef of __kernel_key_t from
+# include/bits/ipc.h. Because this removes a typedef some
+# packages which relied on it (erroneously - it is defined
+# in include/linux/posix_types.h and is internal) may stop
+# building. The patch has only been verified on NSLU2 builds.
+PATCH_ipc_h ?=
+PATCH_ipc_h_nslu2 = "file://kernel-key-t-ipc.h.patch;patch=1"
+
SRC_URI += "http://www.uclibc.org/downloads/uClibc-${PV}.tar.bz2 \
file://dyn-ldconfig.patch;patch=1 \
file://nokernelheadercheck.patch;patch=1"
SRC_URI += " file://armeb-kernel-stat.h.patch;patch=1"
+SRC_URI += ${PATCH_ipc_h}
S = "${WORKDIR}/uClibc-${PV}"