From patchwork Thu Sep 14 16:22:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 112577 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp942791qgf; Thu, 14 Sep 2017 09:23:06 -0700 (PDT) X-Received: by 10.84.236.74 with SMTP id h10mr24515234pln.315.1505406186474; Thu, 14 Sep 2017 09:23:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505406186; cv=none; d=google.com; s=arc-20160816; b=JGHiLLnqEwjlsL2HBFpB2hqAG6DqRvctCaaEETv/QwBZz78VPCUHII4DY+rK/544mg 4QP9vmMhBJgdx5C8XGMXzJZVuF8+Ps3vezkSeAMZjrXaxR5pwTeUUMgSyt7XDa2w23et kix36BSRG0UCZIddMR/jE4QmSJE5BUYr2nIUwo+18TzJ4gLyoaMR9UfbNFyISlp2kAFs EoOZ4GRNXnQnCo4Tg9YG0Da1kDO/S7+9GHG/Z6YlcAgb9PvN0Jl63Qi0FyHDpsd5WCbS bFxOBd/5ei6PC38mBlMr4o47qRdq7DWuDStkZvL8KRmphhjs3ngZRRFfh1pkNuxr6bR+ s9dQ== 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:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=Ajtu1Mbz50XgMC4RYu4ms/xG1oe/2VFPR5pMHqG9OcI=; b=xReypitjUIlw+ebE2jOax21wLEkqSBISPaOkezNmKRptsjFLJSsww7hmaf7exjkMcV zfZipPGW+IQn1zAscjO/AMpHCsmuuDNb048bHhlPu+DiGcne5zhjsbSBMt6gIVWN6iKZ 9u/WVAaks6Ak9PQG1BUdldE4iEX55VTECUa8l4w8JHUqU6yTufrLvJNv87mfUyYeELGy 2Yw1uVk69lAxs7DX6HAaZI5t/wOIX6v18sJl11cSxtp8qOk/1+hU8KXbW+6HJwed2v12 DeOaYxDNe4NTSU0uHsruCe8zMmp/EhvvN5tXcN+q2zBj5WwAMELeePkWw9xPeUYkRo6x jSuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Oc2COYFF; 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 h7si4807034plt.522.2017.09.14.09.23.05; Thu, 14 Sep 2017 09:23:06 -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=Oc2COYFF; 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 35DDF785E3; Thu, 14 Sep 2017 16:23:03 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg0-f65.google.com (mail-pg0-f65.google.com [74.125.83.65]) by mail.openembedded.org (Postfix) with ESMTP id D799371C54 for ; Thu, 14 Sep 2017 16:23:01 +0000 (UTC) Received: by mail-pg0-f65.google.com with SMTP id j16so1943914pga.2 for ; Thu, 14 Sep 2017 09:23:03 -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; bh=uuLMETnJ4vN261Xpt4jSvNixyo7SDHs6vm4wdEio7fk=; b=Oc2COYFFdcAJ0dbXe+yD1osJHk5cS+4z+pM/pC1m59Ke2JlWOkCzPdHZbk40xGAiUD dSmpzrhQOfdJBpBfA6spgNlgf7kR7LJZYc4XiJf1IVLcPAR4BmRsssC/lwxL0SyhZh0K Y8RtfaiSn/W/yfe1abTP4BNgmW/fjdzOiTQ46Y2cWTmpuVmeN51DVaJiQSa8txJZLeIW Q6s7XWXEaLikh7xDquDKVYjo+eufjBG7asmZ/Z/0qXkjdGhFviqHJSd2FyKsWL7jOFEZ SK1KrsFZ7xkC2axdyW75LZWZRRzw5U1CxKKkbdrES4XBZjoXZsZK3zoBR9ylcpnMW+Oa va8A== 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; bh=uuLMETnJ4vN261Xpt4jSvNixyo7SDHs6vm4wdEio7fk=; b=PECqzeXrLvvRJRvEwNqW/d3/zoPq/nHGxi91u6fQsTKsBD57QAc0vvRKd2U2h7cs8T UddMhmjBsmLsxtKVKVIPKDZRV8gz3NoZNQGcOpx2ru49araiuHEjZH4MTcj+KFLKQE+p GS5acZLQ6OYK0vLq0VxQWKFYO/q7YVh8uny/cjMkZTGg2mquEM3qOzzW6lyFwQqTT/LK bJWnhrlAlbg64HEwhM7SboKNlRXVC9tMYmZ9PFhKaLFNH8MoNccv29/itXVmfpGe8ZPU z1gvR9awVv2kQeW/xvz3MHYSgWFkAGyz0SWR7WePqVXK+1ebA2r7wzk9uLplLUIYBdxO GB7w== X-Gm-Message-State: AHPjjUhgngAyGE4GKUrtgzwV+m429a0TQRoZylScEfAjW+9ljIwLSqrS 7vN6ddsZYPF0LiZX X-Google-Smtp-Source: ADKCNb5OKlN1vZ9QvsmY+OWdsM2d2p6bnuhFPpoRqURbIxmVMfZCD59JVsg7K6ToMPSzgwdCZ7t4MA== X-Received: by 10.99.158.17 with SMTP id s17mr21785919pgd.85.1505406182821; Thu, 14 Sep 2017 09:23:02 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::989f]) by smtp.gmail.com with ESMTPSA id b68sm33288473pfk.23.2017.09.14.09.23.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Sep 2017 09:23:02 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Thu, 14 Sep 2017 09:22:54 -0700 Message-Id: <20170914162255.43165-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.14.1 Subject: [oe] [meta-oe][PATCH 1/2] pidgin-otr: Upgrade to 4.0.2 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 Check for x11 before building, it has a hard dep on gtk+, which inturn needs x11 or directfb Signed-off-by: Khem Raj --- .../ignore_extra-portability_warnings.patch | 19 ------------------- meta-oe/recipes-support/pidgin/pidgin-otr_4.0.0.bb | 16 ---------------- meta-oe/recipes-support/pidgin/pidgin-otr_4.0.2.bb | 15 +++++++++++++++ 3 files changed, 15 insertions(+), 35 deletions(-) delete mode 100644 meta-oe/recipes-support/pidgin/pidgin-otr/ignore_extra-portability_warnings.patch delete mode 100644 meta-oe/recipes-support/pidgin/pidgin-otr_4.0.0.bb create mode 100644 meta-oe/recipes-support/pidgin/pidgin-otr_4.0.2.bb -- 2.14.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-support/pidgin/pidgin-otr/ignore_extra-portability_warnings.patch b/meta-oe/recipes-support/pidgin/pidgin-otr/ignore_extra-portability_warnings.patch deleted file mode 100644 index db0ad873b..000000000 --- a/meta-oe/recipes-support/pidgin/pidgin-otr/ignore_extra-portability_warnings.patch +++ /dev/null @@ -1,19 +0,0 @@ -pidgin-otr: Silence no-extra-portability warnings - -Make it build with OE, was not building with warning turned on - -Upstream-Status: Pending - -Signed-off-by: Jakob Drexel - ---- a/configure.ac 2012-09-01 17:03:19.000000000 +0200 -+++ b/configure.ac 2014-01-12 21:59:24.920300215 +0100 -@@ -4,7 +4,7 @@ - - AM_CONFIG_HEADER(config.h) - --AM_INIT_AUTOMAKE([-Wall -Werror]) -+AM_INIT_AUTOMAKE([-Wall -Werror -Wno-extra-portability]) - - AC_PROG_CC - diff --git a/meta-oe/recipes-support/pidgin/pidgin-otr_4.0.0.bb b/meta-oe/recipes-support/pidgin/pidgin-otr_4.0.0.bb deleted file mode 100644 index e8539c902..000000000 --- a/meta-oe/recipes-support/pidgin/pidgin-otr_4.0.0.bb +++ /dev/null @@ -1,16 +0,0 @@ -SUMMARY = "(OTR) Messaging allows you to have private conversations over instant messaging" -HOMEPAGE = "http://www.cypherpunks.ca/otr/" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=92fe174bad6da3763f6e9e9eaff6df24" -DEPENDS = "libgcrypt libotr pidgin intltool-native glib-2.0-native" - -SRC_URI = "http://www.cypherpunks.ca/otr/${BP}.tar.gz \ - file://ignore_extra-portability_warnings.patch \ -" - -SRC_URI[md5sum] = "eadb953376acc474e56041d4c12aa2c8" -SRC_URI[sha256sum] = "d56b3f092dbe9ee6597641c7d2dd294884dc04ba47aaf4ec571cd54977df4691" - -FILES_${PN} = "${libdir}/pidgin/*" - -inherit autotools pkgconfig diff --git a/meta-oe/recipes-support/pidgin/pidgin-otr_4.0.2.bb b/meta-oe/recipes-support/pidgin/pidgin-otr_4.0.2.bb new file mode 100644 index 000000000..5a21cd3fc --- /dev/null +++ b/meta-oe/recipes-support/pidgin/pidgin-otr_4.0.2.bb @@ -0,0 +1,15 @@ +SUMMARY = "(OTR) Messaging allows you to have private conversations over instant messaging" +HOMEPAGE = "https://otr.cypherpunks.ca/" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=92fe174bad6da3763f6e9e9eaff6df24" +DEPENDS = "libgcrypt libotr pidgin gtk+ intltool-native glib-2.0 glib-2.0-native" +REQUIRED_DISTRO_FEATURES = "x11" + +SRC_URI = "https://otr.cypherpunks.ca/${BP}.tar.gz \ +" +SRC_URI[md5sum] = "7ef14e1334a4bc80e5d530f9a3cfc626" +SRC_URI[sha256sum] = "f4b59eef4a94b1d29dbe0c106dd00cdc630e47f18619fc754e5afbf5724ebac4" + +FILES_${PN} = "${libdir}/pidgin/*" + +inherit autotools pkgconfig distro_features_check From patchwork Thu Sep 14 16:22:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 112578 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp942981qgf; Thu, 14 Sep 2017 09:23:16 -0700 (PDT) X-Received: by 10.98.33.134 with SMTP id o6mr21880329pfj.103.1505406196263; Thu, 14 Sep 2017 09:23:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505406196; cv=none; d=google.com; s=arc-20160816; b=jGX6BS/DS4uVR9m9hGNzreosfVhr24cv2TRJm7zQZPfblCWoPJ11oFohAyQb3ywtqE hVnW3Q0VwRDcx4BHJs+ZPRB0f8Y6ywEbTfQF98Ppz5/Dyv4JLvvwYHxzap7ujjq0v6Mq jTD/urYJN81VK1bJMej7W3BpjSsYSv08SSZP/GI1c4/Mjs5w3V/OK5eXfgtszaGyk3rS XbP6rcWwc8RHhmgwaFS9t/7IdWoA641svjtmJG2hiAVncuWlAPRMhrFTL4R6WIDXwt+R j9CoLytAUkE2j4c2tGtunkkaqxCxsRIIXb5MAV18Q53Ip7Fit/pqsh8xdcL+J1ArbGTg 1Qzw== 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=oVoDIw1L1IqU4l2fiHCk903KWhcwQTIHG9lyJt7vr7I=; b=BgUDc/3Uezou3XK8W3rX8MnyBiQyorMNRVEodjmd10aMisOvVJtHUxyQwiENi69B5a MDOvOdApOnUPojNnxrSRKh9yEATqMVep4T/ZXQaNuROWl8WkBHFXMt9/8bwX5VsLBqK2 bnu4K47Mu1YOaTkyo4/yrKSgyioL7pCAyBt0knrqv1gA9socQpABgVV2uZPLNWwKn08B rCiMNvIWZySdsK5HxQwfDO4dL1F1XLl52xkqxr9GBXFXZ9sANLrQv/B+F7cUPb/BFf4U RXwK/CrTYLwhRm9gK1R8qcDh5VZxiZcvkJlp3ckfP8w34OAWb7eGfebWT7c46mR/XbJb +lJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=jFH4CD3a; 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 q19si316007pfk.480.2017.09.14.09.23.16; Thu, 14 Sep 2017 09:23:16 -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=jFH4CD3a; 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 6B6D778629; Thu, 14 Sep 2017 16:23:12 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg0-f68.google.com (mail-pg0-f68.google.com [74.125.83.68]) by mail.openembedded.org (Postfix) with ESMTP id 644CB78621 for ; Thu, 14 Sep 2017 16:23:02 +0000 (UTC) Received: by mail-pg0-f68.google.com with SMTP id d8so1937645pgt.3 for ; Thu, 14 Sep 2017 09:23:04 -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=fTvk9VBE5sLYrCyAwlkcDJEAMdnsK6jZ1jhjGWQbh/M=; b=jFH4CD3aJAIPILfPnCPnwIzJ8hV5QuLHLcOiDMr4kd/p00ujaNGNE3nn8b2koquNXT uD5IcM/xqb8Bwq9xCm9T+e6SPb2JIfNdkxPuklAOldR095NJ9J6UXSTdGNzCurQ6O8Xj k2gKLSzpyKqsPlRg4dN8kvbggnVpX8+0OEEszhfqBKUBPnCBv8fLFZ54+/kKWkBFSP4a VWGXioWTVyruwW+a7ssebsd1kR/hV0/r+sUkyx6zubjG7CkFotT9Xzx16VKBPpGj2rmP JdxmiX1wQ4sEhztdYLxEBlaSlCT2SZtBaQm7H/XK48bBpti44JeycL2tbfhHxqk34SZE MnSw== 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=fTvk9VBE5sLYrCyAwlkcDJEAMdnsK6jZ1jhjGWQbh/M=; b=MXx2464qo9gSBmZO5C6UxJIi9GtwQc6+Nm2fvQFvJPvyr+qZnfdJeGjdFWeyTvScnd dwZJxAto/SxbBxVNDfuMVHwibqN6rtYu5v7q0EPckyF/NdI7n6ab4+qPjDPGwzXDktPo fbydXoj4oSnwasORq7XXR5LF1gEBmDTiI8kVRoIcEyh5VjLKWk/zqJUC6C3LhTOy9fEK 4kxQuojBEFyd39SCRAStQat7hv+EIDSO/thn1DDJIRRn7sc0mdfVHL/jBoWZ5JhzG61g 3XKuPCMpkT7GhQ6Te0qCooYtn++wRz9FMn+46uKf0/A6XldKmcUi2NYGR4ILrprJHPP2 9tHg== X-Gm-Message-State: AHPjjUjQJNK90M1rkuHVEBKki2oA04ddBFit85fdc4mJrNd0sxUNmUFm PZcWYb9YBEmF4Bjt X-Google-Smtp-Source: ADKCNb6jj6OKhNUxX/wE573vJLiwyITyHPrDqrrhS9GvdmzVL1IeITxnxToRgNDtpffXzhXszsy0xA== X-Received: by 10.84.217.206 with SMTP id d14mr25213040plj.157.1505406184036; Thu, 14 Sep 2017 09:23:04 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::989f]) by smtp.gmail.com with ESMTPSA id b68sm33288473pfk.23.2017.09.14.09.23.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Sep 2017 09:23:03 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Thu, 14 Sep 2017 09:22:55 -0700 Message-Id: <20170914162255.43165-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170914162255.43165-1-raj.khem@gmail.com> References: <20170914162255.43165-1-raj.khem@gmail.com> Subject: [oe] [meta-networking][PATCH 2/2] ypbind-mt: Upgrade to 2.4 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 Fix build with musl along the way Signed-off-by: Khem Raj --- .../0001-dns_hosts-Fix-build-with-musl.patch | 67 ++++++++++++++++++++++ .../nis/{ypbind-mt_1.38.bb => ypbind-mt_2.4.bb} | 10 +++- 2 files changed, 74 insertions(+), 3 deletions(-) create mode 100644 meta-networking/recipes-support/nis/ypbind-mt/0001-dns_hosts-Fix-build-with-musl.patch rename meta-networking/recipes-support/nis/{ypbind-mt_1.38.bb => ypbind-mt_2.4.bb} (84%) -- 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-support/nis/ypbind-mt/0001-dns_hosts-Fix-build-with-musl.patch b/meta-networking/recipes-support/nis/ypbind-mt/0001-dns_hosts-Fix-build-with-musl.patch new file mode 100644 index 000000000..643b0a940 --- /dev/null +++ b/meta-networking/recipes-support/nis/ypbind-mt/0001-dns_hosts-Fix-build-with-musl.patch @@ -0,0 +1,67 @@ +From 5452961750275b1e3f7c95e9528338f0ee0357ad Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Thu, 14 Sep 2017 09:17:35 -0700 +Subject: [PATCH] dns_hosts: Fix build with musl + +Add NETDB_* defines which are not available in musl +remove need for sys/cdefs.h by remove __P +Add _GNU_SOURCE for missing u_char definition + +Signed-off-by: Khem Raj +--- +Upstream-Status: Pending + + lib/Makefile.am | 2 +- + lib/dns_hosts.c | 9 ++++++++- + 2 files changed, 9 insertions(+), 2 deletions(-) + +diff --git a/lib/Makefile.am b/lib/Makefile.am +index 977a8db..35cb5b3 100644 +--- a/lib/Makefile.am ++++ b/lib/Makefile.am +@@ -8,7 +8,7 @@ + noinst_LIBRARIES = libcompat.a + noinst_HEADERS = ypbind3_binding.h + +-AM_CFLAGS = -D_REENTRANT=1 @WARNFLAGS@ ++AM_CFLAGS = -D_GNU_SOURCE -D_REENTRANT=1 @WARNFLAGS@ + AM_CPPFLAGS = -I$(srcdir) @TIRPC_CFLAGS@ @NSL_CFLAGS@ -DLOCALEDIR=\"$(localedir)\" + + libcompat_a_SOURCES = dns_hosts.c res_options.h ypbind3_binding_dup.c \ +diff --git a/lib/dns_hosts.c b/lib/dns_hosts.c +index fd421fd..6067879 100644 +--- a/lib/dns_hosts.c ++++ b/lib/dns_hosts.c +@@ -64,6 +64,7 @@ + + #include + #include ++#include + #include + #include + #include +@@ -84,6 +85,12 @@ extern struct hostent *_gethtbyaddr(const char *, int, int); + #ifndef LOG_AUTH + # define LOG_AUTH 0 + #endif ++#ifndef NETDB_SUCCESS ++# define NETDB_SUCCESS 0 ++#endif ++#ifndef NETDB_INTERNAL ++# define NETDB_INTERNAL -1 ++#endif + + #define MULTI_PTRS_ARE_ALIASES 1 /* XXX - experimental */ + +@@ -101,7 +108,7 @@ static char hostbuf[8*1024]; + static struct in_addr host_addr; + + #ifdef RESOLVSORT +-static void addrsort __P((char **, int)); ++static void addrsort (char **, int); + #endif + + #if PACKETSZ > 1024 +-- +2.14.1 + diff --git a/meta-networking/recipes-support/nis/ypbind-mt_1.38.bb b/meta-networking/recipes-support/nis/ypbind-mt_2.4.bb similarity index 84% rename from meta-networking/recipes-support/nis/ypbind-mt_1.38.bb rename to meta-networking/recipes-support/nis/ypbind-mt_2.4.bb index b9c0aa700..9822f455e 100644 --- a/meta-networking/recipes-support/nis/ypbind-mt_1.38.bb +++ b/meta-networking/recipes-support/nis/ypbind-mt_2.4.bb @@ -21,6 +21,7 @@ DEPENDS = " \ yp-tools \ ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ " +DEPENDS_append_libc-musl = " bsd-headers nss" RDEPENDS_${PN} += "yp-tools" # ypbind-mt now provides all the functionality of ypbind @@ -30,9 +31,10 @@ PROVIDES += "ypbind" SRC_URI = "http://www.linux-nis.org/download/ypbind-mt/${BP}.tar.bz2 \ file://ypbind.init \ file://ypbind.service \ -" -SRC_URI[md5sum] = "094088c0e282fa7f3b3dd6cc51d0a4e1" -SRC_URI[sha256sum] = "1930ce19f6ccfe10400f3497b31867f71690d2bcd3f5b575199fa915559b7746" + file://0001-dns_hosts-Fix-build-with-musl.patch \ + " +SRC_URI[md5sum] = "1aeccd0d11c064d5d59c56941bca682b" +SRC_URI[sha256sum] = "a2e1fa8fc992a12b289c229e00e38c20d59070c3bcf08babf40c692515c340e0" inherit systemd update-rc.d @@ -42,6 +44,8 @@ INITSCRIPT_PARAMS = "start 44 3 5 . stop 70 0 1 2 6 ." CACHED_CONFIGUREVARS = "ac_cv_prog_STRIP=/bin/true" +CFLAGS_append_libc-musl = " -I${STAGING_INCDIR}/nss3" + do_install_append () { install -d ${D}${sysconfdir}/init.d install -d ${D}${sysconfdir}/rcS.d