From patchwork Mon Dec 23 22:58:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 182417 Delivered-To: patch@linaro.org Received: by 2002:a92:a146:0:0:0:0:0 with SMTP id v67csp983354ili; Mon, 23 Dec 2019 14:59:02 -0800 (PST) X-Google-Smtp-Source: APXvYqyhb3d8E1V3oa3S0d14Q2V9ErjeYmhT/P9t3ZUbPt+JyXTVnovP7Nf8qj2aL23ljVf5EZST X-Received: by 2002:a62:d407:: with SMTP id a7mr32049541pfh.242.1577141941941; Mon, 23 Dec 2019 14:59:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577141941; cv=none; d=google.com; s=arc-20160816; b=Ykdf5FPdFKNvRqN8SqXlzzOEqBZAfD9gomGmGlQzsebh9rDJRM41G/Ea1oAttGqKjS vfChwkuTsiiVwOaEapTV4E2mP8aqlkEFTilrdaM9AU0dNSaqtLjZN1cPCLSwlW2MXTFo 6GGBV6gDJ8RqgurqbK4U9kUVAoXlIET9R6L34D3LnNKYVfnlFU55iSlr3Awvuopvwl8c Aoe15tirIWGyb8TeHmODo4tywgr99LzqxtTOGBRcHkYa0NnWjPWACGLE6Oc9mmxgfqyv m9EEWs3g2xSCpjqaza2wXu5TyI4r2SYJWc1YWxu6hx9V4ZvKJvkCaNoZjk7bXpsjaWfX vXNA== 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=xiveWkxjvx8NCJtxEbPrvqRFtXZF7V6pMwjXRvWiSPk=; b=kfR59DhkUP9T2+znqNWtU6Au72r4rLFToE1qjkZ9pqLBszm61SiMBJ4iSWeW6pLcGn 9iZWN2OYb+LO5Uiy2lSE2rd7KSUOsxxKBDgkSDvB7l9CqBNMhk+gJl4x7Kk4TLsofB4a xdif3h7O7xSLT+/sVKYNmju87IFFbKJ0/gyPnM6sRpplNrioNQNTdooYjnwK9km3D6Qk sbkFfYkWiLFyO6Fd2QXb3PhwqbR2ps5GHpMmc8n5tpS749buPL9pY8jnz//46xJ7+l1l Q13YZmUCrCugnprTs9Tnp37Fm4Ku/ITl2oAiEd/SGlgTcxNHgJQuqvMqUujsDDMDPo4V Eb3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=dNBizpXo; 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 f8si18387628plo.183.2019.12.23.14.59.01; Mon, 23 Dec 2019 14:59:01 -0800 (PST) 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=dNBizpXo; 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 491917FC1F; Mon, 23 Dec 2019 22:58:57 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) by mail.openembedded.org (Postfix) with ESMTP id 026546C108 for ; Mon, 23 Dec 2019 22:58:55 +0000 (UTC) Received: by mail-pf1-f172.google.com with SMTP id n9so1977985pff.13 for ; Mon, 23 Dec 2019 14:58:57 -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:mime-version :content-transfer-encoding; bh=mQsNWrx+UP+30BOrlPwlFJpnomreZoa+Q7E9yMugCeM=; b=dNBizpXoYXtano3yrssfaN0CsjzzIIhE2wEZDhMy9iTsL2t/gini3d6G2cb4EmvzAR a6hV28ZhcT80PQI99aCk8my9thWtfr1Bw02ncpv+lmStah9JgrbwtNRWP71wXTGkN9QN KeN+MBu5xgwJInyO1cBYdQ73wgyakHWbgwTsSwRjvTR3QgSGm44Q9kxX8J8ag4ork7/P KgiBWEncbRHnEwsBskE5d7r5n7jsh7NE6g4RgGlgxRjf/ntUK0Ve0aL7zlSKPc1Apsic Gbn+rISkOQIpmQjZmONw5Yksoc7+EKOKe+QHSOou+enUCqMJuXjNzSUCG4RSxeSMTBKT D4zQ== 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=mQsNWrx+UP+30BOrlPwlFJpnomreZoa+Q7E9yMugCeM=; b=Vqgd17xx/pJBUvGx5FdFkxdPJdeuYi49M7DSfnowEwyc+5quytsiiLtJvK7B1ZbN+f Bxya9WUGXXFwoZdMP8z0A0uRD4CMeXhO5RihDlUYrImRZhBw82+topKNw0AsecPhNuOQ REA5o5CbL2SIzqvTdTLK8qa8C+OxW2Tn/0KPWtv4gZjQNmJX0VDdou9PHgAoq3HlBnC3 A2EkRSU+FWcaVL1ix0mKbtSYrMPZBX8/vtmfOgYiQ0ajjvfiYfVm376nnOo2GETG5e9h COBwpgi/OyKpR7uz+4f1bLy2mc6o0S6pCZD7gtRvWjDN5V/IcB39kAxqKbaFbgV/0i61 Z/8Q== X-Gm-Message-State: APjAAAX326n7TlCYiKqeCmQJcplo+nKQoEhFZIt/oTAbVqynwcY4ZtAp hw6aOZaFAtI2JiT9e7StxFpBEdFq4TA= X-Received: by 2002:a65:6842:: with SMTP id q2mr34825449pgt.345.1577141936567; Mon, 23 Dec 2019 14:58:56 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::36e9]) by smtp.gmail.com with ESMTPSA id c2sm526448pjq.27.2019.12.23.14.58.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Dec 2019 14:58:56 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Mon, 23 Dec 2019 14:58:43 -0800 Message-Id: <20191223225846.2277629-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH 1/4] pam-plugin-ldapdb: Include for std::invalid_argument 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 --- ...e-stdexcept-for-std-invalid_argument.patch | 25 +++++++++++++++++++ .../pam/pam-plugin-ldapdb_1.3.bb | 4 ++- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-extended/pam/pam-plugin-ldapdb/0001-include-stdexcept-for-std-invalid_argument.patch -- 2.24.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-extended/pam/pam-plugin-ldapdb/0001-include-stdexcept-for-std-invalid_argument.patch b/meta-oe/recipes-extended/pam/pam-plugin-ldapdb/0001-include-stdexcept-for-std-invalid_argument.patch new file mode 100644 index 0000000000..0a93411533 --- /dev/null +++ b/meta-oe/recipes-extended/pam/pam-plugin-ldapdb/0001-include-stdexcept-for-std-invalid_argument.patch @@ -0,0 +1,25 @@ +From 3e97c9004f4ec58ca3696ee6298f91e6eeb76e04 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 23 Dec 2019 14:46:25 -0800 +Subject: [PATCH] include for std::invalid_argument + +Upstream-Status: Submitted [https://github.com/rmbreak/pam_ldapdb/pull/11] +Signed-off-by: Khem Raj +--- + pam_ldapdb.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/pam_ldapdb.cpp b/pam_ldapdb.cpp +index 9baf1e6..be5d85c 100644 +--- a/pam_ldapdb.cpp ++++ b/pam_ldapdb.cpp +@@ -1,5 +1,6 @@ + #include + #include ++#include + #include + #include + #include +-- +2.24.1 + diff --git a/meta-oe/recipes-extended/pam/pam-plugin-ldapdb_1.3.bb b/meta-oe/recipes-extended/pam/pam-plugin-ldapdb_1.3.bb index 6864cc3174..626b22fe48 100644 --- a/meta-oe/recipes-extended/pam/pam-plugin-ldapdb_1.3.bb +++ b/meta-oe/recipes-extended/pam/pam-plugin-ldapdb_1.3.bb @@ -11,7 +11,9 @@ inherit features_check REQUIRED_DISTRO_FEATURES = "pam" SRCREV = "84d7b260f1ae6857ae36e014c9a5968e8aa1cbe8" -SRC_URI = "git://github.com/rmbreak/pam_ldapdb" +SRC_URI = "git://github.com/rmbreak/pam_ldapdb \ + file://0001-include-stdexcept-for-std-invalid_argument.patch \ +" S = "${WORKDIR}/git" From patchwork Mon Dec 23 22:58:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 182418 Delivered-To: patch@linaro.org Received: by 2002:a92:a146:0:0:0:0:0 with SMTP id v67csp983553ili; Mon, 23 Dec 2019 14:59:19 -0800 (PST) X-Google-Smtp-Source: APXvYqwo0GFGWe0/Xj77vHUzA/ti9Iq5UF3S0tdfTYSdQNFlJVeWXr6dHtAMcFfv6lLNQKaaeA1o X-Received: by 2002:a17:90a:da01:: with SMTP id e1mr1869083pjv.29.1577141959283; Mon, 23 Dec 2019 14:59:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577141959; cv=none; d=google.com; s=arc-20160816; b=Nr075QNf8pMYW7/JEqYwXMK1IXwcoXMTkvTDEKNr+ESBEK6Hqqhv4S2YCovabQ1TfV gGwiZjoeJgikPes2L+wPaLyiPAAVdX0VvAgexN2BHSvmwIVp/9hqApoU0Fu/A5AMP5hK KoqpU6VtDyLdxFugJyeDt3WBUsQX58I3tif6ksVg/zmONZ9/FV+IE0UYW4Wr7oHnABeB rsE2n3KRbUOnRmpLcRDK6lglVl2/pBF1CejGwXk0vWrp4UnvC2y1jiU4Ge5divZOMfGi lWmSN/2om5kbdS8F9LcvMc1n1yQ0A/0KNjvXtsU+Qm7obJFxBq2yqVx8QPtwcwAKR+0s 1dfQ== 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 :cc:mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=Qe5xNyOWKn07DaNA+WUXLrClaEF77RNOsPWBG0JcTj4=; b=R9Hy2/Ve/tUHzO7tnrsXjSllunpa7/KFgo3XB4RIrtM8F8hfe+NaB3PiumAXmzK+vZ bV1YQKwf/oaxWjOU7PJHjV8LhM12Ncnilh+wA9goeLJcM5j7TJFT2E3GFbYRobS5iKcD mJXIOKTqgRsdZACXFCBYj5RAu1TbWw0/+ZaIcQwuuzlLBzJu5gn1wzKYKq3+cDuiIwgs d1zdB6ICUPnyCs0Rhm8ZeX4/83PWBXwwpilZrJzAlqIKyw6+/64+4Uz7PIN9RGVMb5SL 6ksZwQNj9yp3qVAekt28FBOs6Sx5q0Nm2C0Wa56bO6t9bBCTJiF6z7+3VVla6sCDj064 Ctxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=GwQ8y5LT; 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 f1si19142948pln.104.2019.12.23.14.59.19; Mon, 23 Dec 2019 14:59:19 -0800 (PST) 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=GwQ8y5LT; 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 4299B7FC3E; Mon, 23 Dec 2019 22:59:16 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pl1-f196.google.com (mail-pl1-f196.google.com [209.85.214.196]) by mail.openembedded.org (Postfix) with ESMTP id ABCE86C108 for ; Mon, 23 Dec 2019 22:58:56 +0000 (UTC) Received: by mail-pl1-f196.google.com with SMTP id c13so7737643pls.0 for ; Mon, 23 Dec 2019 14:58:58 -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=2+IfnCWtFu1LYWjDSrfY6V9dGwCnRlEswPr4Fzxd/f8=; b=GwQ8y5LTjyESiA5+jPbMsuxpUUQCijC3FZS4ohGdYrN2LkTdSXMtckDezlgOvRw2lN F7wFE2pQ/+/+5TrUWHK1BB0OA1B+W0aXn/WAAyD4BEzu4KSsmXAh9KOkm/FhCFDpeZ00 tHdagjvaBMxkiCMvsspx54Vq+NYlsvqk28VcGqbCtqrW0SMy+Fqd3XiZjox/L45Uz+kT ccNcwcWVybXYHSMaL6WHE4rj7s4UJ/d7aM1Eh1/5/r+oCnrjSo59XZ0QQsRjXrTKti6y yKgf4nGqmdaAWYrwQKwc+htJUQQjVKRaZI2g4y7cYPq2SVtNZgjU6b7fZ/ZRxeGdb0vF aYdQ== 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=2+IfnCWtFu1LYWjDSrfY6V9dGwCnRlEswPr4Fzxd/f8=; b=sIYdj7/vFNGo8fzy3i0MtvrvTRX8sy9Ti/JjJS9e6enRGmBCvmhJEYiQxO1Ipg9Ih1 gUyQx1oHTlUKtmfzwA6aTmWp5sIsgKTx7jlx6+IEShG1Yc2yET6vqxMQuENbf/2cskOW P5xtZSNKA7v+yg40bRl3NHPAJy0B79va+GUlx3rRrDkM6cWvSmdRnJTGXe6da9R2Seoe ATCsQ/peT3v0bbRZgck5T9ykLIoBEw64OMQJSa8WIupJkEDdlC9nn3l9wqCUir8wlFh3 8nljMfSssNUEAn1g3gm+tBa/oJCKmNFe/Xg0HF9eCO+EwtcYrYfVp32ALsIxlHWnyAps 8VEw== X-Gm-Message-State: APjAAAXlwkZ//aXWI9CTp+MeQ2rhfHkaJTektq2pDtl6VtBq73iWkO24 Azk2yZX0H/EwL9u0jbHV1oUQuiiVHW0= X-Received: by 2002:a17:90a:4d02:: with SMTP id c2mr1864707pjg.94.1577141937338; Mon, 23 Dec 2019 14:58:57 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::36e9]) by smtp.gmail.com with ESMTPSA id c2sm526448pjq.27.2019.12.23.14.58.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Dec 2019 14:58:56 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Mon, 23 Dec 2019 14:58:44 -0800 Message-Id: <20191223225846.2277629-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191223225846.2277629-1-raj.khem@gmail.com> References: <20191223225846.2277629-1-raj.khem@gmail.com> MIME-Version: 1.0 Cc: =?utf-8?q?Andreas_M=C3=BCller?= Subject: [oe] [meta-multimedia][PATCH 2/4] dvb-apps: Replace stime with clock_settime 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 Newer glibc 2.31+ removed stime. Signed-off-by: Khem Raj Cc: Andreas Müller --- .../dvb-apps/dvb-apps_1.1.1.bb | 1 + ...ate-Remove-Obsoleted-stime-API-calls.patch | 32 +++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 meta-multimedia/recipes-multimedia/dvb-apps/files/0001-dvbdate-Remove-Obsoleted-stime-API-calls.patch diff --git a/meta-multimedia/recipes-multimedia/dvb-apps/dvb-apps_1.1.1.bb b/meta-multimedia/recipes-multimedia/dvb-apps/dvb-apps_1.1.1.bb index 3f491181de..f354ef3872 100644 --- a/meta-multimedia/recipes-multimedia/dvb-apps/dvb-apps_1.1.1.bb +++ b/meta-multimedia/recipes-multimedia/dvb-apps/dvb-apps_1.1.1.bb @@ -11,6 +11,7 @@ SRC_URI = "hg://linuxtv.org/hg;module=dvb-apps;protocol=http \ file://0004-Makefile-remove-test.patch \ file://0005-libucsi-optimization-removal.patch \ file://0006-CA_SET_PID.patch \ + file://0001-dvbdate-Remove-Obsoleted-stime-API-calls.patch \ " S = "${WORKDIR}/${BPN}" diff --git a/meta-multimedia/recipes-multimedia/dvb-apps/files/0001-dvbdate-Remove-Obsoleted-stime-API-calls.patch b/meta-multimedia/recipes-multimedia/dvb-apps/files/0001-dvbdate-Remove-Obsoleted-stime-API-calls.patch new file mode 100644 index 0000000000..9035b56f4a --- /dev/null +++ b/meta-multimedia/recipes-multimedia/dvb-apps/files/0001-dvbdate-Remove-Obsoleted-stime-API-calls.patch @@ -0,0 +1,32 @@ +From d6817dbaf407f65dd4af12c51736153fae8b217f Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 21 Dec 2019 08:36:11 -0800 +Subject: [PATCH] dvbdate: Remove Obsoleted stime API calls + +stime() has been deprecated in glibc 2.31+ its recommended to +replaced with clock_settime() + +Signed-off-by: Khem Raj +--- + util/dvbdate/dvbdate.c | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/util/dvbdate/dvbdate.c b/util/dvbdate/dvbdate.c +index f0df437..492ed79 100644 +--- a/util/dvbdate/dvbdate.c ++++ b/util/dvbdate/dvbdate.c +@@ -309,7 +309,10 @@ int atsc_scan_date(time_t *rx_time, unsigned int to) + */ + int set_time(time_t * new_time) + { +- if (stime(new_time)) { ++ struct timespec ts; ++ ts.tv_sec = &new_time; ++ ts.tv_nsec = 0; ++ if (clock_settime(CLOCK_REALTIME, &ts)) { + perror("Unable to set time"); + return -1; + } +-- +2.24.1 + From patchwork Mon Dec 23 22:58:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 182419 Delivered-To: patch@linaro.org Received: by 2002:a92:a146:0:0:0:0:0 with SMTP id v67csp983620ili; Mon, 23 Dec 2019 14:59:25 -0800 (PST) X-Google-Smtp-Source: APXvYqxHwZ9CZKRaWglGGew96k2G+HnyXcMACxfsEAXTADr/z28Y0OzOAt2Oe6wEVEH8oAwPQ5LC X-Received: by 2002:a17:90a:1b4d:: with SMTP id q71mr1825858pjq.82.1577141965405; Mon, 23 Dec 2019 14:59:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577141965; cv=none; d=google.com; s=arc-20160816; b=0/7hwlE7npXalNCqCHDmYxgwQhXqp0xV1VqlWDm853Ne25P8YuwOfiE+2qKmU8M1SI d4qMbdcq2NObS2wSXFSfqWvL1Ps5SIB8F0bLwrkuuUKNQu4XbGHSgSFqnDitQpFY4nq4 p4gaMNy9yKumySzeL74vEmOgAMxHEemphl5BgebElM7dnRT5hgPF/kbmn5WIcqVcbRkq cxeYmGS+4aHU7oa23Jfn/Ibqa68H19LwIEPT8U7daH5WdMlwUgkB/anynOEmFISZsOeq w0+DBFvXPFqvrH9ChqMhbxNS272Rc7ZElJVO3wa0msDiX2SMUg+4ymCZsFRdj343f2gU PtgQ== 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=AxrFpjJFoC/YpgAebs7MJSJdWfwIbBe+gfk0XNUnKnU=; b=JRcfkqCXr3crGvWFxm//e2r8ntY4C/D55BZe9CGJvHdgDo7Pvi1mO2WqDNMFky3sJE FoQuBZLEhtwMHvaqa6QI+q83zcRVSbS7fmBT9hAh331CsAe7npetPuVTHWhfOH6iYFUB WooY2uh2jvkffBxC2dKk11oG/VzsXhD/erWzKKVoMzkYj2q7B7SQmZG/HGpo1qJkBn+x Cpwslt+0Tk3Dyula40qjMZ+Aloufl8PI7nNYpCPZtOcyB+w3Zu+hG0Bbxlx1N3pLf+lA fbo0uXnUC+b3XqfX5vF2OLEL3IKDQ4NBtMjnT5si+ttzacCJH2LouVKDHP9o4OkByjNk zZgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=MlOIQnEx; 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 d3si18607040pln.290.2019.12.23.14.59.25; Mon, 23 Dec 2019 14:59:25 -0800 (PST) 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=MlOIQnEx; 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 6D5B37FC46; Mon, 23 Dec 2019 22:59:17 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pj1-f45.google.com (mail-pj1-f45.google.com [209.85.216.45]) by mail.openembedded.org (Postfix) with ESMTP id CC9467FBCA for ; Mon, 23 Dec 2019 22:58:57 +0000 (UTC) Received: by mail-pj1-f45.google.com with SMTP id n96so375105pjc.3 for ; Mon, 23 Dec 2019 14:58:59 -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=OtOI+3Yr61VozHpxJFTYJSBzx7uV8kkvE7+hI3Z31SI=; b=MlOIQnExvrX21IXG//ttjxlEZdg9fxU5aud3qfQKdUwqGQxPlqM1M3YAWi89owkWaG gNOZkXO2FAdcaMvgneBhZYxsQZB/B1WWITar/scH9FM6kgZ+Ooa+a6AiUGPjZwfR/nX2 JmJ8YXkfP7ktFSoQKsmkC+nor+8gOVHYaJZZS84OJgZgbQG+Px5IvcZ6MHtk5ZcX1jmf unMgcUYUtNiuAuE2H7Q33xifN7WsvW9MURFQl0z6/4pFleKvwTRiS9SfEX0iDlEKNWC5 KFacONqABLwSFnoRqXlZ6jng3zkYz4xdj7EtM6XMbAlPBXuue6+KQSEwSqlSDgGGvo+M eh3g== 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=OtOI+3Yr61VozHpxJFTYJSBzx7uV8kkvE7+hI3Z31SI=; b=cMdP75WHba/GJekQhuSVW1en6HagKEDyvYaFKdGpt1+7D+AEkrkg4Vt0+O0Xfy8TM+ kd6UC8y2cjgTFEVQNfOvLID+lniQ9/9/kdU7x9T/E3+TP51TomBWWa+Uq8SlKL7Q+kIO CcGBJOUujqob241tnxqqfnSTiE5gteoea1zy1P9jVMxBoTIfQmc/pZrgcZCEl6SSrB/n KVWnyQZ4Ldbdn1sLrQ59EhHuJYIS2oioNHlSpjGOwX0zkzQ7bHP6eDxOCKRjMJtnTRC3 7PUaTBtYPRj9JxwWykxKGg9Cho94/wXZjsm4hPnCLU+oIe4zX9jjMSKBHXO8gou65on8 920Q== X-Gm-Message-State: APjAAAWfPcPc0WeAz780g/Hjg8ueVsH3gUR0KbYjOsG67Px8vu2ds28q NfcIcfsf+gv4regIJtsGb80I46Ay17g= X-Received: by 2002:a17:90a:5896:: with SMTP id j22mr1834444pji.126.1577141938465; Mon, 23 Dec 2019 14:58:58 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::36e9]) by smtp.gmail.com with ESMTPSA id c2sm526448pjq.27.2019.12.23.14.58.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Dec 2019 14:58:57 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Mon, 23 Dec 2019 14:58:45 -0800 Message-Id: <20191223225846.2277629-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191223225846.2277629-1-raj.khem@gmail.com> References: <20191223225846.2277629-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH 3/4] redis: Upgrade to 5.0.7 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 Remove an upstreamed patch Add patches to build with new glibc/gcc Drop atomic removal patch and link with libatomic when needed Signed-off-by: Khem Raj --- ...rn-definition-of-SDS_NOINIT-in-sds.h.patch | 27 +++++++ ...ed-stack-trace-generation-on-aarch64.patch | 45 ------------ .../redis/redis/GNU_SOURCE.patch | 19 +++++ .../redis/redis/remove-atomics.patch | 72 ------------------- .../redis/{redis_4.0.14.bb => redis_5.0.7.bb} | 23 +++--- 5 files changed, 58 insertions(+), 128 deletions(-) create mode 100644 meta-oe/recipes-extended/redis/redis/0005-Mark-extern-definition-of-SDS_NOINIT-in-sds.h.patch delete mode 100644 meta-oe/recipes-extended/redis/redis/Fixed-stack-trace-generation-on-aarch64.patch create mode 100644 meta-oe/recipes-extended/redis/redis/GNU_SOURCE.patch delete mode 100644 meta-oe/recipes-extended/redis/redis/remove-atomics.patch rename meta-oe/recipes-extended/redis/{redis_4.0.14.bb => redis_5.0.7.bb} (84%) -- 2.24.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-extended/redis/redis/0005-Mark-extern-definition-of-SDS_NOINIT-in-sds.h.patch b/meta-oe/recipes-extended/redis/redis/0005-Mark-extern-definition-of-SDS_NOINIT-in-sds.h.patch new file mode 100644 index 0000000000..4675687c3f --- /dev/null +++ b/meta-oe/recipes-extended/redis/redis/0005-Mark-extern-definition-of-SDS_NOINIT-in-sds.h.patch @@ -0,0 +1,27 @@ +From 7f7f710c8821b7254baeaf945ca3ca263b9845e2 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 21 Dec 2019 11:17:50 -0800 +Subject: [PATCH] Mark extern definition of SDS_NOINIT in sds.h + +This helps avoiding multiple definition of this variable, its also +defined globally in sds.c + +Upstream-Status: Pending +Signed-off-by: Khem Raj +--- + src/sds.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/sds.h b/src/sds.h +index 1bdb60d..adcc12c 100644 +--- a/src/sds.h ++++ b/src/sds.h +@@ -34,7 +34,7 @@ + #define __SDS_H + + #define SDS_MAX_PREALLOC (1024*1024) +-const char *SDS_NOINIT; ++extern const char *SDS_NOINIT; + + #include + #include diff --git a/meta-oe/recipes-extended/redis/redis/Fixed-stack-trace-generation-on-aarch64.patch b/meta-oe/recipes-extended/redis/redis/Fixed-stack-trace-generation-on-aarch64.patch deleted file mode 100644 index 82ca307391..0000000000 --- a/meta-oe/recipes-extended/redis/redis/Fixed-stack-trace-generation-on-aarch64.patch +++ /dev/null @@ -1,45 +0,0 @@ -From c8ca71d40bc51e255457cd4374dd45ec9ebf8ae1 Mon Sep 17 00:00:00 2001 -From: Jun He -Date: Mon, 3 Jul 2017 07:18:32 +0000 -Subject: [PATCH] Fixed stack trace generation on aarch64 - -Change-Id: I9801239c98cb7362ed07e8b9ec2ba7e45749dba7 -Signed-off-by: Jun He - -* fixes also this error when building with -Werror=return-type: - debug.c:698:1: error: no return statement in function returning non-void [-Werror=return-type] - -Upstream-Status: Backport [https://github.com/antirez/redis/commit/c8ca71d40bc51e255457cd4374dd45ec9ebf8ae1] - -Signed-off-by: Martin Jansa ---- - src/Makefile | 2 +- - src/debug.c | 2 ++ - 2 files changed, 3 insertions(+), 1 deletion(-) - -diff --git a/src/Makefile b/src/Makefile -index 24e960593eb..a1ff4258a9d 100644 ---- a/src/Makefile -+++ b/src/Makefile -@@ -40,7 +40,7 @@ - endif - - # To get ARM stack traces if Redis crashes we need a special C flag. --ifneq (,$(findstring armv,$(uname_M))) -+ifneq (,$(filter aarch64 armv,$(uname_M))) - CFLAGS+=-funwind-tables - endif - -diff --git a/src/debug.c b/src/debug.c -index a4caa49f285..c976d0ed919 100644 ---- a/src/debug.c -+++ b/src/debug.c -@@ -691,6 +691,8 @@ - return (void*) uc->uc_mcontext.sc_ip; - #elif defined(__arm__) /* Linux ARM */ - return (void*) uc->uc_mcontext.arm_pc; -+ #elif defined(__aarch64__) /* Linux AArch64 */ -+ return (void*) uc->uc_mcontext.pc; - #endif - #else - return NULL; diff --git a/meta-oe/recipes-extended/redis/redis/GNU_SOURCE.patch b/meta-oe/recipes-extended/redis/redis/GNU_SOURCE.patch new file mode 100644 index 0000000000..9a40d832f1 --- /dev/null +++ b/meta-oe/recipes-extended/redis/redis/GNU_SOURCE.patch @@ -0,0 +1,19 @@ +Define _GNU_SOURCE to get PTHREAD_MUTEX_INITIALIZER + +Fixes +| zmalloc.c:87:37: error: 'PTHREAD_MUTEX_DEFAULT' undeclared here (not in a function) +| 87 | pthread_mutex_t used_memory_mutex = PTHREAD_MUTEX_INITIALIZER; +| | ^~~~~~~~~~~~~~~~~~~~~~~~~ + +Upstream-Status: Pending +Signed-off-by: Khem Raj +--- a/src/zmalloc.c ++++ b/src/zmalloc.c +@@ -28,6 +28,7 @@ + * POSSIBILITY OF SUCH DAMAGE. + */ + ++#define _GNU_SOURCE + #include + #include + #include diff --git a/meta-oe/recipes-extended/redis/redis/remove-atomics.patch b/meta-oe/recipes-extended/redis/redis/remove-atomics.patch deleted file mode 100644 index 23b2f2aaf0..0000000000 --- a/meta-oe/recipes-extended/redis/redis/remove-atomics.patch +++ /dev/null @@ -1,72 +0,0 @@ -From c486455e0691f9915018b9d8b133200a6c61a3c5 Mon Sep 17 00:00:00 2001 -From: Alistair Francis -Date: Thu, 24 May 2018 09:58:42 -0700 -Subject: [PATCH] Remove atomics - -Based on this patch: -https://github.com/patrikx3/lede-redis/blob/master/redis/patches/010-redis.patch - -Signed-off-by: Alistair Francis ---- - deps/jemalloc/src/pages.c | 22 +--------------------- - src/atomicvar.h | 4 ++-- - 2 files changed, 3 insertions(+), 23 deletions(-) - -diff --git a/deps/jemalloc/src/pages.c b/deps/jemalloc/src/pages.c -index 83a167f6..8e82c78d 100644 ---- a/deps/jemalloc/src/pages.c -+++ b/deps/jemalloc/src/pages.c -@@ -147,27 +147,7 @@ pages_purge(void *addr, size_t size) - { - bool unzeroed; - --#ifdef _WIN32 -- VirtualAlloc(addr, size, MEM_RESET, PAGE_READWRITE); -- unzeroed = true; --#elif defined(JEMALLOC_HAVE_MADVISE) --# ifdef JEMALLOC_PURGE_MADVISE_DONTNEED --# define JEMALLOC_MADV_PURGE MADV_DONTNEED --# define JEMALLOC_MADV_ZEROS true --# elif defined(JEMALLOC_PURGE_MADVISE_FREE) --# define JEMALLOC_MADV_PURGE MADV_FREE --# define JEMALLOC_MADV_ZEROS false --# else --# error "No madvise(2) flag defined for purging unused dirty pages." --# endif -- int err = madvise(addr, size, JEMALLOC_MADV_PURGE); -- unzeroed = (!JEMALLOC_MADV_ZEROS || err != 0); --# undef JEMALLOC_MADV_PURGE --# undef JEMALLOC_MADV_ZEROS --#else -- /* Last resort no-op. */ -- unzeroed = true; --#endif -+ unzeroed = false; - return (unzeroed); - } - -diff --git a/src/atomicvar.h b/src/atomicvar.h -index 84a5bbc5..f9b563c2 100644 ---- a/src/atomicvar.h -+++ b/src/atomicvar.h -@@ -68,7 +68,7 @@ - * is reported. */ - // #define __ATOMIC_VAR_FORCE_SYNC_MACROS - --#if !defined(__ATOMIC_VAR_FORCE_SYNC_MACROS) && defined(__ATOMIC_RELAXED) && !defined(__sun) && (!defined(__clang__) || !defined(__APPLE__) || __apple_build_version__ > 4210057) -+#if defined(CONFIG_EDAC_ATOMIC_SCRUB) && !defined(__ATOMIC_VAR_FORCE_SYNC_MACROS) && defined(__ATOMIC_RELAXED) && !defined(__sun) && (!defined(__clang__) || !defined(__APPLE__) || __apple_build_version__ > 4210057) - /* Implementation using __atomic macros. */ - - #define atomicIncr(var,count) __atomic_add_fetch(&var,(count),__ATOMIC_RELAXED) -@@ -82,7 +82,7 @@ - #define atomicSet(var,value) __atomic_store_n(&var,value,__ATOMIC_RELAXED) - #define REDIS_ATOMIC_API "atomic-builtin" - --#elif defined(HAVE_ATOMIC) -+#elif defined(CONFIG_EDAC_ATOMIC_SCRUB) && defined(HAVE_ATOMIC) - /* Implementation using __sync macros. */ - - #define atomicIncr(var,count) __sync_add_and_fetch(&var,(count)) --- -2.17.0 - diff --git a/meta-oe/recipes-extended/redis/redis_4.0.14.bb b/meta-oe/recipes-extended/redis/redis_5.0.7.bb similarity index 84% rename from meta-oe/recipes-extended/redis/redis_4.0.14.bb rename to meta-oe/recipes-extended/redis/redis_5.0.7.bb index 7dc6f97115..b91575552d 100644 --- a/meta-oe/recipes-extended/redis/redis_4.0.14.bb +++ b/meta-oe/recipes-extended/redis/redis_5.0.7.bb @@ -7,26 +7,27 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3c01b49fed4df1a79843688fa3f7b9d6" DEPENDS = "readline lua ncurses" SRC_URI = "http://download.redis.io/releases/${BP}.tar.gz \ + file://redis.conf \ + file://init-redis-server \ + file://redis.service \ file://hiredis-use-default-CC-if-it-is-set.patch \ file://lua-update-Makefile-to-use-environment-build-setting.patch \ file://oe-use-libc-malloc.patch \ - file://Fixed-stack-trace-generation-on-aarch64.patch \ file://0001-src-Do-not-reset-FINAL_LIBS.patch \ - file://redis.conf \ - file://init-redis-server \ - file://redis.service \ -" + file://0005-Mark-extern-definition-of-SDS_NOINIT-in-sds.h.patch \ + file://GNU_SOURCE.patch \ + " -SRC_URI_append_mips = " file://remove-atomics.patch" -SRC_URI_append_arm = " file://remove-atomics.patch" -SRC_URI_append_powerpc = " file://remove-atomics.patch" - -SRC_URI[md5sum] = "96ae20ffd68b9daee24b702b754d89f3" -SRC_URI[sha256sum] = "1e1e18420a86cfb285933123b04a82e1ebda20bfb0a289472745a087587e93a7" +SRC_URI[md5sum] = "612ec43075a888bc8b8a7dd8ccb2e0f7" +SRC_URI[sha256sum] = "61db74eabf6801f057fd24b590232f2f337d422280fd19486eca03be87d3a82b" inherit autotools-brokensep update-rc.d systemd useradd FINAL_LIBS_x86_toolchain-clang = "-latomic" +FINAL_LIBS_mips = "-latomic" +FINAL_LIBS_arm = "-latomic" +FINAL_LIBS_powerpc = "-latomic" + export FINAL_LIBS USERADD_PACKAGES = "${PN}" From patchwork Mon Dec 23 22:58:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 182420 Delivered-To: patch@linaro.org Received: by 2002:a92:a146:0:0:0:0:0 with SMTP id v67csp983720ili; Mon, 23 Dec 2019 14:59:32 -0800 (PST) X-Google-Smtp-Source: APXvYqwZNX8NnTTc4ZCKPj60MABBmBLwXKGwJDXj2vr3cEgn5/C1R+o58AXOnVwl/jElNua6OKLh X-Received: by 2002:a63:1945:: with SMTP id 5mr34674865pgz.310.1577141972765; Mon, 23 Dec 2019 14:59:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577141972; cv=none; d=google.com; s=arc-20160816; b=pnrbGQOrYRfFXm5Oj1oKFlr2i/5vGb+yjLGJhPVkcfXGq59LRTI9uMhNHIZsMj6VDu EMtzeACtvzAGJkfj+eaG8UBZuqLWfRMmGrUvTBle8V71jtCborqC8bnQDRNKQ7DvFQvI 3X5XsbKw28uI4Oz70kCp358SmiSBH2LhaJ9e11m2zyc0ZN8J4gBUVZlOnh3F578AcrBJ 1F5FiRKfw+/UjLeOVTw+LrNSN70c0b1DmXoWaVWnDsCPbYkN39GpLtOm8y3t9lpxqNgP s/lmNvB+Tl7Zc+T0wmy1QgtF3DrdUABgmWtC4Cu+d8aMNhKdT39FuWaTe3pT7x/F+JJH rZAw== 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=h1t+lxbSA+xIpfDLV+lpSCFE/wXbx09zwPXIPpVBMqE=; b=bo/y+gDRHeewMAv7jCQ2aklLyjsW2djH+yEkxY74OtXdoX+wBH5XUIqpxhHJBqdaDB QofP+ty+dewr0hTDsJlymUE0q4wSOVWRMVIgYTK6eVFDoTdf05aOtQr7zDGq/c/SnIZx XrCcezZjlcYeeWjZH7P4UwO25DvP2AnGkwCQ/7kddocMFlpKz3FLSEu2l58/mSRkGlFu mTBg46jdfkAzV/OKp0CPbPbsA3nMi0mGfFftcNY3AB9e5OlxFimXDxpVVacoRzXIJjlc aZmnlA0n1GQ792UkDevhiQPjfuYyTVlNJBo1BkSwSAU8AJvJeXYnBaBSAfmyL9DlZDbk FkwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=bVpL8Tbv; 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 n6si18576099pgt.149.2019.12.23.14.59.32; Mon, 23 Dec 2019 14:59:32 -0800 (PST) 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=bVpL8Tbv; 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 BDFE47FC5A; Mon, 23 Dec 2019 22:59:18 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by mail.openembedded.org (Postfix) with ESMTP id 567227FBCA for ; Mon, 23 Dec 2019 22:58:58 +0000 (UTC) Received: by mail-pf1-f182.google.com with SMTP id i23so4430221pfo.2 for ; Mon, 23 Dec 2019 14:58:59 -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=/PdSnbn5SBwgHrH6zPmhuM2wGXL0E6gmQ9dCgcGHAz8=; b=bVpL8TbvvVo6AQidaiUvPm6xJbDc5vwOs2K+Cfk0GuPDp7HsZ5iFNAt/RM7alf3FBh K/ZBasGSWui10wvBwk9B8YqIH9CuvSffZ5TUSCSkPK8FiNhrDv1dwx9a1TqGWBXW61Jt TPRG2OqZpQt+bXzm3eKQUcsXj+QjcmusG6d2Ei3LMsFcMPNC/vE7ly8JzBLVGeEmK4BJ 6lNYBkT2Cxgz5QaxIjpgm/ncFDHqVih8IFEeQNjxun91rVphXccN9ffqg04M7bCctjWq fCDSPFeO2gEsItEWZ5or9B6kXme5YRfdggzIMQnTX3snb/5iFi/ltyyeOBzjTM1r0oSF sm+Q== 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=/PdSnbn5SBwgHrH6zPmhuM2wGXL0E6gmQ9dCgcGHAz8=; b=X6e/j9RmgFBmwqHhJhatuiLtdiZBxKYgjwUGHzAVOR/IuoXu8SQOw2Hx1xoF4PfdcR g2AovqiyRgtdL/v09rNO8VEUFEqKlU5NjnBmNHQRKXBxkINgkmAcf5pfwfSo4APPWJod nnjyMbFQeIHOiBHRtBXo3Czs6zw4XABp0KJcwiSAI0FIiabWxSDFwk60vJGssRiO4mo8 GYFnB//FyJTdmWWUATNyC6jjuXjIHV9BY/xaMz+ZuIIWR60Dxa0oH5+jiT1OCDOuAqr3 6D4PeE9NTnBpJ7SiphAgewLgwZTNln/XoGnNbXL0wc3F9otk0mM9q1SxW0KXLwFFdOJV rXFg== X-Gm-Message-State: APjAAAUlmT3vC2Md0a6g8ALx5ahk9vX1jk3ZiKQBJtFNuvHdgQBnUcEG G/eEO+E++V/t6az+Un8ABFkEV/YfZcQ= X-Received: by 2002:a63:554c:: with SMTP id f12mr34658635pgm.23.1577141939077; Mon, 23 Dec 2019 14:58:59 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::36e9]) by smtp.gmail.com with ESMTPSA id c2sm526448pjq.27.2019.12.23.14.58.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Dec 2019 14:58:58 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Mon, 23 Dec 2019 14:58:46 -0800 Message-Id: <20191223225846.2277629-4-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191223225846.2277629-1-raj.khem@gmail.com> References: <20191223225846.2277629-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-networking][PATCH 4/4] cannelloni: Include stdexcept for runtime_error 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 Fixes error: 'runtime_error' is not a member of 'std' throw std::runtime_error("Allocation error."); ^~~~~~~~~~~~~ Signed-off-by: Khem Raj --- ...-missing-stdexcept-for-runtime_error.patch | 32 +++++++++++++++++++ .../cannelloni/cannelloni_git.bb | 1 + 2 files changed, 33 insertions(+) create mode 100644 meta-networking/recipes-connectivity/cannelloni/cannelloni/0002-include-missing-stdexcept-for-runtime_error.patch diff --git a/meta-networking/recipes-connectivity/cannelloni/cannelloni/0002-include-missing-stdexcept-for-runtime_error.patch b/meta-networking/recipes-connectivity/cannelloni/cannelloni/0002-include-missing-stdexcept-for-runtime_error.patch new file mode 100644 index 0000000000..55f28dd672 --- /dev/null +++ b/meta-networking/recipes-connectivity/cannelloni/cannelloni/0002-include-missing-stdexcept-for-runtime_error.patch @@ -0,0 +1,32 @@ +From 1788762863cd1f657697575f6e73a22e661ccb43 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 23 Dec 2019 10:32:54 -0800 +Subject: [PATCH 2/2] include missing for runtime_error +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Fixes +error: ‘runtime_error’ is not a member of ‘std’ + +Upstream-Status: Submitted [https://github.com/mguentner/cannelloni/pull/22] +Signed-off-by: Khem Raj +--- + parser.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/parser.cpp b/parser.cpp +index 4afb9e0..5bcdbde 100644 +--- a/parser.cpp ++++ b/parser.cpp +@@ -2,6 +2,7 @@ + + #include + #include ++#include + + void parseFrames(uint16_t len, const uint8_t* buffer, std::function frameAllocator, + std::function frameReceiver) +-- +2.24.1 + diff --git a/meta-networking/recipes-connectivity/cannelloni/cannelloni_git.bb b/meta-networking/recipes-connectivity/cannelloni/cannelloni_git.bb index cd893afb37..d4a62bd92d 100644 --- a/meta-networking/recipes-connectivity/cannelloni/cannelloni_git.bb +++ b/meta-networking/recipes-connectivity/cannelloni/cannelloni_git.bb @@ -4,6 +4,7 @@ LICENSE = "GPLv2" SRC_URI = "git://github.com/mguentner/cannelloni.git;protocol=https \ file://0001-Use-GNUInstallDirs-instead-of-hard-coding-paths.patch \ + file://0002-include-missing-stdexcept-for-runtime_error.patch \ " SRCREV = "82aa49b417b96fe46bb3f017ae1bfea928f20f9a"