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:32 +0100 |
| commit | 40771f3ba70e25d3222378b660b2c01b60a7a1bf (patch) | |
| tree | c0edd25baf00373215bed47410dc61cf37025a40 /meta | |
| parent | 036644daff784df4e71b32531445b559a1a6067f (diff) | |
| download | poky-40771f3ba70e25d3222378b660b2c01b60a7a1bf.tar.gz | |
systemd: Support building on uclibc
include missing.h to get MAX_HANDLE_SZ which
is not defined in uclibc.
(From OE-Core rev: fa2a90ca632d10fe1a14098c3f4fcacc7cea6ac5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
| -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 @@ | |||
| 1 | From 764ecbeda4813f33eafd45fdc3ccb9376356f475 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Mon, 25 Aug 2014 15:40:31 -0700 | ||
| 4 | Subject: [PATCH] util: Including missing.h to get MAX_HANDLE_SZ | ||
| 5 | |||
| 6 | Helps compiling on uclibc | ||
| 7 | |||
| 8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 9 | |||
| 10 | Upstream-Status: [Backport] | ||
| 11 | --- | ||
| 12 | src/shared/util.h | 1 + | ||
| 13 | 1 file changed, 1 insertion(+) | ||
| 14 | |||
| 15 | diff --git a/src/shared/util.h b/src/shared/util.h | ||
| 16 | index 62eb604..036fc59 100644 | ||
| 17 | --- a/src/shared/util.h | ||
| 18 | +++ b/src/shared/util.h | ||
| 19 | @@ -84,6 +84,7 @@ | ||
| 20 | #endif | ||
| 21 | |||
| 22 | #include "macro.h" | ||
| 23 | +#include "missing.h" | ||
| 24 | #include "time-util.h" | ||
| 25 | |||
| 26 | /* What is interpreted as whitespace? */ | ||
| 27 | -- | ||
| 28 | 1.7.10.4 | ||
| 29 | |||
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= | |||
| 31 | file://0001-uClibc-doesn-t-implement-pwritev-preadv.patch \ | 31 | file://0001-uClibc-doesn-t-implement-pwritev-preadv.patch \ |
| 32 | file://uclibc-sysinfo_h.patch \ | 32 | file://uclibc-sysinfo_h.patch \ |
| 33 | file://uclibc-get-physmem.patch \ | 33 | file://uclibc-get-physmem.patch \ |
| 34 | file://0001-util-Including-missing.h-to-get-MAX_HANDLE_SZ.patch \ | ||
| 34 | file://touchscreen.rules \ | 35 | file://touchscreen.rules \ |
| 35 | file://00-create-volatile.conf \ | 36 | file://00-create-volatile.conf \ |
| 36 | file://init \ | 37 | file://init \ |
