From patchwork Mon Aug 6 22:57:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 143537 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp3806925ljj; Mon, 6 Aug 2018 15:58:36 -0700 (PDT) X-Google-Smtp-Source: AAOMgpefwD7fK2gnHoi0TbHMW50ga4z5aS2fsRKysO5NyQacVUldq5y52kYRm0gf0W45NpNIgmzO X-Received: by 2002:a62:b20c:: with SMTP id x12-v6mr19333606pfe.64.1533596316629; Mon, 06 Aug 2018 15:58:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533596316; cv=none; d=google.com; s=arc-20160816; b=gkB1JTMCFl/jlKVHu3K606yiO8kO+uhhQVSLjxao9PVKVgcGYM7jP7pMt5AtvuzXkc 8Qq/K8UBxf4S+Hw1bewjtSznFwgYPxpLn6CMb9nA/QdbNiJgxhMITCH5UxfMYMuTr4dl T9TFx0L4WTwRYJFjgT8+1Lw0p680/pideO8wKh/6S53Yu6OohjLc420f044ZDt5omK5a RdfKe092fSuGumcsLbRzASGJP3KEnSVmtIYDbz+fvrvSlm9TUMUfHInBElTW7bMgjsFZ LVDfl0H5lGF0WYlMRJ1q6cWftXuflAmwgJj0AuM2gGA9bt0604DhVSiIQ8Xti4ChzEA6 BYqw== 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=o0mGRoPp0DrVrFU5wwMTBxDCgZx0w176CloLJPBUoq8=; b=EO4/pSM232yg7O7aDuCQbu4pLfd+s6N4bts3rbn2gHp7Ddt7OtR0yI7aKU73l+w11j m+6kwyGRmDHY8f11sfMsByerpWChCuSOj0RvGdzMI9QAGl85wUvsJdmomSqYohaWtbji QMVFCJ0KTDzYU7fD7zDL2gWZXUHfYGTKekICwnif88C9IHfyIkAUop44gN5wo4MXpZbj fCUpxRMsEVF98ku1FYF6GxyhTT42kLl672dYrX0mRJBr3TkbjGqpZhnlng2XX3NszlEA 8nDrCFTG764qreJYCbVg5DHxk2g2c+OTCqgu1t/dteUulVxgvFHyeZCwdx3JWOPSlWCB t8ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=vH+naNDM; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE 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 t128-v6si13994121pgt.614.2018.08.06.15.58.36; Mon, 06 Aug 2018 15:58:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-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=vH+naNDM; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id A799378BF4; Mon, 6 Aug 2018 22:57:51 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pl0-f46.google.com (mail-pl0-f46.google.com [209.85.160.46]) by mail.openembedded.org (Postfix) with ESMTP id D65CD78A40 for ; Mon, 6 Aug 2018 22:57:34 +0000 (UTC) Received: by mail-pl0-f46.google.com with SMTP id g6-v6so2681350plq.9 for ; Mon, 06 Aug 2018 15:57:36 -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=Y4Ip7WKi9ZL1IJioYWqM5Dr9UWhjzwYHl635+GJaKRE=; b=vH+naNDMdl1b6zuearJbN7D1Xr9U/fUs+7yRWfY8PH1hnQ3e9Pqt5reMzNLZZB+a8U TM8AQr98f8JrPsfVZVHPzkKVcnMGksLShwUVa5AEsSHBkCWotQTilz1xOlqu1W3xWARw Hy5c/ZxBeDwhMmYRfQ4bacQMDrxGDNMW5DGkV95RkUOcmKp4VJFB1gRF11DQWL8Gekqz 6tQP6xdfIrM82EUNWv/pS77mDdWb7GVriFJR7gR7ACuaSn+hC/Fu60AjJmHYJASPFdJ6 iKGkxOMCTyGKCdLnHHpiq2p9XFabfxr0SAQts9oeWDdhdY+lZdGLybXsJZt0gfi+BR3o Xvdw== 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=Y4Ip7WKi9ZL1IJioYWqM5Dr9UWhjzwYHl635+GJaKRE=; b=mwwKlH+FlKDZKRzKcWN8nC8s2qLTmVNyU6JGbvuw4XriuAzcLrqCbdfnMBsJWSI8Vj hn0x4phNFiudUc4UxR8q1p47PM06qHdXDBlPUEfDHAEZ9R3tnD4l7Tn9NsTbHf/kBb0I P8BS+sYqvgdAv0bn+/v5txHnp2np7km+wvtfnl9xjD0hYY8pWNPk+aRoRrCqSklBkCgH KDWH66aQBRODpbx3q7zvLjNDyc60Cjdj6UosUl2WyrhBnDwBKleuC0eUAHMS+czdQEXG D0/0rBHqOs9gPzXKUlzAqVzCRg95B8N5BW+Ylcg2MFjj0pC2XF7+rnBNDKZqZroT56VB QgJg== X-Gm-Message-State: AOUpUlGOh+OONDLNKjZ4AN+bovMEHluJowugS/esBGiz8z1QpgSxfvK2 vYcffh1ZfU67OFz20RswcS5Al1gz X-Received: by 2002:a17:902:301:: with SMTP id 1-v6mr15512254pld.127.1533596255663; Mon, 06 Aug 2018 15:57:35 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::1d00]) by smtp.gmail.com with ESMTPSA id x1-v6sm11993137pgr.59.2018.08.06.15.57.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Aug 2018 15:57:34 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Mon, 6 Aug 2018 15:57:06 -0700 Message-Id: <2c149d2fe995f6e460586d1d8ec8ed268932f611.1533595822.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: References: Subject: [OE-core] [PATCH 09/18] blktool: Fix build with glibc 2.28 X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- .../blktool/blktool-gnulib-makedev.patch | 23 +++++++++++++++++++ meta/recipes-extended/blktool/blktool_4-7.bb | 1 + 2 files changed, 24 insertions(+) create mode 100644 meta/recipes-extended/blktool/blktool/blktool-gnulib-makedev.patch -- 2.18.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-extended/blktool/blktool/blktool-gnulib-makedev.patch b/meta/recipes-extended/blktool/blktool/blktool-gnulib-makedev.patch new file mode 100644 index 0000000000..6eea608b29 --- /dev/null +++ b/meta/recipes-extended/blktool/blktool/blktool-gnulib-makedev.patch @@ -0,0 +1,23 @@ +include for major/minor defintions + +Fixes + +| ../blktool-4.orig/blktool.c: In function 'detect_dev_class': +| ../blktool-4.orig/blktool.c:295:10: warning: implicit declaration of function 'major' [-Wimplicit-function-declaration] +| switch (major(st_rdev)) { +| ^~~~~ + +Upstream-Status: Pending +Signed-off-by: Khem Raj +Index: blktool-4.orig/blktool.c +=================================================================== +--- blktool-4.orig.orig/blktool.c ++++ blktool-4.orig/blktool.c +@@ -27,6 +27,7 @@ + #include + #include + #include ++#include + + #include "blktool.h" + diff --git a/meta/recipes-extended/blktool/blktool_4-7.bb b/meta/recipes-extended/blktool/blktool_4-7.bb index 4551c3233e..0e6f7ee6df 100644 --- a/meta/recipes-extended/blktool/blktool_4-7.bb +++ b/meta/recipes-extended/blktool/blktool_4-7.bb @@ -13,6 +13,7 @@ SRC_URI = "http://snapshot.debian.org/archive/debian/20160728T043443Z/pool/main/ file://0001-fix-typos-in-manpage.patch \ file://0002-fix-string-error.patch \ file://0003-Fix-3-d-argument-for-BLKROSET-it-must-be-const-int.patch \ + file://blktool-gnulib-makedev.patch \ " SRC_URI[tarball.md5sum] = "62edc09c9908107e69391c87f4f3fd40"