aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/autofs/autofs_5.1.1.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-03-31 19:14:53 -0700
committerJoe MacDonald <joe_macdonald@mentor.com>2017-04-25 15:55:37 -0400
commit488214259d17acfda308f821350630ea4ff359ae (patch)
tree550e208ff0908e373df57b1830250ffb40347025 /meta-networking/recipes-daemons/autofs/autofs_5.1.1.bb
parent423d6f08d069c8dfbdbbb13951d296b3c6d985fd (diff)
downloadmeta-openembedded-488214259d17acfda308f821350630ea4ff359ae.tar.gz
autofs: Patch to build on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-daemons/autofs/autofs_5.1.1.bb')
-rw-r--r--meta-networking/recipes-daemons/autofs/autofs_5.1.1.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-networking/recipes-daemons/autofs/autofs_5.1.1.bb b/meta-networking/recipes-daemons/autofs/autofs_5.1.1.bb
index 8d55596572..d85600e4c7 100644
--- a/meta-networking/recipes-daemons/autofs/autofs_5.1.1.bb
+++ b/meta-networking/recipes-daemons/autofs/autofs_5.1.1.bb
@@ -5,6 +5,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
DEPENDS += "libtirpc flex-native bison-native"
+CFLAGS_append_libc-musl = " -I${STAGING_INCDIR}/tirpc"
+
inherit autotools-brokensep systemd
SRC_URI = "${KERNELORG_MIRROR}/linux/daemons/autofs/v5/autofs-${PV}.tar.gz \
@@ -21,7 +23,9 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/daemons/autofs/v5/autofs-${PV}.tar.gz \
file://force-STRIP-to-emtpy.patch \
file://remove-bashism.patch \
file://fix-the-YACC-rule-to-fix-a-building-failure.patch \
-"
+ file://0001-Define-__SWORD_TYPE-and-_PATH_NSSWITCH_CONF.patch \
+ file://0002-Replace-__S_IEXEC-with-S_IEXEC.patch \
+ "
SRC_URI[md5sum] = "e143df66b614b8cdb1ff533735f8e12d"
SRC_URI[sha256sum] = "795419383b120d15699ab3b89ea0f3d029f6fb28405a83982d305c4b7b61130f"