summaryrefslogtreecommitdiff
path: root/meta/recipes-extended/pax/pax_3.4.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-01-06 12:37:45 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-22 23:42:50 +0000
commit49e8fc6c4511e026dee176422cf3a7b7558c7cfc (patch)
tree67fa48c2f7fdfc4d15f29a36e3844e737e42ebdb /meta/recipes-extended/pax/pax_3.4.bb
parentc17d9a8d7f89b8e855f87d61583075129e4aa72c (diff)
downloadopenembedded-core-49e8fc6c4511e026dee176422cf3a7b7558c7cfc.tar.gz
openembedded-core-49e8fc6c4511e026dee176422cf3a7b7558c7cfc.tar.bz2
openembedded-core-49e8fc6c4511e026dee176422cf3a7b7558c7cfc.zip
pax: Fix build with musl
There are several BSD specific assumptions and some GNU specific ones. Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta/recipes-extended/pax/pax_3.4.bb')
-rw-r--r--meta/recipes-extended/pax/pax_3.4.bb10
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 \
SECTION = "base"
PR = "r2"
+DEPENDS_append_libc-musl = " fts "
+
SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/${BPN}/${BP}.tar.bz2/fbd9023b590b45ac3ade95870702a0d6/${BP}.tar.bz2 \
file://fix_for_compile_with_gcc-4.6.0.patch \
file://pax-3.4_fix_for_x32.patch"
+SRC_URI_append_libc-musl = " file://0001-Fix-build-with-musl.patch \
+ file://0001-use-strtoll-instead-of-strtoq.patch \
+ "
+
SRC_URI[md5sum] = "fbd9023b590b45ac3ade95870702a0d6"
SRC_URI[sha256sum] = "ac3c06048e02828077cf7757d3d142241429238893b91d529af29a2e8cc5623b"
+# see https://lists.yoctoproject.org/pipermail/poky/2013-December/009435.html
+# We should ideally drop ac_cv_sizeof_off_t from site files but until then
+EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', 'ac_cv_sizeof_off_t=8', '', d)}"
+
inherit autotools