From patchwork Mon Aug 13 08:17:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 144005 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2806803ljj; Mon, 13 Aug 2018 01:18:42 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxfawUElwgsqke0uzvliboJfwNRun3MbCtYs6ZH8yx1bC745VyURkxzj6EHIm/PSTWGXieZ X-Received: by 2002:a63:2b89:: with SMTP id r131-v6mr15753088pgr.39.1534148322612; Mon, 13 Aug 2018 01:18:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534148322; cv=none; d=google.com; s=arc-20160816; b=D9lKGzQdAjRvMkravaA3SN8qsHG5TnCrKdQIOvGrenWORoBeNmMrGZYxEq0p7oQ9wL VkMgpariQneCsr/+vZgnwQhyX33N+ac4DUYiJJsZULd7b8gfCvCZB9dQLGOFa/F9q1qu 06dO0WtmBu5ACXUJqdGM3dilEXPFYx2Y9WOIlrSKxNdubT6rnnwe4GTT/oR/zfhjL76G 3Cm1mtP3PTQWcsd0FrjBnXB8zKnqfDLcB3l9HkYdyorf5FNBpJFQD+5Ay0m25Nqr+sYI HBsB/XLG1M1PM+nvDibATYYMWVKfhMH6G96DXTA7xbtZDj2/Vk+4TCmFvExJLYIFALqV FrDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to:arc-authentication-results; bh=h0dVpz7baKL35w8VLjflITV6YC8f3TbOE93WJJ83c6Q=; b=SnVW9s8b+7gsjj7P7cmtglUn8Wb5vHN+xzxz20cdDCKJlEj9KKL83GGTJzK4VFFn1K pxbfLjXhGyKDAM1BWGObUxJHjjH6ATkkLmcj1OjNmFpXowalk1robR7m1j4cFoU/V4Oo z1/Yl7eujPRfEq1pa3sLmRPIdPunclvmIRJJTyViEPApwpoGjNoNA1AClgjOQNDnOHnO y6DMzKV2Nerr+1sCKM7kUbPsY9EU3zJBqBu++i/F8rT0HvxAX6KAnHQGl41nKiL1FKEP 7wKl6rYs7ZsyWOSE2GpFrtRPQ3FLs6VrP+i18jP+tdI6G/QJ03xj1ijvt1rZ3ZvBCqPL gCdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Oy7I5S4A; 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 g27-v6si17655740pgm.208.2018.08.13.01.18.42; Mon, 13 Aug 2018 01:18:42 -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=Oy7I5S4A; 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 8692F78F54; Mon, 13 Aug 2018 08:18:22 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pl0-f54.google.com (mail-pl0-f54.google.com [209.85.160.54]) by mail.openembedded.org (Postfix) with ESMTP id 4CAD5602D9 for ; Mon, 13 Aug 2018 08:17:56 +0000 (UTC) Received: by mail-pl0-f54.google.com with SMTP id x6-v6so6601081plv.10 for ; Mon, 13 Aug 2018 01:17:57 -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 :mime-version:content-transfer-encoding; bh=oUgAejVZycSDZ1vwqzuPBRZG62QIazq7MOm0nRUAUlw=; b=Oy7I5S4Au4LCEQ5W0tHhiE6mB586GZKBYDN7LP+baPwhrLoCmdonJvJO/XIceEiNRV OMntkxpVL7s7FjmpKtydrrdKXhfS6CJ1NcUvomXlS/jrq8hGrUgQfDgKP/HaoxBNVn35 iF4ElMCipW9TwO1Z9qO1No/PpwYk14NIVtCQT594oZP+zfHg8H+eTpiNEqd/+PP7FUg5 iGCFLXCqTB3s1iUcEjfbvOauzOj8DSl/ZEbjpJZ3L6+WdeJefhQBhjjnLBfm62si8PWI Wab047CfQ+CR4zhi9jhy3mty+uI3UTqrogHV66DR14aoT3+/HhQt7ZBEm1ioCKNRMqnH AX2w== 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:mime-version:content-transfer-encoding; bh=oUgAejVZycSDZ1vwqzuPBRZG62QIazq7MOm0nRUAUlw=; b=HSniSHoYI673rxTDirwQzFQqf5m1At3GanA8LsP2ErmGIUaS6eqaGUukaUaz+373Vt nB/wBCAxDfW5PiQj2vwffINr2qXOJPef73vl9FxsELU3/hsxR2x4LjWo4Kh/Pl+CQ7Aw bBLOa/uyFJ8MqDuZlW9wr8MSs0Wc18KZUdkllAVzoti9M+z502DrFC+CfaJiu+27yqhk MAOa32TJOLWnKkjK4D7M/LcKjG9E4kuzCK8X2orvMX+xY5KGSEpCkA3tmgcZdyqQ2fQ1 o4Cv833uGbSb1CZQ+lGkHjzNmFYBNeLL2bD7UjkyrOG5ufDM18YB6qKc+QbwXvHB3OC1 lihw== X-Gm-Message-State: AOUpUlH12x3rRkxC3xhgb21XHSCLZMStSa5ED9jAofASSBRkz4mf2YiF txatDMj0DWzKtfeSblrzm2tffI7T X-Received: by 2002:a17:902:7c89:: with SMTP id y9-v6mr15676334pll.187.1534148276847; Mon, 13 Aug 2018 01:17:56 -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.17.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Aug 2018 01:17:56 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Mon, 13 Aug 2018 01:17:26 -0700 Message-Id: <20180813081742.6961-5-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> MIME-Version: 1.0 Subject: [oe] [meta-xfce][PATCH 05/21] xfce4-diskperf-plugin: 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: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- ...lude-sys-sysmacros.h-for-major-minor.patch | 30 +++++++++++++++++++ .../diskperf/xfce4-diskperf-plugin_2.6.1.bb | 3 ++ 2 files changed, 33 insertions(+) create mode 100644 meta-xfce/recipes-panel-plugins/diskperf/xfce4-diskperf-plugin/0001-panel-plugin-Include-sys-sysmacros.h-for-major-minor.patch diff --git a/meta-xfce/recipes-panel-plugins/diskperf/xfce4-diskperf-plugin/0001-panel-plugin-Include-sys-sysmacros.h-for-major-minor.patch b/meta-xfce/recipes-panel-plugins/diskperf/xfce4-diskperf-plugin/0001-panel-plugin-Include-sys-sysmacros.h-for-major-minor.patch new file mode 100644 index 0000000000..007d3e5852 --- /dev/null +++ b/meta-xfce/recipes-panel-plugins/diskperf/xfce4-diskperf-plugin/0001-panel-plugin-Include-sys-sysmacros.h-for-major-minor.patch @@ -0,0 +1,30 @@ +From c35a8cb24e8adafb11cbc261de37d97244e55927 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 11 Aug 2018 10:08:27 -0700 +Subject: [PATCH] panel-plugin: Include sys/sysmacros.h for major/minor +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +glibc 2.28+ needs it + +Upstream-Status: Pending + +Signed-off-by: Khem Raj +Cc: Andreas Müller +--- + panel-plugin/devperf.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/panel-plugin/devperf.c b/panel-plugin/devperf.c +index 175fd44..cb2e88a 100644 +--- a/panel-plugin/devperf.c ++++ b/panel-plugin/devperf.c +@@ -34,6 +34,7 @@ + #include + #include + /* for major() and minor() */ ++#include + #define _BSD_SOURCE + #include + diff --git a/meta-xfce/recipes-panel-plugins/diskperf/xfce4-diskperf-plugin_2.6.1.bb b/meta-xfce/recipes-panel-plugins/diskperf/xfce4-diskperf-plugin_2.6.1.bb index 161b2bb2b2..dc7f1fcd9a 100644 --- a/meta-xfce/recipes-panel-plugins/diskperf/xfce4-diskperf-plugin_2.6.1.bb +++ b/meta-xfce/recipes-panel-plugins/diskperf/xfce4-diskperf-plugin_2.6.1.bb @@ -5,5 +5,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d3e627798d6a60bece47aa8b3532e1f1" inherit xfce-panel-plugin +SRC_URI = "http://archive.xfce.org/src/panel-plugins/${BPN}/${@'${PV}'[0:3]}/${BPN}-${PV}.tar.bz2 \ + file://0001-panel-plugin-Include-sys-sysmacros.h-for-major-minor.patch \ + " SRC_URI[md5sum] = "63d5f03934c2dbddb3ad7bf7f535cc23" SRC_URI[sha256sum] = "212ddc742be3eecb6ad5554e1b1df03d5685cb71f48a558d5f895de37c57e4fa"