From patchwork Fri Jul 14 05:39:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 107718 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp453537qge; Thu, 13 Jul 2017 22:41:26 -0700 (PDT) X-Received: by 10.84.214.143 with SMTP id j15mr14006000pli.40.1500010886225; Thu, 13 Jul 2017 22:41:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500010886; cv=none; d=google.com; s=arc-20160816; b=X4ounlRtCxUy/tpwD1bYu7sqQFWEu3xiWptqSaVV64wbtAYDzgZZRp1ZkvL9plecZg gN7V7azwpigO7UjsSSK47F82qq9fiHP/FEzPpnfsxYE5VKgAFYGExoTDw07E+doU8rzV tprU7b+fuY4mA3T5kvrOuHPMXA+k9E6+4M+kf1kS+fLq+YssF9odi4JamANcxseXSKz9 kZeKsq1mRKOesPniu2c6EaiPYKAcQQ8WG3Gi3ByZorMA0GcmuddzdKMkKSqDSwvCLdM5 ueqYEmXrWZaVCJedeqbtXWi3SDIbi7A+9m7zlQnzTS4pgJ+WpRgvfnwj9Qulj2vxA56a XdbQ== 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=vsNorMK+ByHzU2lc4N1FCFHO4orWtqqIGLhey5tOW0o=; b=YURw92WMOLa+qrFT2jVxzGorJ5TyykUMy3adi9DwB6HNLTGZWv9F1rtm4WjzKPPO/y x3dQ7BGvmr4OIBaxJbGuTO42K35nkH6uHTStgyuOyF0cr3g+vh5JyXtRl4J6LVZUHT6S LKwli+PyPgKvAXWKMhKtOlmR2iNMpG5XH7Z/CvoQMoMVVUQmP4i78zr1FXcvhPhXwKrt 9j+HpD0B84YVKzP0+H7Xm2Ku5eONWzm47t8uD+uCdta1B9rv/Q2d90rWfhRip4/c3VMP DZJddWcymDU2XC+vXB3HQjsk1n2YKH0tpphRHpMhn7o/RP+KyUWpB8BP+3KA+a0C+ioR 2yoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=ZIFvUTp1; 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 m4si5819043pgs.108.2017.07.13.22.41.25; Thu, 13 Jul 2017 22:41:26 -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.b=ZIFvUTp1; 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 D02F2781F4; Fri, 14 Jul 2017 05:41:22 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf0-f196.google.com (mail-pf0-f196.google.com [209.85.192.196]) by mail.openembedded.org (Postfix) with ESMTP id 2549777BF4 for ; Fri, 14 Jul 2017 05:40:25 +0000 (UTC) Received: by mail-pf0-f196.google.com with SMTP id e199so9719375pfh.0 for ; Thu, 13 Jul 2017 22:40:27 -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=T61AK3APPEHccbVG6HcjRwA6bFVs/kGLOzqxyMaBCvA=; b=ZIFvUTp1ZoUQoIyGwsQTHzCl9MXWYTblLBBZBrBc8tRu+29D47YFXHKkKWUjEnRogI ocIk6BKRCReXTBNczSHd/uQgytHcWjVcQE70tpCsrs2ZNVcndcmU1DNs47o1qKoDt8/L Jh0W/IM1xFwaKr30a6GUyoYjaYs1FbPBtqNeLoc5sBbMoAx5M4C94V6Qwuz1KjullByv h7vCMt2c5x9Iidn2qI1El8BcIJFreF5kqs8YXQrnoRa1AhduyNwNls5QUZYnUHos9AEs dp+z0Fh41RS1BD4qi6eQLAgf4ZGyVXRVX/IKyYFji+QFIWagktrTKx4+LQE4ZvxfsFqb cQJg== 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=T61AK3APPEHccbVG6HcjRwA6bFVs/kGLOzqxyMaBCvA=; b=X3jIXx53ZyDavdhRNuXleQYD4lHrfocFTYSDbrkq8pqnnDCzBWlNPdxx3sk1Eu4lGt GRur7f24tZ7V9AYkFAHyedtixnV+dn6Q9v5Xmgvn1Aaz/xM4p4qodgyE8VDBjIyCALaa ch/jhFA4GicjpAn4MfYY9+t3qVIDWFveBRK/YaZDk3HbH/wLQH+LlCquP67AQK9AW6f5 BIsAqftqMwD/7uotkmi7gg7wXpmfcfnVP1jpt2942kNagq/cc6VmpLxzU9vd4qS50vSO UJAcYHpufIdz5WRpx3/ghX07qbjKZMWWXmj5xnljXqEL+cVOD/lRWHmDAvklsZNkixo0 BlDA== X-Gm-Message-State: AIVw11061sSqZ9lMoVe6RZcfOx7O6rQ04mmka11AD4h8/hpSpd/h3Qbe Yuzkd6S8Ztc2/Obj X-Received: by 10.84.216.28 with SMTP id m28mr13967562pli.275.1500010826983; Thu, 13 Jul 2017 22:40:26 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::7028]) by smtp.gmail.com with ESMTPSA id z86sm17519420pfl.40.2017.07.13.22.40.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Jul 2017 22:40:26 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Thu, 13 Jul 2017 22:39:57 -0700 Message-Id: <20170714054013.34458-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170714054013.34458-1-raj.khem@gmail.com> References: <20170714054013.34458-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 02/18] libteam: Upgrade to 1.27 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 Signed-off-by: Khem Raj --- ...nclude-sys-select.h-for-fd_set-definition.patch | 28 +++++++++++++++ ...0002-teamd-Re-adjust-include-header-order.patch | 40 ++++++++++++++++++++++ .../libteam/{libteam_1.26.bb => libteam_1.27.bb} | 7 ++-- 3 files changed, 73 insertions(+), 2 deletions(-) create mode 100644 meta-oe/recipes-support/libteam/libteam/0001-include-sys-select.h-for-fd_set-definition.patch create mode 100644 meta-oe/recipes-support/libteam/libteam/0002-teamd-Re-adjust-include-header-order.patch rename meta-oe/recipes-support/libteam/{libteam_1.26.bb => libteam_1.27.bb} (75%) -- 2.13.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-support/libteam/libteam/0001-include-sys-select.h-for-fd_set-definition.patch b/meta-oe/recipes-support/libteam/libteam/0001-include-sys-select.h-for-fd_set-definition.patch new file mode 100644 index 000000000..a4a17ed85 --- /dev/null +++ b/meta-oe/recipes-support/libteam/libteam/0001-include-sys-select.h-for-fd_set-definition.patch @@ -0,0 +1,28 @@ +From 0ab69dc18a2057ff5bf41abcdf2b983b72d5a903 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Wed, 12 Jul 2017 15:34:49 -0700 +Subject: [PATCH 1/2] include sys/select.h for fd_set definition + +Fixes +teamnl.c:160:2: error: unknown type name 'fd_set'; did you mean 'fpos_t'? + +Signed-off-by: Khem Raj +--- + utils/teamnl.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/utils/teamnl.c b/utils/teamnl.c +index e8de7e2..25129e8 100644 +--- a/utils/teamnl.c ++++ b/utils/teamnl.c +@@ -24,6 +24,7 @@ + #include + #include + #include ++#include + #include + #include + #include +-- +2.13.2 + diff --git a/meta-oe/recipes-support/libteam/libteam/0002-teamd-Re-adjust-include-header-order.patch b/meta-oe/recipes-support/libteam/libteam/0002-teamd-Re-adjust-include-header-order.patch new file mode 100644 index 000000000..beabf63ca --- /dev/null +++ b/meta-oe/recipes-support/libteam/libteam/0002-teamd-Re-adjust-include-header-order.patch @@ -0,0 +1,40 @@ +From a5b945cb3c62a18dcd7047f62707c09076c4e48b Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Wed, 12 Jul 2017 15:35:51 -0700 +Subject: [PATCH 2/2] teamd: Re-adjust include header order + +So it gets the library definition before kernel definition + +usr/include/ne +tinet/if_ether.h:101:8: error: redefinition of 'struct ethhdr' + struct ethhdr { + ^~~~~~ + +Signed-off-by: Khem Raj +--- + teamd/teamd_runner_lacp.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/teamd/teamd_runner_lacp.c b/teamd/teamd_runner_lacp.c +index 9c77fae..8800854 100644 +--- a/teamd/teamd_runner_lacp.c ++++ b/teamd/teamd_runner_lacp.c +@@ -23,6 +23,7 @@ + #include + #include + #include ++#include + #include + #include + #include +@@ -30,7 +31,6 @@ + #include + #include + #include +-#include + + #include "teamd.h" + #include "teamd_config.h" +-- +2.13.2 + diff --git a/meta-oe/recipes-support/libteam/libteam_1.26.bb b/meta-oe/recipes-support/libteam/libteam_1.27.bb similarity index 75% rename from meta-oe/recipes-support/libteam/libteam_1.26.bb rename to meta-oe/recipes-support/libteam/libteam_1.27.bb index 2cb9e8f3f..32227009e 100644 --- a/meta-oe/recipes-support/libteam/libteam_1.26.bb +++ b/meta-oe/recipes-support/libteam/libteam_1.27.bb @@ -7,8 +7,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" DEPENDS = "libnl libdaemon jansson" -SRC_URI = "git://github.com/jpirko/libteam" -SRCREV = "8c1cea00a21950089058e4e33ea1f7bf4deaddeb" +SRC_URI = "git://github.com/jpirko/libteam \ + file://0001-include-sys-select.h-for-fd_set-definition.patch \ + file://0002-teamd-Re-adjust-include-header-order.patch \ + " +SRCREV = "91a928a56a501daac5ce8b3c16bd9943661f1d16" SRC_URI[md5sum] = "565114d70c41bff6093d8e57be284e8a" SRC_URI[sha256sum] = "d65286379141db141bea33424ec0507bb0f827a0bf03d9c65004bb593e3d5545"