diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-02-08 07:57:59 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-15 20:06:42 -0800 |
commit | e380d55c1d554ccb4a301d49796ab482d6f0286f (patch) | |
tree | c4373fbc107b95dd67c4c9a6af61a86237e9d555 /meta/recipes-support/libcap | |
parent | bd38e7e84da3691d763e8991c07ebf5ae20496a1 (diff) | |
download | poky-e380d55c1d554ccb4a301d49796ab482d6f0286f.tar.gz |
libcap: Add gperf-native to depends
Fixes
| gperf_case_strncmp (register const char *s1, register const char *s2, register size_t n)
| ^~~~~~
| ./_caps_output.gperf:96:53: error: unknown type name 'size_t'
| __cap_hash_name (register const char *str, register size_t len)
| ^~~~~~
| ./_caps_output.gperf:200:55: error: unknown type name 'size_t'
| __cap_lookup_name (register const char *str, register size_t len)
| ^~~~~~
| ./_caps_output.gperf:200:1: error: conflicting types for '__cap_lookup_name'
| __cap_lookup_name (register const char *str, register size_t len)
| ^~~~~~~~~~~~~~~~~
| ./_caps_output.gperf:33:29: note: previous declaration of '__cap_lookup_name' was here
| const struct __cap_token_s *__cap_lookup_name(const char *, unsigned int);
| ^~~~~~~~~~~~~~~~~
| cap_text.c: In function 'cap_to_name':
| cap_text.c:291:2: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
| asprintf(&tmp, "%u", cap);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| make[1]: *** [Makefile:63: cap_text.o] Error 1
(From OE-Core rev: 092954cf2fba5020443f09c8e1fbc1788f704f10)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libcap')
-rw-r--r-- | meta/recipes-support/libcap/libcap_2.25.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-support/libcap/libcap_2.25.bb b/meta/recipes-support/libcap/libcap_2.25.bb index 7ced4be626..343aeb6c40 100644 --- a/meta/recipes-support/libcap/libcap_2.25.bb +++ b/meta/recipes-support/libcap/libcap_2.25.bb | |||
@@ -5,7 +5,7 @@ HOMEPAGE = "http://sites.google.com/site/fullycapable/" | |||
5 | LICENSE = "BSD | GPLv2" | 5 | LICENSE = "BSD | GPLv2" |
6 | LIC_FILES_CHKSUM = "file://License;md5=3f84fd6f29d453a56514cb7e4ead25f1" | 6 | LIC_FILES_CHKSUM = "file://License;md5=3f84fd6f29d453a56514cb7e4ead25f1" |
7 | 7 | ||
8 | DEPENDS = "hostperl-runtime-native" | 8 | DEPENDS = "hostperl-runtime-native gperf-native" |
9 | 9 | ||
10 | SRC_URI = "${KERNELORG_MIRROR}/linux/libs/security/linux-privs/${BPN}2/${BPN}-${PV}.tar.xz \ | 10 | SRC_URI = "${KERNELORG_MIRROR}/linux/libs/security/linux-privs/${BPN}2/${BPN}-${PV}.tar.xz \ |
11 | file://0001-ensure-the-XATTR_NAME_CAPS-is-defined-when-it-is-use.patch \ | 11 | file://0001-ensure-the-XATTR_NAME_CAPS-is-defined-when-it-is-use.patch \ |