From patchwork Wed Mar 22 18:45:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 95820 Delivered-To: patch@linaro.org Received: by 10.140.89.233 with SMTP id v96csp381609qgd; Wed, 22 Mar 2017 11:47:01 -0700 (PDT) X-Received: by 10.84.239.8 with SMTP id w8mr57495471plk.73.1490208421590; Wed, 22 Mar 2017 11:47:01 -0700 (PDT) Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id u10si2756950pge.206.2017.03.22.11.47.00; Wed, 22 Mar 2017 11:47:01 -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; 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 43D6E77B20; Wed, 22 Mar 2017 18:46:25 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf0-f193.google.com (mail-pf0-f193.google.com [209.85.192.193]) by mail.openembedded.org (Postfix) with ESMTP id E026977A57 for ; Wed, 22 Mar 2017 18:45:52 +0000 (UTC) Received: by mail-pf0-f193.google.com with SMTP id r137so24341424pfr.3 for ; Wed, 22 Mar 2017 11:45:54 -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=4d9oWS/IBNREnVlwytwPPrLJLsx1kt1/dwBHwvDUYjA=; b=KzRtn238HC45hzWIvlzycJ9LW7Kn7Vfg/jQoz/DzppAjClLLgRKVDEWJwr3Wl5c9Qi UICteKwy7q0YFs3ohT+pv++oQEeDsxFKuPtIjbwWs+R4wy5zqEMPL4jFyFf+iOLC9hbc SDNFQxTytoCRUcG44RQDVkJrXxjKVC32BsmDUJ/t+Lvn+rXHhgNrR1ieZFTXxantMQy6 Gw7KoxhAMp34CpGQratX8XmSGQVtP/9egltbDA23Q/tqdPjIK+KW/eQncejQV1wGT5vn DpkP30ELKTS7WL2amfCYjG4c/8ORyDvShFpQmdj54/852IboTk/mJAGD1Ngtwcgt+PnX 5xTA== 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=4d9oWS/IBNREnVlwytwPPrLJLsx1kt1/dwBHwvDUYjA=; b=ewAZuM6CUzAwvXQkjDntkXD9lQ2jqy2Nhs/nlUp9lsLBEqWs6uMUNsBRYzoL3gZGbI k3y+h+vdviPbyY7Zch2xUqFlQMc2fcJwwfyYwG2ETyYWDVF2T8cigEPcXeNFJyT0kkQl DIR6JCk1K8mTsfsWuQekMxzs9UmKaWcWq1QQncpecJaI+n11D3Lp5hTevqvl+KcaE6ST RhOSkTblItbrALBnCgySC3mjuiFIfM0feidwYB2DwfElXdjqrw5485/zLrsuap1t4Avj OqwHWWu3xXThL1Yx21DKwCNi2Kli/xPNLIh8Xzq2JEYHIoGNCSHTojin/rrhfmV5fXWc KzuQ== X-Gm-Message-State: AFeK/H1+iPJVrlHlduPkb9S95ADiA6PxhmGUu6yzMBL4CiPgzQ26t6EaWZImMcouxwX5NQ== X-Received: by 10.84.171.195 with SMTP id l61mr56166811plb.84.1490208354513; Wed, 22 Mar 2017 11:45:54 -0700 (PDT) Received: from localhost.localdomain (c-76-102-32-192.hsd1.ca.comcast.net. [76.102.32.192]) by smtp.gmail.com with ESMTPSA id z4sm5404494pge.49.2017.03.22.11.45.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Mar 2017 11:45:53 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Wed, 22 Mar 2017 11:45:31 -0700 Message-Id: <20170322184533.6501-8-raj.khem@gmail.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20170322184533.6501-1-raj.khem@gmail.com> References: <20170322184533.6501-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH V2 08/10] atop: Fix build with musl 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 --- .../atop/0001-include-missing-header-files.patch | 97 ++++++++++++++++++++++ meta-oe/recipes-support/atop/atop_2.2.3.bb | 1 + 2 files changed, 98 insertions(+) create mode 100644 meta-oe/recipes-support/atop/atop/0001-include-missing-header-files.patch -- 2.12.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/atop/atop/0001-include-missing-header-files.patch b/meta-oe/recipes-support/atop/atop/0001-include-missing-header-files.patch new file mode 100644 index 000000000..3708f60ba --- /dev/null +++ b/meta-oe/recipes-support/atop/atop/0001-include-missing-header-files.patch @@ -0,0 +1,97 @@ +From 7b651793269b6b86f12c43c30b751b86def27222 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 18 Mar 2017 17:56:40 -0700 +Subject: [PATCH] include missing header files + +fixes build with musl + +Signed-off-by: Khem Raj +--- + deviate.c | 1 + + procdbase.c | 2 +- + showgeneric.c | 2 +- + showlinux.c | 2 +- + showprocs.c | 2 +- + showsys.c | 2 +- + 6 files changed, 6 insertions(+), 5 deletions(-) + +diff --git a/deviate.c b/deviate.c +index 7cf1b49..8e615af 100644 +--- a/deviate.c ++++ b/deviate.c +@@ -178,6 +178,7 @@ static const char rcsid[] = "$Id: deviate.c,v 1.45 2010/10/23 14:02:03 gerlof Ex + #include + #include + #include ++#include + #include + #include + #include +diff --git a/procdbase.c b/procdbase.c +index 9cab347..0487d26 100644 +--- a/procdbase.c ++++ b/procdbase.c +@@ -67,7 +67,7 @@ static const char rcsid[] = "$Id: procdbase.c,v 1.8 2010/04/23 12:19:35 gerlof E + #include + #include + #include +-#include ++#include + + #include "atop.h" + #include "photoproc.h" +diff --git a/showgeneric.c b/showgeneric.c +index 775afa8..3d5be0e 100644 +--- a/showgeneric.c ++++ b/showgeneric.c +@@ -268,7 +268,7 @@ static const char rcsid[] = "$Id: showgeneric.c,v 1.71 2010/10/25 19:08:32 gerlo + #include + #include + #include +-#include ++#include + #include + #include + #include +diff --git a/showlinux.c b/showlinux.c +index 6e60754..aba2ee6 100644 +--- a/showlinux.c ++++ b/showlinux.c +@@ -274,7 +274,7 @@ static const char rcsid[] = "$Id: showlinux.c,v 1.70 2010/10/23 14:04:12 gerlof + #include + #include + #include +-#include ++#include + #include + #include + #include +diff --git a/showprocs.c b/showprocs.c +index 5194524..f0169ad 100644 +--- a/showprocs.c ++++ b/showprocs.c +@@ -94,7 +94,7 @@ static const char rcsid[] = "$Id: showprocs.c,v 1.15 2011/09/05 11:44:16 gerlof + #include + #include + #include +-#include ++#include + #include + #include + #include +diff --git a/showsys.c b/showsys.c +index 26331be..5a05fe5 100644 +--- a/showsys.c ++++ b/showsys.c +@@ -80,7 +80,7 @@ static const char rcsid[] = "XXXXXX"; + #include + #include + #include +-#include ++#include + #include + #include + #include +-- +2.12.0 + diff --git a/meta-oe/recipes-support/atop/atop_2.2.3.bb b/meta-oe/recipes-support/atop/atop_2.2.3.bb index a36f08dd7..1ab9e7cf9 100644 --- a/meta-oe/recipes-support/atop/atop_2.2.3.bb +++ b/meta-oe/recipes-support/atop/atop_2.2.3.bb @@ -20,6 +20,7 @@ ATOP_VER = "${@'-'.join(d.getVar('PV').rsplit('.', 1))}" SRC_URI = " \ http://www.atoptool.nl/download/${BPN}-${ATOP_VER}.tar.gz \ ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'file://volatiles.atop.conf', 'file://volatiles.99_atop', d)} \ + file://0001-include-missing-header-files.patch \ file://remove-bashisms.patch \ file://fix-permissions.patch \ file://sysvinit-implement-status.patch \