From patchwork Sat Jul 27 20:06:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 169948 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp1654998ilk; Sat, 27 Jul 2019 13:06:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqxmiPhqp+lx0miPrH6nB5x0jZTzurFXg7UWG9FMgVG17nso0fZL2ZdwDa13lN1v0b7uHFPC X-Received: by 2002:a17:90a:b387:: with SMTP id e7mr14770397pjr.113.1564257991966; Sat, 27 Jul 2019 13:06:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564257991; cv=none; d=google.com; s=arc-20160816; b=scalG2MW2JIe5IJ3LnoTaOOAiBPAxcnG0N2GcFoYv7lMTH1nfr3+kareS4U6dblD7C CbW0KYBlXgEaWP3fO5eNCOnmua0oib6Z/YwyFbTR8bNlQvC87hhhwJGmj0VfUsufk1le WdFkZlfUQDqICqeDpUW/Fd4S+yNaVMTAxZFy31OkoCKh4oOdmPqNDu41p+WLKwvG6jC3 zgBl7YWPpTNq9pnOEploh78VQ1S6Mm+H2jt9ZdY8VKRb81Y6xaJ9DuTZCNWuVEf5A8sz +0m7tzXBFijiyOVFtDy+K9ZpBSXz19g+3heq6sHjXMAfSbP6au+pV4pgvFfJ50sQa5Sf Ml1Q== 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=sNUIjcmmOWyO+Xkmz8gY15bzX3pAR+I6ElkDMYg7Sh0=; b=nZQWr2Lcw7wdVgVdnOdTi7QybFx4SLgBHHJXznOOJUhQcl0BdQkDgNbqqOV3pYve0D AgZMkFH/oraL0dJTiG59/0HxbUxwR0t94XrCzkMvrvgDVXqK4zh05cFlHdfJqPu/U8Db MHf8zvSdh3zcOY10dyIDPVeKWAFKWqrK8Vi7QseX4Aro+L6hfkZX1agAmQXMKt8rKDc+ +bEhc1/VZlybJjhbP9psrjzhZ4JPZ0tZm25/qtkXmNkIQC8bt88tBh1bSlQnRsDRdvyY fZlYbDOzjZ4EYci/jwI3tjy5mr3ndaxkPsgm+mwo1ZgGY46Uvk4uSxDSGG6wwfkdLg10 6VSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=kgKfAHbg; 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 c8si21067678pls.436.2019.07.27.13.06.30; Sat, 27 Jul 2019 13:06:31 -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=kgKfAHbg; 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 052E67F1E3; Sat, 27 Jul 2019 20:06:24 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg1-f195.google.com (mail-pg1-f195.google.com [209.85.215.195]) by mail.openembedded.org (Postfix) with ESMTP id 36B627F1E3 for ; Sat, 27 Jul 2019 20:06:23 +0000 (UTC) Received: by mail-pg1-f195.google.com with SMTP id f5so17491172pgu.5 for ; Sat, 27 Jul 2019 13:06:24 -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=jQaJBnvHII11j6LmOTCYLqlBB5JvMA4tGTOx3duRlnw=; b=kgKfAHbg4K89bKXVz36lPP1IRCyMQfolmMqjKECHYYpM6+6KZF1IvOw9u34tUnvnEx hcjboQw7bOvjrVtJk6WSpOhV64CUCf0adRamxnCBM9TscMdHqZAsgn+Ji2/WmI/KVNGy mtTWPJaR2BH3gF3DI3FHTAxqPHplyTADeo0EWXDtJE1wq+5knO2kbFUJHs6vHEteeC3L H8t8wYs/3JLOxxxlObu02GQlmtac2V8ALaYcHxhzuh8ZoP0Uj1W2Y3gXJndVOIWPm6fR PTJgIqWrKui2HGn01qSeBv5wzVdrj9IGpLBGNH7Fl2oPO/gLRXuHNX8adXoJqP9jI6KK x5GQ== 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=jQaJBnvHII11j6LmOTCYLqlBB5JvMA4tGTOx3duRlnw=; b=QhTSuraIRBVKaqvV9TCifTGFOhyJZRymMKavuNuIHlLjnOSGo6ebpB+OeI7yhI2vx5 A7Pbvpoy25az7Huu0xlO9Pl3sNzpNon3sKtVofnjpx9S+JsK7iEl3O74a7Ub7vRoRlXu WnWPtu8TCNQNOkoB2ZHU8huuUtd5dfj4OBW8It3UFCaWQqcP5GcfVRGCSaiPICjNGbd8 tBshnk1lSSeYRxcQN8UQf1cu/Zahoq4CyNwnpxWvg/isXyt+CBq2iSbH6wS6Lfi51SiV Ua4jU69uXupCDTT1Gd49Jq2xbz2aO5jqRsbmeUyzqDf7GGnBVv/IuCZxu2zSiXGTNmdb gUhQ== X-Gm-Message-State: APjAAAWzPQU1O5p4g04egSrxbFcCzxJPw0+tLbAiMO0sof6YIMhDOyJN 4gKfoP09fdU+0NAiQBKeCZ0znkTvs4I= X-Received: by 2002:a63:3148:: with SMTP id x69mr11512107pgx.300.1564257983580; Sat, 27 Jul 2019 13:06:23 -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 q24sm50850554pjp.14.2019.07.27.13.06.22 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sat, 27 Jul 2019 13:06:23 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sat, 27 Jul 2019 13:06:13 -0700 Message-Id: <20190727200614.5661-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH 1/2] collectd: Fix build with glibc 2.30 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 --- .../0001-Remove-including-sys-sysctl.h.patch | 81 +++++++++++++++++++ .../collectd/collectd_5.8.1.bb | 1 + 2 files changed, 82 insertions(+) create mode 100644 meta-oe/recipes-extended/collectd/collectd/0001-Remove-including-sys-sysctl.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-extended/collectd/collectd/0001-Remove-including-sys-sysctl.h.patch b/meta-oe/recipes-extended/collectd/collectd/0001-Remove-including-sys-sysctl.h.patch new file mode 100644 index 0000000000..450cdd0e5f --- /dev/null +++ b/meta-oe/recipes-extended/collectd/collectd/0001-Remove-including-sys-sysctl.h.patch @@ -0,0 +1,81 @@ +From e06c1b4259533ef7a396da841cbf950baccd8c11 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 27 Jul 2019 12:20:22 -0700 +Subject: [PATCH] Remove including sys/sysctl.h + +Glibc 2.30 has added deprecation notice and collectd detects it as +warning + +Fixes +sys/sysctl.h:21:2: error: "The header is deprecated and will be removed." [-Werror,-W#warnings] + +Upstream-Status: Pending +Signed-off-by: Khem Raj +--- + src/contextswitch.c | 4 ---- + src/memory.c | 3 --- + src/swap.c | 3 --- + src/uuid.c | 4 ---- + 4 files changed, 14 deletions(-) + +diff --git a/src/contextswitch.c b/src/contextswitch.c +index 461fb0a..75d42ae 100644 +--- a/src/contextswitch.c ++++ b/src/contextswitch.c +@@ -26,10 +26,6 @@ + #include "common.h" + #include "plugin.h" + +-#ifdef HAVE_SYS_SYSCTL_H +-#include +-#endif +- + #if HAVE_SYSCTLBYNAME + /* no global variables */ + /* #endif HAVE_SYSCTLBYNAME */ +diff --git a/src/memory.c b/src/memory.c +index e49fe84..41996d5 100644 +--- a/src/memory.c ++++ b/src/memory.c +@@ -28,9 +28,6 @@ + #include "common.h" + #include "plugin.h" + +-#ifdef HAVE_SYS_SYSCTL_H +-#include +-#endif + #ifdef HAVE_SYS_VMMETER_H + #include + #endif +diff --git a/src/swap.c b/src/swap.c +index 78f05c5..2488a5b 100644 +--- a/src/swap.c ++++ b/src/swap.c +@@ -49,9 +49,6 @@ + #if HAVE_SYS_PARAM_H + #include + #endif +-#if HAVE_SYS_SYSCTL_H +-#include +-#endif + #if HAVE_SYS_DKSTAT_H + #include + #endif +diff --git a/src/uuid.c b/src/uuid.c +index 1cb9027..1c6cdc6 100644 +--- a/src/uuid.c ++++ b/src/uuid.c +@@ -29,10 +29,6 @@ + #include "common.h" + #include "plugin.h" + +-#if HAVE_SYS_SYSCTL_H +-#include +-#endif +- + #define UUID_RAW_LENGTH 16 + #define UUID_PRINTABLE_COMPACT_LENGTH (UUID_RAW_LENGTH * 2) + #define UUID_PRINTABLE_NORMAL_LENGTH (UUID_PRINTABLE_COMPACT_LENGTH + 4) +-- +2.22.0 + diff --git a/meta-oe/recipes-extended/collectd/collectd_5.8.1.bb b/meta-oe/recipes-extended/collectd/collectd_5.8.1.bb index 6dff18c16b..ed8b8a5d2b 100644 --- a/meta-oe/recipes-extended/collectd/collectd_5.8.1.bb +++ b/meta-oe/recipes-extended/collectd/collectd_5.8.1.bb @@ -14,6 +14,7 @@ SRC_URI = "http://collectd.org/files/collectd-${PV}.tar.bz2 \ file://0001-configure-Check-for-Wno-error-format-truncation-comp.patch \ file://0005-Disable-new-gcc8-warnings.patch \ file://0006-libcollectdclient-Fix-string-overflow-errors.patch \ + file://0001-Remove-including-sys-sysctl.h.patch \ " SRC_URI[md5sum] = "bfce96c42cede5243028510bcc57c1e6" SRC_URI[sha256sum] = "e796fda27ce06377f491ad91aa286962a68c2b54076aa77a29673d53204453da" From patchwork Sat Jul 27 20:06: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: 169949 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp1655362ilk; Sat, 27 Jul 2019 13:07:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqz05ZIXLGO+eTw1hGDdz+ohXCodiscwCTt+AJsKOTusiy54VWNma8CDIwttuSm0Knaf4yp9 X-Received: by 2002:a62:82c1:: with SMTP id w184mr29300587pfd.8.1564258020231; Sat, 27 Jul 2019 13:07:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564258020; cv=none; d=google.com; s=arc-20160816; b=dCCQ5//tsBG5Bzjd/DhF3sldrOVDQSLK2iQpEXspzs7w/YX10kaS2efqyYGNYk9M+4 gb6tUk9A+RZuNYAj6DXL9aM4N4V3jwWLNt6GAZTGWJZywMNVn2W7xPwrlGgkFxd8K8ng qV9j+opHiJDY1j6L0a83YU+Bv3ImscC6Jo6EVwXI9Q853S4Z7fm38M4VzQnkkRo8ubL6 t4qmTAPvaUNuxbMMoC5bxqGheiiF0UKyxscqPFv7/hflh4db6019okNJHUltIFaOFdBy AjozJrgNfTHHArNOoizu2OHCiizrgvayGk5F7C+0aRIlbTbmIiZgz2YtccB0dGSoJfmi kGVQ== 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=iRBUc7vdAFMoyg0K4AthR/hrWojXP8yOwRDB5vfNyN8=; b=Ec9rieqK5IKo17ONiVyTNYnNmld9lYxQlCoPtG6mZOC8LFfDJgWf1FDGlpUzyMxs/L wAacrbfkAcH7pSj0TQybiWLRp1ltfLEvtMOQxSINbbxYJdGgZy0wL835I+OSW0MdZ+Ce h21GptKyLOKJu8hXavbWgq28OBng9GLibQYBnNszdwKBVybZ8sHvCvbIdk5yiA+XGEF+ f1eoFn9ngohU5yqJhW0GJ1620RooX76usw0OwMOAPgtjnAAfysSmtl0lQSujxYOzqcX6 pAZpc78b26iuNRZ5XQ0BvwHPP/3DPhXc4Is581HC9uXRken8UFfbISFQtENenSULagE5 DZoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=AXWb+oqB; 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 f98si4096872plb.256.2019.07.27.13.06.59; Sat, 27 Jul 2019 13:07:00 -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=AXWb+oqB; 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 0DE8E7F219; Sat, 27 Jul 2019 20:06:57 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) by mail.openembedded.org (Postfix) with ESMTP id EA03E7F1E3 for ; Sat, 27 Jul 2019 20:06:23 +0000 (UTC) Received: by mail-pf1-f179.google.com with SMTP id r7so26069129pfl.3 for ; Sat, 27 Jul 2019 13:06:25 -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=BIw8drt8FfGvh93+urmRhNPW7U7XaJN62Dw+e8TXT8k=; b=AXWb+oqB9TvmRBz5zV06dyVOtUS9ZDjlzNMO5av55NY4jWVcdUWyNQlPkLN8EoA6up zGXe+eMKvliqsy/W0CzPP0x0+pTOnKC2GfrXi0UkMQhkDiIOkAstjYQMJ3lLoGTpSHDR SYHfYjUQ96Eb++9BwixH0XtTgTbqGbUuDTIf5sPC+gc5ZAtFaE5sJch4OsH9TMLChdX+ XzlpyYQ+/cDL2LtV8FHX6YnbyTakGfzdbf4wgi8v/A/BItLZpKtSnAUrG6ZZT5R3nvdF Kcn5nReUOVjEw1vZ/17OizhrYhHJ/ILJjsBgFicKS78EV3o3r85hQIZgll801HYBc2ig DKfA== 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=BIw8drt8FfGvh93+urmRhNPW7U7XaJN62Dw+e8TXT8k=; b=bvmJ8FTy13pNI32CPLMz2VE+VQOp24fNzd8UCYh/b/xr5Pt1rO+24NaaSt3JO1/dEf zCWvQ9+2LC/ji4XwCXiPe0yICKw7UPFFSWL+jGew0kruay5dK12k4EmE03sSJeTqhIcn lBrrmw5FN/Z0BIGK2NE/tWp2cBIwKiYtKF3Xq+kMFce2pppiYAgUYXtY2DVw6IoGE89L r6HvFBtSCuoNWM//USzKA9bgB7fbbR87KSxrBjdufmq4A19KOwrDylze13yAuAx91qUv waTuK7PmDofWrSObqgmPhCuCY2GFg2OaUQUKO9s0pVJ2LGr6SZrW9iopRVS6ZLn3rSBI EeGg== X-Gm-Message-State: APjAAAVzsRBVNhT1QZgjfHDRmqL3HuXYC9jOv2SsH8PIHziPkTF7EO7T w4bS6wLbJOFs25uhLItvT/ml+Sfc98Y= X-Received: by 2002:aa7:9531:: with SMTP id c17mr29807207pfp.130.1564257984505; Sat, 27 Jul 2019 13:06:24 -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 q24sm50850554pjp.14.2019.07.27.13.06.23 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sat, 27 Jul 2019 13:06:23 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sat, 27 Jul 2019 13:06:14 -0700 Message-Id: <20190727200614.5661-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190727200614.5661-1-raj.khem@gmail.com> References: <20190727200614.5661-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH 2/2] pegtl: Fix build with clang/libc++ 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 Cc: Ayoub Zaki --- .../0001-add-missing-virtual-dtors.patch | 72 +++++++++++++++++++ meta-oe/recipes-extended/pegtl/pegtl_2.1.4.bb | 4 +- 2 files changed, 75 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-extended/pegtl/pegtl/0001-add-missing-virtual-dtors.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-extended/pegtl/pegtl/0001-add-missing-virtual-dtors.patch b/meta-oe/recipes-extended/pegtl/pegtl/0001-add-missing-virtual-dtors.patch new file mode 100644 index 0000000000..829c8ae5cb --- /dev/null +++ b/meta-oe/recipes-extended/pegtl/pegtl/0001-add-missing-virtual-dtors.patch @@ -0,0 +1,72 @@ +From 2c7cc8c669e513154e98762d6ed7c6d1bf338505 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 27 Jul 2019 12:54:49 -0700 +Subject: [PATCH] add missing virtual dtors + +Fixes clang warnings +/usr/include/c++/v1/memory:3710:5: error: destructor called on non-final 'examples::null_json' that has virtual functions but non-virtual destructor [-Werror,-Wdelete-non-abstract-non-virtual-dtor] +__data_.second().~_Tp(); +^ + +Signed-off-by: Khem Raj +Upstream-Status: Submitted [https://github.com/taocpp/PEGTL/pull/181] +--- + src/example/pegtl/json_classes.hpp | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +diff --git a/src/example/pegtl/json_classes.hpp b/src/example/pegtl/json_classes.hpp +index 7227870c..9ea66ce7 100644 +--- a/src/example/pegtl/json_classes.hpp ++++ b/src/example/pegtl/json_classes.hpp +@@ -58,6 +58,7 @@ namespace examples + : json_base( json_type::ARRAY ) + { + } ++ virtual ~array_json() {} + + std::vector< std::shared_ptr< json_base > > data; + +@@ -83,6 +84,7 @@ namespace examples + data( in_data ) + { + } ++ virtual ~boolean_json() {} + + bool data; + +@@ -99,7 +101,7 @@ namespace examples + : json_base( json_type::NULL_ ) + { + } +- ++ virtual ~null_json() {} + virtual void stream( std::ostream& o ) const override + { + o << "null"; +@@ -114,6 +116,7 @@ namespace examples + data( in_data ) + { + } ++ virtual ~number_json() {} + + long double data; + +@@ -179,6 +182,7 @@ namespace examples + data( in_data ) + { + } ++ virtual ~string_json() {} + + std::string data; + +@@ -195,6 +199,7 @@ namespace examples + : json_base( json_type::OBJECT ) + { + } ++ virtual ~object_json() {} + + std::map< std::string, std::shared_ptr< json_base > > data; + +-- +2.22.0 + diff --git a/meta-oe/recipes-extended/pegtl/pegtl_2.1.4.bb b/meta-oe/recipes-extended/pegtl/pegtl_2.1.4.bb index f41eef2a01..5cea295c5a 100644 --- a/meta-oe/recipes-extended/pegtl/pegtl_2.1.4.bb +++ b/meta-oe/recipes-extended/pegtl/pegtl_2.1.4.bb @@ -4,7 +4,9 @@ LICENSE="MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=80cb066ab204c7fe022f1cfe0c2c6818" SRCREV = "776fa4a1e8bda860008524f6dd9473967c8375b1" -SRC_URI = "git://git@github.com/taocpp/PEGTL.git;protocol=https;branch=master" +SRC_URI = "git://git@github.com/taocpp/PEGTL.git;protocol=https;branch=master \ + file://0001-add-missing-virtual-dtors.patch \ + " inherit cmake