diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-01-06 12:37:45 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-24 09:40:29 +0000 |
commit | b207868cddcad850078fd061c4150c6ff92acbba (patch) | |
tree | 8c7b5c44312d7d9087c2139ea9ae3e7977a29a0d /meta/recipes-extended/pax/pax_3.4.bb | |
parent | 1076499cdf6bd4e77b2fd8333c6a92b41545663e (diff) | |
download | poky-b207868cddcad850078fd061c4150c6ff92acbba.tar.gz |
pax: Fix build with musl
There are several BSD specific assumptions
and some GNU specific ones.
(From OE-Core rev: 49e8fc6c4511e026dee176422cf3a7b7558c7cfc)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/pax/pax_3.4.bb')
-rw-r--r-- | meta/recipes-extended/pax/pax_3.4.bb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/recipes-extended/pax/pax_3.4.bb b/meta/recipes-extended/pax/pax_3.4.bb index ad04871a8e..cee52e3e57 100644 --- a/meta/recipes-extended/pax/pax_3.4.bb +++ b/meta/recipes-extended/pax/pax_3.4.bb | |||
@@ -12,11 +12,21 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4b0b674dfdc56daa3832d4069b820ea0 \ | |||
12 | SECTION = "base" | 12 | SECTION = "base" |
13 | PR = "r2" | 13 | PR = "r2" |
14 | 14 | ||
15 | DEPENDS_append_libc-musl = " fts " | ||
16 | |||
15 | SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/${BPN}/${BP}.tar.bz2/fbd9023b590b45ac3ade95870702a0d6/${BP}.tar.bz2 \ | 17 | SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/${BPN}/${BP}.tar.bz2/fbd9023b590b45ac3ade95870702a0d6/${BP}.tar.bz2 \ |
16 | file://fix_for_compile_with_gcc-4.6.0.patch \ | 18 | file://fix_for_compile_with_gcc-4.6.0.patch \ |
17 | file://pax-3.4_fix_for_x32.patch" | 19 | file://pax-3.4_fix_for_x32.patch" |
18 | 20 | ||
21 | SRC_URI_append_libc-musl = " file://0001-Fix-build-with-musl.patch \ | ||
22 | file://0001-use-strtoll-instead-of-strtoq.patch \ | ||
23 | " | ||
24 | |||
19 | SRC_URI[md5sum] = "fbd9023b590b45ac3ade95870702a0d6" | 25 | SRC_URI[md5sum] = "fbd9023b590b45ac3ade95870702a0d6" |
20 | SRC_URI[sha256sum] = "ac3c06048e02828077cf7757d3d142241429238893b91d529af29a2e8cc5623b" | 26 | SRC_URI[sha256sum] = "ac3c06048e02828077cf7757d3d142241429238893b91d529af29a2e8cc5623b" |
21 | 27 | ||
28 | # see https://lists.yoctoproject.org/pipermail/poky/2013-December/009435.html | ||
29 | # We should ideally drop ac_cv_sizeof_off_t from site files but until then | ||
30 | EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', 'ac_cv_sizeof_off_t=8', '', d)}" | ||
31 | |||
22 | inherit autotools | 32 | inherit autotools |