diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-02-01 05:08:22 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-02 14:44:16 +0000 |
commit | 07a91a6e31b777c97704e1b031bda2665bb8bc2d (patch) | |
tree | bc98a1a26146201d29b827dbd421b679b02f218b /meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb | |
parent | 1b34f55a35111b4b798469a819be54d31927e13f (diff) | |
download | poky-07a91a6e31b777c97704e1b031bda2665bb8bc2d.tar.gz |
libnss-mdns: Check for nss.h before using
nss.h is not available on all libcs
so check for it and if its not there provide
the needed data types.
Fixed buil with musl
../../nss-mdns-0.10/src/nss.c:32:17: fatal error: nss.h: No such file or
directory
compilation terminated.
make[2]: *** [libnss_mdns4_la-nss.lo] Error 1
(From OE-Core rev: 94f780e889f194b67a48587ac68b3200288bee10)
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-connectivity/libnss-mdns/libnss-mdns_0.10.bb')
-rw-r--r-- | meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb b/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb index 0b936ef092..8d2feec769 100644 --- a/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb +++ b/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb | |||
@@ -8,7 +8,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1" | |||
8 | DEPENDS = "avahi" | 8 | DEPENDS = "avahi" |
9 | PR = "r7" | 9 | PR = "r7" |
10 | 10 | ||
11 | SRC_URI = "http://0pointer.de/lennart/projects/nss-mdns/nss-mdns-${PV}.tar.gz" | 11 | SRC_URI = "http://0pointer.de/lennart/projects/nss-mdns/nss-mdns-${PV}.tar.gz \ |
12 | file://0001-check-for-nss.h.patch \ | ||
13 | " | ||
12 | 14 | ||
13 | SRC_URI[md5sum] = "03938f17646efbb50aa70ba5f99f51d7" | 15 | SRC_URI[md5sum] = "03938f17646efbb50aa70ba5f99f51d7" |
14 | SRC_URI[sha256sum] = "1e683c2e7c3921814706d62fbbd3e9cbf493a75fa00255e0e715508d8134fa6d" | 16 | SRC_URI[sha256sum] = "1e683c2e7c3921814706d62fbbd3e9cbf493a75fa00255e0e715508d8134fa6d" |