From patchwork Thu Jan 31 06:50:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 157128 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp6849492jaa; Wed, 30 Jan 2019 22:51:13 -0800 (PST) X-Google-Smtp-Source: ALg8bN6MjAQruAJCv0VLxU35uzVP2lhTBYrLW4l49oMyiY+H73BbSdHL7AfbaYTzTArE37uwPj+0 X-Received: by 2002:a63:5d20:: with SMTP id r32mr30704410pgb.329.1548917473408; Wed, 30 Jan 2019 22:51:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548917473; cv=none; d=google.com; s=arc-20160816; b=kZhqyekXAXqmAOWYaiUtSxmFaGvyIDHeIc/A7aoBQbqG+RXxaibXdDAwOAUpzT2Q6f K7OVs9vJMcaNEZlnCCnzArCvZnqYt/QVBK/5u7xszidrWGWiMU2bMc9DwAN73M8Aqz4Z sqcBxCsHc9ydLwvc13tfmtmLHGJkaENoEhC9SIeRnz34BXaUvdPz1X8BLOherjNYoCfL IFm82mY3f4M4xBJ2e9l4PUOXo4PUy5v3iMFreOxQfZ7daF0PDz+fTXq++pZEh5YXI2Gi b8hQpZyIniU+8BMsC5AoO2DxNlqgV+tjTDoRR0kfyXcCAvv33iFG6fXOvzvilcvcQRyc Bg0A== 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; bh=Pl8vLgtbz2S6f2VZLO52ssmTtJt9Ou2rC2RweFiN35A=; b=R+rMW/fhDMmQ3e0DHL5M51qyyikMoxNPpD184c8sqtIdF5ioihumKutznvOgItGw21 JeMgjeadqqvP1IdjhBym3Dgl3bmDWJAtFiq5Y20C/1lYhtBCCSvZxwZESWQ6qzigJVF4 qFYsfM4ojUIaWyFFO8kMygX2emMRqG9Xqa8INH/oexwwdSLHpQHwNe+xfvTjOcvu3kOV 8BDQG9n3s+JKiHV2bopZTZuVgytQplO/rjrdLmoySbwnlPl38dzzStBj8NQ99ta+Ro2u 7eAi8NE1AdYeG0mpun6JN0Lp4S4IxxybdH0G3gVy51VXr892Ygvs/gDiio48gn8na6v8 nj2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b="dEw2i0b/"; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-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 k22si3446589pgl.29.2019.01.30.22.51.13; Wed, 30 Jan 2019 22:51:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-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="dEw2i0b/"; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from 165.28.230.35.bc.googleusercontent.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 56ADE7C416; Thu, 31 Jan 2019 06:51:00 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg1-f170.google.com (mail-pg1-f170.google.com [209.85.215.170]) by mail.openembedded.org (Postfix) with ESMTP id 0372D7C3DE for ; Thu, 31 Jan 2019 06:50:38 +0000 (UTC) Received: by mail-pg1-f170.google.com with SMTP id s198so977866pgs.2 for ; Wed, 30 Jan 2019 22:50:40 -0800 (PST) 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=UBjkhw/BQMDfZefHbyB46nQizywFtiMVBLC/TKTzmrE=; b=dEw2i0b/YIAxeYRMUc1zfiCsrj7M6Y0p4KKJpv4WcTCeQsJn+i9MJMONFk3Iv1UXJ0 CVpGPezZI/6/hssdiMC5OfQ+tZHIJnw7vlePAAfK93HRh8WJsAA6GWVbsBjhkDqQc8eH l9287Ps66w30xyCaAw8SawPDdfC9QIr0phUiRd1O9g1qjAot4D1hICAVL9qXnkoEA917 gDFVo2Jh+Lh3JM/NfeVFKBScFcSBOyEnXzQmhCby/qXj7aZAUdD5BS/PPw8Wv14RnYdv aasGP3b7GGp+yGgMljAGzw8nbPYEePgjP5mos+F/NCmQEcfma0VH2zHbWF9JhAuN66Nz Hb4A== 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=UBjkhw/BQMDfZefHbyB46nQizywFtiMVBLC/TKTzmrE=; b=RFGDpvsARzOo1jV8RWYmhp001GK1RwzuPfE8mfrcsh4jhPY64+elXodeynlSW/fXhR fTu30f/Ez7ECdB3AJ8zmOVDD5Cl2czuUjvfcExQj4WAJ8KdMwKLR/ABAJ9+bb+TQKGHP tkh7pwtq0xVGkmAGoRtd9KAt7e8hJPDg4T371yuizH059Fh2wfKMZ55WNfeH0W0NFT71 MBb93uxEUGE4uzek1pJyRW5ZyCUqY/1nudmSQ0hnFZH2kq+I9mRGeReUR3gSVM79BXKw pFbvfQ4E5eGSa+GWoU3zp9TSjqmpTDOui1rzrR/clCkSvlLOlpCluyB3YYMc1uXnANqe Ra3Q== X-Gm-Message-State: AJcUukegc7W6vUETrLLC99KYWs15I+1ysUX/2+bHQkk3izyn9tpjItAZ ATQhlcJZ54/WB9Q2fErPb9UnwW16 X-Received: by 2002:a63:4f20:: with SMTP id d32mr30280736pgb.47.1548917439548; Wed, 30 Jan 2019 22:50:39 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:6bc6::26b6]) by smtp.gmail.com with ESMTPSA id o85sm1080044pfi.105.2019.01.30.22.50.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Jan 2019 22:50:38 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 30 Jan 2019 22:50:14 -0800 Message-Id: <20190131065016.21887-4-raj.khem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190131065016.21887-1-raj.khem@gmail.com> References: <20190131065016.21887-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 4/6] libdnf: Fix build with clang/libc++ X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- ...e-missing-string-and-errno.h-headers.patch | 65 +++++++++++++++++++ meta/recipes-devtools/libdnf/libdnf_0.24.1.bb | 1 + 2 files changed, 66 insertions(+) create mode 100644 meta/recipes-devtools/libdnf/libdnf/0001-include-missing-string-and-errno.h-headers.patch -- 2.20.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/libdnf/libdnf/0001-include-missing-string-and-errno.h-headers.patch b/meta/recipes-devtools/libdnf/libdnf/0001-include-missing-string-and-errno.h-headers.patch new file mode 100644 index 0000000000..62de784820 --- /dev/null +++ b/meta/recipes-devtools/libdnf/libdnf/0001-include-missing-string-and-errno.h-headers.patch @@ -0,0 +1,65 @@ +From ccc89ff0c1f8e55a4a22444d051925408f265df1 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Wed, 30 Jan 2019 10:32:11 -0800 +Subject: [PATCH] include missing and errno.h headers + +This is unearthed when compiling with clang/libc++ + +Upstream-Status: Submitted [https://github.com/rpm-software-management/libdnf/pull/677] + +Signed-off-by: Khem Raj +--- + libdnf/conf/ConfigParser.hpp | 1 + + libdnf/module/modulemd/ModuleProfile.hpp | 1 + + libdnf/sack/changelog.hpp | 1 + + libdnf/utils/smartcols/Cell.hpp | 1 + + 4 files changed, 4 insertions(+) + +diff --git a/libdnf/conf/ConfigParser.hpp b/libdnf/conf/ConfigParser.hpp +index 97f25500..2a3851fa 100644 +--- a/libdnf/conf/ConfigParser.hpp ++++ b/libdnf/conf/ConfigParser.hpp +@@ -23,6 +23,7 @@ + + #include + #include ++#include + #include + + namespace libdnf { +diff --git a/libdnf/module/modulemd/ModuleProfile.hpp b/libdnf/module/modulemd/ModuleProfile.hpp +index ab018deb..8d996ff4 100644 +--- a/libdnf/module/modulemd/ModuleProfile.hpp ++++ b/libdnf/module/modulemd/ModuleProfile.hpp +@@ -23,6 +23,7 @@ + + + #include ++#include + #include + + #include +diff --git a/libdnf/sack/changelog.hpp b/libdnf/sack/changelog.hpp +index a3d3fc44..d830c414 100644 +--- a/libdnf/sack/changelog.hpp ++++ b/libdnf/sack/changelog.hpp +@@ -23,6 +23,7 @@ + #define __CHANGELOG_HPP + + #include ++#include + + namespace libdnf { + +diff --git a/libdnf/utils/smartcols/Cell.hpp b/libdnf/utils/smartcols/Cell.hpp +index 2e811dee..b90f0050 100644 +--- a/libdnf/utils/smartcols/Cell.hpp ++++ b/libdnf/utils/smartcols/Cell.hpp +@@ -22,6 +22,7 @@ + #define LIBDNF_CELL_HPP + + #include ++#include + #include + #include + diff --git a/meta/recipes-devtools/libdnf/libdnf_0.24.1.bb b/meta/recipes-devtools/libdnf/libdnf_0.24.1.bb index e379d8b256..a55acb2ef0 100644 --- a/meta/recipes-devtools/libdnf/libdnf_0.24.1.bb +++ b/meta/recipes-devtools/libdnf/libdnf_0.24.1.bb @@ -7,6 +7,7 @@ SRC_URI = "git://github.com/rpm-software-management/libdnf \ file://0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch \ file://0001-Get-parameters-for-both-libsolv-and-libsolvext-libdn.patch \ file://0001-Add-WITH_TESTS-option.patch \ + file://0001-include-missing-string-and-errno.h-headers.patch \ " SRCREV = "04b71d78a2170e930a3c248d48a231b19f823064"