From patchwork Sun Aug 5 02:07:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 143460 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp1804610ljj; Sat, 4 Aug 2018 19:08:30 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe+Xx4JwOP9icVXGDgn5pM3HjfhzFFma5OFFeBMI1TLgd3QWp4+ELSINpJe0jIAsZKepD1M X-Received: by 2002:a62:2c95:: with SMTP id s143-v6mr4754096pfs.3.1533434910368; Sat, 04 Aug 2018 19:08:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533434910; cv=none; d=google.com; s=arc-20160816; b=eNIhzKAfORZXfI4SatA+/PIoN1CuWk73MnKXj4sT8NHoJuc0GVBQrVZthiSJGlja9/ RO3kinYMzh4ZyzdrX6dh6N5yT/T4T79Qa8QGK+RvsBZzd1zHGoeFzVjaFNVvH1Rry65Q 5wWFLZkJSFhDMnVOSMnpebbO42ij9aDyToucqKUF1KGF3U3pZjSskFCAfLWRcvQaWnHE 7sejBanciCmh42Tg/xerva9cGntxWavEy3rfS6uvcxUWDudIwz8Caf0UhQOh1hKMzrZc DYIuKpVEePETWHGhKOPvPulrVCGKf1sCL+GDctxXp9aYQ7C8cWc0i1Hxncz7H8kO8cLX F2rw== 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=aApuBT+/+D+GI85BZlWBXb1rRepYYs0OXKjJEi9wicuY0o8S5ebP2+/sSmW9c0pPOj fkqYKwaIIYvl6hDGfRrmebHifymRz/2rSQVW6KDTMpwAPKk/JqMuc+vdgNB9qCl31gz9 Q28lQQiPzMyxlt56levFheq4CZiewsoMrWwPA/0UmIljRHZ+QMXX2pos+lp0uM1trSRA vhVMS7Crm5rNDIkEeQ32jYGGnlvoXYBD+bnCGSJ+/xrBPwIABjkxyOomQTTZyr3Th50F 7NaO1IkwSC4dUepVFecQizgrQpJ5gh7yO/P27mFBrHWhVjzAXR88qj04CCUI0FjP2zhT Ro0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=KWQUILIp; 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 z15-v6si8430007pga.117.2018.08.04.19.08.30; Sat, 04 Aug 2018 19:08:30 -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=KWQUILIp; 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 3650C78BF2; Sun, 5 Aug 2018 02:07:44 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pl0-f43.google.com (mail-pl0-f43.google.com [209.85.160.43]) by mail.openembedded.org (Postfix) with ESMTP id 7C8B278BE0 for ; Sun, 5 Aug 2018 02:07:19 +0000 (UTC) Received: by mail-pl0-f43.google.com with SMTP id g6-v6so602798plq.9 for ; Sat, 04 Aug 2018 19:07:20 -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=KWQUILIp4cZXki9ccYzAS3oK3gB34ZkXopr3HXRsBjTpzdAglFnj4GtlYlT6kqKA3a ZwY9hUXGK1gKxS6wiMAl9tHx7Iwe1tdaMv4jthEyTSY+J/lFIoOLqTHXZZF6fLcecZ7W 465FSsSV85VhO0+MqFbBXOP/CaoIVtpyJkvTh4eToySJCX8NYo/RRshsfr+9v8nceqp4 5WlebVy3ebjxEDaXbRewudQGnaEPoTCcR9drEripezkq8RChrcME0RnSO8mcnNfMCZZn vuQmq3ns5MEfEYfTEKcFhiBaFwOPoQr8H6J9Qxi18YGZ3i3tl8vDexaA1zf5ukBTUAZt MHVw== 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=Gc3FsT+yx+lp8zQb35wXedqMy4z+0zrNOZrh8Caarvq2uAo/aHU9mQ1e+RymLlOniL GBb2TWHFLz1WF6v99LcOcjDMO1hZliMse3t6aC1vpNjmXY/aR2Tx/dpNBFkwP+d9B3y2 KWwWj9t2iFGXdeyjg4JYMEaV5PmfeOSPv+FUrvzw1pQNxjEZGtKrqZHYEuYz2/wrReWi yKbtFukbuZefTB71qQ5C7qlIN6slFK1G6KZK/M8QV7z0bymShsBQTd11VULE6NSW0Rk0 1JZm8f/qasf4N6ZwBfG1QFy2vCwUtkQdT1cEwiZ3G95LbXd+REGsygtq9Mg3Sf+lRQVm F70A== X-Gm-Message-State: AOUpUlEkWtFP9+8NAvLwwwIqhkh6ww9AayQR8rkO8mpb1ZzVTuoRKkFx TWf5CMrTemAOa+b0RSUC8in9Tu+O X-Received: by 2002:a17:902:20e3:: with SMTP id v32-v6mr9095666plg.232.1533434840230; Sat, 04 Aug 2018 19:07:20 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::5b3b]) by smtp.gmail.com with ESMTPSA id b195-v6sm4486021pfb.2.2018.08.04.19.07.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 Aug 2018 19:07:19 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sat, 4 Aug 2018 19:07:01 -0700 Message-Id: <0d73a984059768c95da08fafbbe7efada19ee7a3.1533434674.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: References: Subject: [OE-core] [PATCH 09/10] 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"