From patchwork Tue Aug 6 06:48:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 170636 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp5278473ile; Mon, 5 Aug 2019 23:48:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqy8LQHzN1t76kle5vMCLLXG1fO5eUnejv2mwKynwjxmkeH4VyYMW1me+A8zocem6eW5XUv+ X-Received: by 2002:aa7:9ad2:: with SMTP id x18mr2180559pfp.192.1565074131152; Mon, 05 Aug 2019 23:48:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565074131; cv=none; d=google.com; s=arc-20160816; b=jFnLEKDfuj44Jlkpf3n1HVMjSrBzZ0XKxEElvw84Yjj1ZpJBTU1ft8RMU3HRDo2Exm finhlVZLLMmaF1ohEaj4YfVcnWhA/wByli+9yBvncE7a0vwZ0SoF1Fi7mUQDy3xDpuAC 4sKzApmXiC7NDygPS2HVC33dC/J2cNKfX6HnR6oPuKViTx/XYmcG5L1ErAK/JU7c3bPs ZD4eCDEqPhDvGl2n5s1DVUjJrhQ647Qi+OOmn/2g8ls6OeR0ZriOhbLsnal1g6Pgbn06 DToHoxWGEkZQm5DDKxV3jbT6YP3mRWoRy7G44x1StKreeu5Ar3fQWsmwZfqWMRhzHxPm 5Dog== 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:message-id:date:to:from:dkim-signature:delivered-to; bh=v+UKwY8mOWrQB9fEZNHiXC03sBLmWm6/Wh/sQ0LsqoI=; b=R2fdAfyjBRFEA+ANXiiSxu6g2Pft+tDjlmhiBI4iBIBrGgv5RWjQzM6TrhWTAKHVUy EJy7UTsKzg/3TmyL/8habO+i3rIvTJFkjlsHgFIHffO2SYEK9sg5lnkfgtrxLH6JBtqL 3YEAMto0GzVWWv+0E21qIcMO5xz7i6Q+H3o0U89QsUkKM2PQWkJ88ny2sEG4EN8fHOjH LuErhJ2nLcq65gXryF3pb+lRI0xpZZ0t+b0O4g5ALuryMTKxtqw1KLpj63/PzVyTpnJ/ jWKRTQOQQYbDbZZdNjsD8eOFWcEgWsXEA7Pb5DTYBagVHO9aqEokKfnoz6EpDE7DKkBE fD1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=ichxxZ5W; 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 d9si12436522pgq.119.2019.08.05.23.48.50; Mon, 05 Aug 2019 23:48:51 -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=ichxxZ5W; 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 ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 813B37F28F; Tue, 6 Aug 2019 06:48:48 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) by mail.openembedded.org (Postfix) with ESMTP id D305E7F28F for ; Tue, 6 Aug 2019 06:48:46 +0000 (UTC) Received: by mail-pf1-f171.google.com with SMTP id p184so40950676pfp.7 for ; Mon, 05 Aug 2019 23:48:48 -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:mime-version :content-transfer-encoding; bh=d7TVd6riT5cPr3kCAZ+AaIOY2eOdNcds6Zh+SEqxGsM=; b=ichxxZ5WmnFx1vfghpB+9ZrFxx/jzHVxI8MpN21ECU1gixoCyEIhNOw9IWuOGvKxxS OtCvYByfCj83A3jLu0DrTwGC6QdPJZ9V3kh/VO6AIPA+YqJRRdRi5abEzUQaa6MSCrII ZdZyAs+0F2vLXRBsJnfcjHsXJ1XM1zyCLPQCDqRs/bGP1sCf9RCw8J07LVXSOx5GpanD MXGId8Ae5GFLegeP1UPQrlzb77iO17szx/f/b3isXKJHkonhfbRkueYI4kIpaXJyUkuB rAaUV0s3zJFJ9lwOLcGJMqQyf1dUy2eHo/NZmPUorC4y6Z1rsoJWhBzPWtZ8jcstXUw9 Dc6w== 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:mime-version :content-transfer-encoding; bh=d7TVd6riT5cPr3kCAZ+AaIOY2eOdNcds6Zh+SEqxGsM=; b=ZiISsWSOSITNJ9rAcaL6N2qVcFtgyn7XgDTPlRTpHngMnF39OskaZFgxJNgR/XLxeL ECH+iS/LridE+9MJIeR9+THRzzQEJODkGrgvrPOtpWmWzQOFd7sudbXOcpbFg8DDT69D khrXct0XS0986vbDQpfsFyUQZMDDE402PncKMXoj2Mf7RKA0TmQmzX31n8qgtjbxDFwA tbXgo+hzWTcfNqKDYoU4SAQC2oR5Vgv5bu8xOGQ4ba8yvREDrz6Xckmln7bOj5nWE4gG kFoNie6qD+i5Ud294oxzQnSQwJPdoT4frJC88EoMvtb8ekge/qPbZ5fT4weS4cY/b1sb Zk1w== X-Gm-Message-State: APjAAAUIcUZqjSl7smDwZzP1m3wtJGLj6myz9isovJiOL73sKoD8WhNt Q+X5oxtoWWXMmjSF84bZc7v3CQaM4yM= X-Received: by 2002:a62:2c8e:: with SMTP id s136mr2113570pfs.3.1565074127526; Mon, 05 Aug 2019 23:48:47 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net (c-73-71-176-3.hsd1.ca.comcast.net. [73.71.176.3]) by smtp.gmail.com with ESMTPSA id u23sm89377775pfn.140.2019.08.05.23.48.46 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 05 Aug 2019 23:48:47 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Mon, 5 Aug 2019 23:48:32 -0700 Message-Id: <20190806064835.33856-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH 1/4] sjf2410-linux-native: Do not include sys/io.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: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org This file is non-existent on non-x86 build hosts Fixes ppt.c:8:10: fatal error: sys/io.h: No such file or directory #include ^~~~~~~~~~ Signed-off-by: Khem Raj --- .../0001-ppt.c-Do-not-include-sys-io.h.patch | 28 +++++++++++++++++++ .../sjf2410-linux-native_svn.bb | 4 ++- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-support/samsung-soc-utils/files/0001-ppt.c-Do-not-include-sys-io.h.patch -- 2.22.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/samsung-soc-utils/files/0001-ppt.c-Do-not-include-sys-io.h.patch b/meta-oe/recipes-support/samsung-soc-utils/files/0001-ppt.c-Do-not-include-sys-io.h.patch new file mode 100644 index 0000000000..4e6c250415 --- /dev/null +++ b/meta-oe/recipes-support/samsung-soc-utils/files/0001-ppt.c-Do-not-include-sys-io.h.patch @@ -0,0 +1,28 @@ +From fd244ae648789591f0fb79e74d2b8f6c5b15d6e8 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Tue, 6 Aug 2019 00:47:14 +0000 +Subject: [PATCH] ppt.c: Do not include sys/io.h + +newer versions of glibc has removed it + +Upstream-Status: Pending +Signed-off-by: Khem Raj +--- + ppt.c | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/ppt.c b/ppt.c +index 0bae2d0..0ef279f 100644 +--- a/ppt.c ++++ b/ppt.c +@@ -5,7 +5,6 @@ + #else + #include + #include +-#include + #include + #include + #include +-- +2.17.1 + diff --git a/meta-oe/recipes-support/samsung-soc-utils/sjf2410-linux-native_svn.bb b/meta-oe/recipes-support/samsung-soc-utils/sjf2410-linux-native_svn.bb index 2d5935dd3c..c56c8b9dd8 100644 --- a/meta-oe/recipes-support/samsung-soc-utils/sjf2410-linux-native_svn.bb +++ b/meta-oe/recipes-support/samsung-soc-utils/sjf2410-linux-native_svn.bb @@ -7,7 +7,9 @@ SRCREV = "4268" PV = "0.1+svnr${SRCPV}" PR = "r1" -SRC_URI = "svn://svn.openmoko.org/trunk/src/host/;module=sjf2410-linux;protocol=http" +SRC_URI = "svn://svn.openmoko.org/trunk/src/host/;module=sjf2410-linux;protocol=http \ + file://0001-ppt.c-Do-not-include-sys-io.h.patch \ + " S = "${WORKDIR}/sjf2410-linux" inherit native deploy