From patchwork Fri Sep 8 05:33:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 112008 Delivered-To: patch@linaro.org Received: by 10.140.94.239 with SMTP id g102csp1045471qge; Thu, 7 Sep 2017 22:34:03 -0700 (PDT) X-Received: by 10.98.214.198 with SMTP id a67mr1914989pfl.214.1504848843163; Thu, 07 Sep 2017 22:34:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504848843; cv=none; d=google.com; s=arc-20160816; b=JUbhq6dJeXyG9lmL5cxsr01g8wAmSR7IP31lI+5HVrsP5tcsbPQH9lss7h1ghjXiNH h+xVK7zQW001KWOEjNFKaRNWj5mxkO38bA7VmYz7URqDs/wX/p6LV15WPvBnkOpyebGy 8P3aRoe7sxETh6QxLy7ir0RzHLN0+adhpaPTQVtSHqaFavMQkMuD+ozvsMwXxk1wxPui ipQNVYZzSv4o7EIwMQ/G5H1NMqyZvV/vL4KUqCBj170hMAPtOJ2F3Q+zTPIxGY1yPDEd agcuqyvM2Fil1ml2th9mqM6MMrx2nfBVw0SSXpDNrDLYe4JZtOOVafMKXEfjbiE4y3zc YWzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=x4GVAP5h1GoJec3kVZKjnC0GQre0V0Be3GMAHj6DsXc=; b=VUGeC0mDbolncPTDmmhJw9xx/Et90g9Ua+WacM1nD+n2/GmOoFdrV2SEYt06LZmreZ YqTbeab5r3TAQPD3E8Jtpxp0660eJ7x+AXIBkll0IJPaKkMB3/sMtd37V7Kf2nq4jM3T /tWyb9i7Onz1ZGCm8Sv3ZoLX+tEtifkhogdGZq9OJaVEn5KW3lEJYkIgjSjdoW2a7S2i KRIJZEe94V/3HNbW0Tnhv05oEifSAVxFFCKHwIqmZuy2K4Oe8wsU+iH6KoOHD+REH+PY dk4SXkxWNR+9HGLFYO87Pw1LZROPBrRGgR6MiLdMpXLbMcnz9+NuQnj8zBufqe6nqfkN WdUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=FXirF6oK; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id d8si288501pfh.163.2017.09.07.22.34.02; Thu, 07 Sep 2017 22:34:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=FXirF6oK; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id AFF80781CD; Fri, 8 Sep 2017 05:34:00 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf0-f193.google.com (mail-pf0-f193.google.com [209.85.192.193]) by mail.openembedded.org (Postfix) with ESMTP id E7C54780F3 for ; Fri, 8 Sep 2017 05:33:32 +0000 (UTC) Received: by mail-pf0-f193.google.com with SMTP id q76so935951pfq.5 for ; Thu, 07 Sep 2017 22:33:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=xFkruYL1jjGJQ841Hy4yB4nQDm09yRyb3y04YaQkRKc=; b=FXirF6oKwmZrkFR9xX8u51ZOZ6gKdIs6RtOIJmzp2zRlcWifz8zRZFdJ9Oxq+ctPd6 ryq07So2Sf/vY/kUc/c73S265owOhqeicVm4D1jnMooNgTWA1faX+R1tgizyVRTZRnHw RYoir6g+yPIopBFA157Nv6qzoPJvSanPTO06favxW0PVIupJzbnPVjUrmKyvhz7btGDr RN90oPE8tIIGZa0aBRn//ZWACkWtC5p3AtU5kXCD+/qcfWSGwb+HT5PyVDRHbrm7RlNM L/rr47FPxgCuoYl958RoluGg2HduUkZwrjf1AyAHkFDCon4BnSUHtWGoaOz2ZV4sfwGm 4xnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=xFkruYL1jjGJQ841Hy4yB4nQDm09yRyb3y04YaQkRKc=; b=QSxRZ0zdkepXlXVEdFGMzCfQRb+Ma0S7xjWGJ3ueZHXQolXMw/U6s/pI8xWhAZ+lZ7 2COb9Itx5Zfxw4N5yieuGwE4F4nRgi36By7QYPVFMUkvqPgoUUA7wx+eQurLujMv4Dft U9QwieCH1+fzq8DyKKeWCh/6RupxzL834Alb0/iHuw6+FwsjCihFcNvpJLGQzdFSJD/l fIleo9AUjJQc0ONn+nmTuTRcCpPGZ6HE999Mgp6dHEKwK+LpBBiH2xfVStKG3tN2b5v+ 4rAuGoZC8qi2sD/WDbWjRjfaUtOzwJbHb4Lp6D6e1Q69pQ/Nje+wIKtWe7f829mqkiap ZL2A== X-Gm-Message-State: AHPjjUhxXzNjUrZsgphdmdmWD/cQrqomFxJPBM+gADh0b0nv0Cn5VhqC qzDc4uhijq21damo X-Google-Smtp-Source: ADKCNb5RX/IrIue/yLvQI0pwRzYQeGyPh7r1ztwkF2GmZPxg1GpTHS/UhzAwsd6XKxD7c3a0OZjpOA== X-Received: by 10.99.144.68 with SMTP id a65mr1947793pge.429.1504848814016; Thu, 07 Sep 2017 22:33:34 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::be3d]) by smtp.gmail.com with ESMTPSA id m190sm1564096pga.2.2017.09.07.22.33.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Sep 2017 22:33:31 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Thu, 7 Sep 2017 22:33:21 -0700 Message-Id: <20170908053322.16130-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170908053322.16130-1-raj.khem@gmail.com> References: <20170908053322.16130-1-raj.khem@gmail.com> Subject: [oe] [meta-networking][PATCH 2/3] autofs: Fix build with musl X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- ...kup_multi.c-Replace-__S_IEXEC-with-S_IEXE.patch | 29 ++++++++++++++++++++++ .../recipes-daemons/autofs/autofs_5.1.2.bb | 1 + 2 files changed, 30 insertions(+) create mode 100644 meta-networking/recipes-daemons/autofs/autofs/0001-modules-lookup_multi.c-Replace-__S_IEXEC-with-S_IEXE.patch -- 2.14.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-networking/recipes-daemons/autofs/autofs/0001-modules-lookup_multi.c-Replace-__S_IEXEC-with-S_IEXE.patch b/meta-networking/recipes-daemons/autofs/autofs/0001-modules-lookup_multi.c-Replace-__S_IEXEC-with-S_IEXE.patch new file mode 100644 index 000000000..7ac145674 --- /dev/null +++ b/meta-networking/recipes-daemons/autofs/autofs/0001-modules-lookup_multi.c-Replace-__S_IEXEC-with-S_IEXE.patch @@ -0,0 +1,29 @@ +From e4ee00e08acd7c0912a3264ad32e4de861c7416f Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Thu, 7 Sep 2017 22:22:31 -0700 +Subject: [PATCH] modules/lookup_multi.c: Replace __S_IEXEC with S_IEXEC + +__S_IEXEC is internal to libc and may not be available on +all libc e.g. musl + +Signed-off-by: Khem Raj +--- + modules/lookup_multi.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/modules/lookup_multi.c b/modules/lookup_multi.c +index 3ecda6d..cf109de 100644 +--- a/modules/lookup_multi.c ++++ b/modules/lookup_multi.c +@@ -452,7 +452,7 @@ int lookup_reinit(const char *my_mapfmt, + continue; + } + +- if (st.st_mode & __S_IEXEC) ++ if (st.st_mode & S_IEXEC) + type = src_prog; + else + type = src_file; +-- +2.14.1 + diff --git a/meta-networking/recipes-daemons/autofs/autofs_5.1.2.bb b/meta-networking/recipes-daemons/autofs/autofs_5.1.2.bb index ccd8a7f24..68c64fdb0 100644 --- a/meta-networking/recipes-daemons/autofs/autofs_5.1.2.bb +++ b/meta-networking/recipes-daemons/autofs/autofs_5.1.2.bb @@ -26,6 +26,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/daemons/autofs/v5/autofs-${PV}.tar.gz \ file://0002-Replace-__S_IEXEC-with-S_IEXEC.patch \ file://autofs-5.1.2-libtirpc-as-need.patch \ file://pkgconfig-libnsl.patch \ + file://0001-modules-lookup_multi.c-Replace-__S_IEXEC-with-S_IEXE.patch \ " SRC_URI[md5sum] = "28cf88f99eff553a8500659ba5d45a76" SRC_URI[sha256sum] = "0d57e4138c2ec8058ca92164d035546f68ce4af93acb893369993d67c7056a10"