From patchwork Fri Jul 14 05:40:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 107724 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp454213qge; Thu, 13 Jul 2017 22:42:16 -0700 (PDT) X-Received: by 10.98.215.73 with SMTP id v9mr3438223pfl.103.1500010936516; Thu, 13 Jul 2017 22:42:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500010936; cv=none; d=google.com; s=arc-20160816; b=oBFHGqdotCV2UKHCs+cMJ5eIn5POxh4BE78oUYFI6FHXROWPvzQEqrlVTp9+Uj1zdq fHGyJYD8JTJoT9VhHG1Z8m6LV+QfggwqQ+Iqyb+yLcqZnroN3JHVKdyvRUzWanj7gPBs Mw5+vcBQOVKfD9LIP0n4hl2HSc691VIq5khBfNg+VJaEWH+Z/95EGeLG3SVlEhDG51Bj PLtmRXowJFFXVAuviLRUBd5KJIPQlsCLgw3bcOagyc2v1yaHPeRgaMJi9GNTBm+h3zAJ 5l6tFUC4KweVT1BFOCK5Xog2vS7C2bNFWtlK/WWd1oFrMTuaAkPhf+Py9430O1rNygdt MBgQ== 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=VLrSSZ9aIk9jm18J4miif9PXUrQYl6ELdYP/OxPy5Gg=; b=pkLA0404b+wteWUNJS1H/JR8nhPNzeSI4MQfbh8mXMJHgB1Ubj75tnYJD4W/5TP4d7 N2LPpqd3gWKe3l+j4CPBYsVMBNIkpyceskXqeLehoDSL2iEW3+Zsr1LIyAjS41eOSz9j SoC5pJRA6rXCqZMI0QcVzOgWX1Z0+F4f45E7emlrEi8dzSboX5RSdwfdLQCBCUcaoNP9 rJKQiFHLQrT+dbCfFF0FxF3VDTQ43V3PLwzgdxvAsN54bI8Ldfw5lq0BnFHDrkOQT5l0 9yODuFdg/U+AC345kILmDDi4v/YCums79WbtCmT+3ydSnug79Ey8mMUKAdEx6atxW2IZ xl5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=njw7sN4y; 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 Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id a61si6304896pla.145.2017.07.13.22.42.16; Thu, 13 Jul 2017 22:42:16 -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.b=njw7sN4y; 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 983F978227; Fri, 14 Jul 2017 05:41:38 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf0-f194.google.com (mail-pf0-f194.google.com [209.85.192.194]) by mail.openembedded.org (Postfix) with ESMTP id 3E00E78170 for ; Fri, 14 Jul 2017 05:40:34 +0000 (UTC) Received: by mail-pf0-f194.google.com with SMTP id z6so9725722pfk.3 for ; Thu, 13 Jul 2017 22:40: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=bRBTFBXD9j5NxfcEAReytLcguUI+hcAX1onKxrpHkpU=; b=njw7sN4yS3A36p1rc5BTaOG9trXK+IQmvRd3LNDwL4UTC2UgQlhub6V3ekuIloVxkG j1whPfTYnHqSpw5tD8Q3aTtdTLGNgATROxoag9jDmBMK+uc9uPO3S3MsUZ8/oBKLzGPH rp5AyXZiwcXhJFORXTAKaWh93FtXOdALxTw/DdCUQGM1Hk9WXnLyGCA4UXtRe2DEo4bL xZZ4V5cTsAMhuzJbHFF/YKoLvDnYM/R+OZSDHO0OC/FJFTnxwTeqUTbEtYBYCJnu8jN7 2JBz0WSZvZeiFizgSFe/eXnRkGGcku2xeIejJhkt4NCb72vGlxWzI3OLo3W/9Q11JnXa hzww== 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=bRBTFBXD9j5NxfcEAReytLcguUI+hcAX1onKxrpHkpU=; b=uQOaEZWfH7XuNxNgYdFriT2Kucjz0UJfnzgDcLn2HSg3/M6kzVkfoFH4NoxZEc59Ge C4G3nJ1kipAxnoqLUhVodni5ls6LMTU0jxbVZEp/8gRaThA9i8I/DBkAnPrZVU8SUx3e LutgC5ehg944yb5YxF2Zj1/UulFwVh9X7IQdx6XoP+IXxxpUpk/T6AZsT1LAKhv4YRN1 7zK/MgawAe71HN30zifo7Ddd81sMNbtgvEAmpGGeFSLsyWeHJEVroK0TOKJRxsSZ03i0 7Q/eq18Lvc/4QLC+xWPAbetfPDJiYxifMKZ9rz5uzI1HO7M8oFj4S+1fokzv0W1RtIAz D8vg== X-Gm-Message-State: AIVw112eGSz4GFS23ty5vq9kGAljgiW9WQRrB4trOPoKWzldFXT4rHgI BiL8es5dmLgTkinZ X-Received: by 10.101.88.130 with SMTP id d2mr13224998pgu.265.1500010835543; Thu, 13 Jul 2017 22:40:35 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::7028]) by smtp.gmail.com with ESMTPSA id z86sm17519420pfl.40.2017.07.13.22.40.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Jul 2017 22:40:34 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Thu, 13 Jul 2017 22:40:03 -0700 Message-Id: <20170714054013.34458-8-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170714054013.34458-1-raj.khem@gmail.com> References: <20170714054013.34458-1-raj.khem@gmail.com> Subject: [oe] [meta-xfce][PATCH 08/18] xfce4-netload-plugin: Do not include sys/sysctl.h 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 Its unused, moreover it helps it compile with musl Signed-off-by: Khem Raj --- ...ude-sys-sysctl.h-its-unused-on-linux-port.patch | 25 ++++++++++++++++++++++ .../netload/xfce4-netload-plugin_1.3.1.bb | 3 +++ 2 files changed, 28 insertions(+) create mode 100644 meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin/0001-Do-not-include-sys-sysctl.h-its-unused-on-linux-port.patch -- 2.13.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin/0001-Do-not-include-sys-sysctl.h-its-unused-on-linux-port.patch b/meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin/0001-Do-not-include-sys-sysctl.h-its-unused-on-linux-port.patch new file mode 100644 index 000000000..e35418192 --- /dev/null +++ b/meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin/0001-Do-not-include-sys-sysctl.h-its-unused-on-linux-port.patch @@ -0,0 +1,25 @@ +From 7fcc7352ec11644ac8be4e9ec1584a5be3333684 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Wed, 12 Jul 2017 18:18:30 -0700 +Subject: [PATCH] Do not include sys/sysctl.h its unused on linux port + +Signed-off-by: Khem Raj +--- + panel-plugin/os.h | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/panel-plugin/os.h b/panel-plugin/os.h +index 473c2a4..9a5c544 100644 +--- a/panel-plugin/os.h ++++ b/panel-plugin/os.h +@@ -170,7 +170,6 @@ + #elif __linux__ /* L I N U X */ + # include + # include +-# include + # include + # include + # include +-- +2.13.2 + diff --git a/meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin_1.3.1.bb b/meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin_1.3.1.bb index 7d7778202..35c8861bc 100644 --- a/meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin_1.3.1.bb +++ b/meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin_1.3.1.bb @@ -5,5 +5,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=35a7203c41b86d15546dddc05995f97f" inherit xfce-panel-plugin +SRC_URI = "http://archive.xfce.org/src/panel-plugins/${BPN}/${@'${PV}'[0:3]}/${BPN}-${PV}.tar.bz2 \ + file://0001-Do-not-include-sys-sysctl.h-its-unused-on-linux-port.patch \ + " SRC_URI[md5sum] = "f25aa3242e3119b49f259a3e4a1af08b" SRC_URI[sha256sum] = "99762781099d1e0ab9aa6a7b30c2bd94d8f658dbe61c760410d5d42d0766391c"