From patchwork Mon Aug 13 08:17:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 144015 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2807810ljj; Mon, 13 Aug 2018 01:19:53 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxBETY6BdEHd98XKEXOA8qVWIYasZpzQhfxVztnNmsEnlAmYP+U2T5dt8GI0/gYt/WjtMKp X-Received: by 2002:a63:2043:: with SMTP id r3-v6mr16480759pgm.105.1534148393857; Mon, 13 Aug 2018 01:19:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534148393; cv=none; d=google.com; s=arc-20160816; b=i1D/quPaEBHgFterwNuAtVrLNCQgp+Y8H+zs3t+ceIDGquwGQzMn0GuDFbJjNfU0lG U4LQv9TBNs2H+/CK1OnUUqhkZjr4k7XytWOg9ZQp/n8amaQcaRr1tkJxoKV0DRntNZZp LoSTjHzV91dux6DQI0LCVVrmKueZ6NDRgYMQr5RpFk6XUXe5t+iauBBuZP/QsHIJILWC c41KCXBESL8BpCB0RQ5ZGDvG4lZh8E+Dy+0ji0IRssLEZdsqMXMFLFgoUh2JXENFQTxy FaPmbFjFklS5UECqgBm2FTmlPtFS1Vgu2UM1DjVezSEpzXJ7aHGt9JO0uAfVdMG0KTxu DzJQ== 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=w7zpm2F/7liA7OL7gbcSPezm1+jSYjabtAH9Q/m+RsY=; b=ufKs6kEY7po6iom8STvOc0qZ28y+wn2JZLjk+OJnKsvnA5xp2551ZB8+yLIh6lGZF0 DSo71DBF+QIoOv3cJ5V34ujX5AHL27LSmDy2oe7TXG1ObslKQJvzoLDejIaPNvkQ7tww ph98Mpc75xtV7JCCRV1emb4/fLTOf3zEu4jBesLBRBWfhN5AFjD5dVCjbux6jsvu3bKn d5TiRalFucnBUwez7XIATR7LEYE8pFns8x2S/ayw1bnR32h18fIerWt+F7bIzhun7dFh dWp9G7orTDugsgYP6NA9N9xoqKXhzCOJRIAFfsOfS3YtTEGHpUFkUVzlW3D/a1B2Nlyx sPkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=oTDy5UK3; 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=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 c17-v6si17071696pgg.628.2018.08.13.01.19.53; Mon, 13 Aug 2018 01:19:53 -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=oTDy5UK3; 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=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 CA4B178F89; Mon, 13 Aug 2018 08:18:33 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg1-f175.google.com (mail-pg1-f175.google.com [209.85.215.175]) by mail.openembedded.org (Postfix) with ESMTP id 3567260745 for ; Mon, 13 Aug 2018 08:18:09 +0000 (UTC) Received: by mail-pg1-f175.google.com with SMTP id f14-v6so7184818pgv.13 for ; Mon, 13 Aug 2018 01:18:10 -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=x97DjTV33C5+VTXm1g38aZrIULX3O/+v22ng8N6JFa8=; b=oTDy5UK3ni3f9aZDsso2gHdtrNerKf0YNLtcPYSOkblsXKslNeDaZFkxlUb62tbdxF bmpicQA49VRzXnrSDQ7H3xCx/7YSdiIUnLxuYlCxhsCc6cG51xZgm8HiK5oaYQVyXRoF /lmMG80Th5qfHhDNbEQIHGdXyZe6q0rooapcscuy4Qzil84MUzXmywtVZJqAnm/N8Ptf kkIs+C0XyT8C9OkBQAubdGdQP4uSfGuXXLSEuuSennzMna1z2jRke69KGxE8r44iajDn Ny2hQwSCeJDZjK8/qu0Hqjky3p5s55dBD9r9rF+v3X1tVyo53JB9ql+EV52xopcmNY4U 8a1w== 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=x97DjTV33C5+VTXm1g38aZrIULX3O/+v22ng8N6JFa8=; b=feekaDfQzkf6D8Y75nTFib8CxGswxuNmgu9VLWM98a/TGjwnyGfRUQ0cbX5zNlyfNN /4tgJNh6tRRJAeNTT4KyngW1jLMVlS7CdCzHqWqOIqfncpHDWhryDpr9OqP2il8Vxz1o w7xRFBtCGQ4iHefeQZPw1BFwQbE1qq2g9HXB07fuxxipRLu/58QKoorgYR+9YM+OJBQi pXAlQIvaC3pF9mVZ3c/SU1SrJmqbwDuZOQkFVVOZzDt1VdSjl6zW/yJE8UXS1a+QWdQX OuWC9MOcWQpuJi2iEaVnKiYlkpXcw+jKk0v/9CLETY0Zc0XRkqmtkR8Oopbw3WrVx/7l u+DQ== X-Gm-Message-State: AOUpUlFfUpsDdGAQVvuvCND7W59JTnaU7LFDi9+bt4WrnEZOphrzvMmD IFtHuifTkNmMP8pSv5GZt/ZbcNQD X-Received: by 2002:a62:bd4:: with SMTP id 81-v6mr17956811pfl.67.1534148289857; Mon, 13 Aug 2018 01:18:09 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::f217]) by smtp.gmail.com with ESMTPSA id b64-v6sm23414971pfg.66.2018.08.13.01.18.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Aug 2018 01:18:08 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Mon, 13 Aug 2018 01:17:36 -0700 Message-Id: <20180813081742.6961-15-raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180813081742.6961-1-raj.khem@gmail.com> References: <20180813081742.6961-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 15/21] udisks: Fix build with glibc 2.28+ 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 --- .../udisks/0001-include-sys-sysmacros.h.patch | 77 +++++++++++++++++++ .../recipes-support/udisks/udisks_1.0.5.bb | 14 ++-- 2 files changed, 84 insertions(+), 7 deletions(-) create mode 100644 meta-oe/recipes-support/udisks/udisks/0001-include-sys-sysmacros.h.patch -- 2.18.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-support/udisks/udisks/0001-include-sys-sysmacros.h.patch b/meta-oe/recipes-support/udisks/udisks/0001-include-sys-sysmacros.h.patch new file mode 100644 index 0000000000..f140793c5e --- /dev/null +++ b/meta-oe/recipes-support/udisks/udisks/0001-include-sys-sysmacros.h.patch @@ -0,0 +1,77 @@ +From 64f051963d6cdeebd19f9e7f0a7e584a1f7acc60 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 11 Aug 2018 19:12:57 -0700 +Subject: [PATCH] include sys/sysmacros.h + +fixes build with glibc 2.28+ + +Upstream-Status: Pending +Signed-off-by: Khem Raj +--- + src/daemon.c | 1 + + src/device.c | 1 + + src/mount-monitor.c | 1 + + tools/udisks.c | 1 + + tools/umount-udisks.c | 1 + + 5 files changed, 5 insertions(+) + +diff --git a/src/daemon.c b/src/daemon.c +index 14e952f..2c61cfb 100644 +--- a/src/daemon.c ++++ b/src/daemon.c +@@ -39,6 +39,7 @@ + #include + #include + #include ++#include + #include + #include + #include +diff --git a/src/device.c b/src/device.c +index d73f9d6..5911d78 100644 +--- a/src/device.c ++++ b/src/device.c +@@ -29,6 +29,7 @@ + #include + #include + #include ++#include + #include + #include + #include +diff --git a/src/mount-monitor.c b/src/mount-monitor.c +index 573a69c..ccf3365 100644 +--- a/src/mount-monitor.c ++++ b/src/mount-monitor.c +@@ -28,6 +28,7 @@ + #include + #include + #include ++#include + #include + #include + +diff --git a/tools/udisks.c b/tools/udisks.c +index d30159b..f24a30a 100644 +--- a/tools/udisks.c ++++ b/tools/udisks.c +@@ -29,6 +29,7 @@ + #include + #include + #include ++#include + #include + #include + #include +diff --git a/tools/umount-udisks.c b/tools/umount-udisks.c +index 2813fe0..5cf6b4d 100644 +--- a/tools/umount-udisks.c ++++ b/tools/umount-udisks.c +@@ -29,6 +29,7 @@ + #include + #include + #include ++#include + #include + #include + #include diff --git a/meta-oe/recipes-support/udisks/udisks_1.0.5.bb b/meta-oe/recipes-support/udisks/udisks_1.0.5.bb index e33266001e..7cd9992214 100644 --- a/meta-oe/recipes-support/udisks/udisks_1.0.5.bb +++ b/meta-oe/recipes-support/udisks/udisks_1.0.5.bb @@ -11,13 +11,13 @@ DEPENDS += "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ dbus-glib-native \ " -SRC_URI = " \ - http://hal.freedesktop.org/releases/${BPN}-${PV}.tar.gz;name=${BPN} \ - file://optional-depends.patch \ - file://0001-fix-build-with-newer-glibc-versions.patch \ - file://udisks-1.0.5-fix-service-file.patch \ - file://0001-Make-udev-rules-directory-configurable.patch \ -" +SRC_URI = "http://hal.freedesktop.org/releases/${BPN}-${PV}.tar.gz;name=${BPN} \ + file://optional-depends.patch \ + file://0001-fix-build-with-newer-glibc-versions.patch \ + file://udisks-1.0.5-fix-service-file.patch \ + file://0001-Make-udev-rules-directory-configurable.patch \ + file://0001-include-sys-sysmacros.h.patch \ + " SRC_URI[udisks.md5sum] = "70d48dcfe523a74cd7c7fbbc2847fcdd" SRC_URI[udisks.sha256sum] = "f2ec82eb0ea7e01dc299b5b29b3c18cdf861236ec43dcff66b3552b4b31c6f71"