diff options
author | Khem Raj <raj.khem@gmail.com> | 2014-08-25 16:45:04 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-27 12:12:07 +0100 |
commit | fa2a90ca632d10fe1a14098c3f4fcacc7cea6ac5 (patch) | |
tree | 92a7daf7a2bd3e26f5643d2c509b063c7e59227f /meta/recipes-core/systemd | |
parent | 7562021eef5b7585122c92db8b686808ebe7d85e (diff) | |
download | openembedded-core-fa2a90ca632d10fe1a14098c3f4fcacc7cea6ac5.tar.gz openembedded-core-fa2a90ca632d10fe1a14098c3f4fcacc7cea6ac5.tar.bz2 openembedded-core-fa2a90ca632d10fe1a14098c3f4fcacc7cea6ac5.zip |
systemd: Support building on uclibc
include missing.h to get MAX_HANDLE_SZ which
is not defined in uclibc.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd')
-rw-r--r-- | meta/recipes-core/systemd/systemd/0001-util-Including-missing.h-to-get-MAX_HANDLE_SZ.patch | 29 | ||||
-rw-r--r-- | meta/recipes-core/systemd/systemd_213.bb | 1 |
2 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd/0001-util-Including-missing.h-to-get-MAX_HANDLE_SZ.patch b/meta/recipes-core/systemd/systemd/0001-util-Including-missing.h-to-get-MAX_HANDLE_SZ.patch new file mode 100644 index 0000000000..ba4a21ba9f --- /dev/null +++ b/meta/recipes-core/systemd/systemd/0001-util-Including-missing.h-to-get-MAX_HANDLE_SZ.patch @@ -0,0 +1,29 @@ +From 764ecbeda4813f33eafd45fdc3ccb9376356f475 Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Mon, 25 Aug 2014 15:40:31 -0700 +Subject: [PATCH] util: Including missing.h to get MAX_HANDLE_SZ + +Helps compiling on uclibc + +Signed-off-by: Khem Raj <raj.khem@gmail.com> + +Upstream-Status: [Backport] +--- + src/shared/util.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/shared/util.h b/src/shared/util.h +index 62eb604..036fc59 100644 +--- a/src/shared/util.h ++++ b/src/shared/util.h +@@ -84,6 +84,7 @@ + #endif + + #include "macro.h" ++#include "missing.h" + #include "time-util.h" + + /* What is interpreted as whitespace? */ +-- +1.7.10.4 + diff --git a/meta/recipes-core/systemd/systemd_213.bb b/meta/recipes-core/systemd/systemd_213.bb index ccdc10b873..472a5d5f7b 100644 --- a/meta/recipes-core/systemd/systemd_213.bb +++ b/meta/recipes-core/systemd/systemd_213.bb @@ -31,6 +31,7 @@ SRC_URI = "git://anongit.freedesktop.org/systemd/systemd;branch=master;protocol= file://0001-uClibc-doesn-t-implement-pwritev-preadv.patch \ file://uclibc-sysinfo_h.patch \ file://uclibc-get-physmem.patch \ + file://0001-util-Including-missing.h-to-get-MAX_HANDLE_SZ.patch \ file://touchscreen.rules \ file://00-create-volatile.conf \ file://init \ |