From patchwork Sat May 12 03:07:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135616 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp1668810lji; Fri, 11 May 2018 20:08:12 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqvnUG6LF6065jNW3653GnfIzgskEpaQrzBFsQdPKJEgC2xz6vEVy6bqeyk/d0op5C3gWKj X-Received: by 2002:a17:902:9a9:: with SMTP id 38-v6mr741192pln.114.1526094492051; Fri, 11 May 2018 20:08:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526094492; cv=none; d=google.com; s=arc-20160816; b=v+MJkfoQpvsZ5aEKwxXjnjBnmOsXILRS78/AnjVThYXC27DfVLMlWoN9299PTWzrr5 FQJ4Il/o/vD+75BaJmcnxaL6wuYMk5p79AYP/awSnVShmLhP60YrCJsMrnirNP61uwpU +5aSLiqHbAsD3/63ydNz08mQsyraiWlz3H0tmyxocHx9YUqGhBLXd0BdVK4bWuOZbYkI SZOhpLofcDqgiRsnlfn59vo8aaIwDSDmXoy6W8lcaZFIXKlZTwn0mHzAjrAo1S0/xvvB x4S+vBHmIT83A7xHBvkklnekTeVXh5t7VkTPKJemHcxS9WSQmFHcK3My2kRM+BHLpEih 0DAg== 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:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=os7vKtLxd7rV7KUXwIcGnfFphzUB2oE4RFgyUitPqh0=; b=qDbHg7PejqSQu+IFNbUl/23yMnbgTbdRQfqz8RExLSOkS184JYbA4KPCQcv5SlDwHF tbWGxBEN/BDmDJJvpc0cx2lU7Lxt0Bh1C3rCrxt0hwFP5NNhRMn6Q6dTTm5H14Q3Rqvu t1AlVVSTELLKJp1r6Tg/wqFw7/Gf34VG/Fx1zyLQ6GByVr3CUQo0zWXA97RsuQHkXj+d r5WsFZXTOBvg1DQaD48tFTBouFD37fp4AexW7pYmR/4HFKAp+1mJ1uMjqFKOf7MM8al1 JlnLCO4e5bnr+McNZU+2HzrYU5j0y6jSkCF1aVMiuC44ZX5BU1qmnpkrNvTTiOgnb4Uu t8rQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=NhQNau6/; 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 s66-v6si3749528pgc.331.2018.05.11.20.08.10; Fri, 11 May 2018 20:08:12 -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=NhQNau6/; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 9BE4C78873; Sat, 12 May 2018 03:08:02 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf0-f172.google.com (mail-pf0-f172.google.com [209.85.192.172]) by mail.openembedded.org (Postfix) with ESMTP id 0D7417887A for ; Sat, 12 May 2018 03:08:00 +0000 (UTC) Received: by mail-pf0-f172.google.com with SMTP id c10-v6so3529174pfi.12 for ; Fri, 11 May 2018 20:08:02 -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; bh=K0H8xDBwXhUvZT5aRR5fPPT3CIldPAzbhX7fUvtuAkc=; b=NhQNau6/OsLgqFCYR3Quh0aJFmrhK9b8mExwRuMTMHa5aMvPdyRBNJb6n+JKEa61Cx Z7ub/ZxbBdUe+Zpkt1c8s+znRYRV9JZcoNNBniEYMUuu/VeCEa/iZURIqfR8hEHOOFAi XCfF9J2dwBJQsdHjQ3sb6FBZV6z6xniOYiS9PSHjLhile2woPVy9A1+SSgyLJYMIQ5Zq d0sthFUt4sL7395YFoQ71TlP1cTc7RDPczGyCgLcn7/ewEx38CPTSmJ3IBipj4H99LYp yrSZVnYyAJCIb/cSejn7Xbhdm1Z1a+537VC/QBxaYm1PrLM6z1VX6i6h5fwaLEpMPaU5 j4aw== 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; bh=K0H8xDBwXhUvZT5aRR5fPPT3CIldPAzbhX7fUvtuAkc=; b=MPUET7G+DDAI/0E1A1/Y5YDKaU/ps7mlwfj/vzlIivk9ONzddaQolVPYQSz4AiKAlk NgKISxm9W+sE0Dnc91k8HLE2vCJ5rNsTSn7PQ8GfTRL+g0MM4jAGdwpFQuQGeFBPtrps 7j4FnYIZsKyVXd7s5PnWqieUZivqI0TwwtnmUDFoMyo8eAr0Shmt/lcVqEnfgwFHcswP 0q6N/WfBfblkM2sBlc3UAV4BFs4aPZB7IA7QxMzlqlc1XGNGT1ZnAZh8vzjooqhUsbN8 fx6x/aPRM4VDv+fSDSdpAOgkmUdQZ5Uy5Fi5vvcDWtOZB0MmsFF+jJFZLDEvDCE1ZAYB nk4A== X-Gm-Message-State: ALKqPwcsGtJkoKTHYqJrvHAR33nCcO869+meN0OT2hDPL2UeHNlxEl3+ N9mMpdDIFxN4WorN4TNadjltKg== X-Received: by 2002:a62:1e02:: with SMTP id e2-v6mr1409223pfe.212.1526094481313; Fri, 11 May 2018 20:08:01 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id d4-v6sm6440933pgv.73.2018.05.11.20.08.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 May 2018 20:08:00 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Fri, 11 May 2018 20:07:51 -0700 Message-Id: <20180512030758.31409-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 Subject: [oe] [meta-networking][PATCH 1/8] netkit-rusers: Fix build when libc does not have nis builtin 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 Signed-off-by: Khem Raj --- .../0001-Link-with-libtirpc.patch | 79 +++++++++++++++++++ .../netkit-rusers/netkit-rusers_0.17.bb | 2 + 2 files changed, 81 insertions(+) create mode 100644 meta-networking/recipes-netkit/netkit-rusers/netkit-rusers/0001-Link-with-libtirpc.patch -- 2.17.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-networking/recipes-netkit/netkit-rusers/netkit-rusers/0001-Link-with-libtirpc.patch b/meta-networking/recipes-netkit/netkit-rusers/netkit-rusers/0001-Link-with-libtirpc.patch new file mode 100644 index 0000000000..55926468d9 --- /dev/null +++ b/meta-networking/recipes-netkit/netkit-rusers/netkit-rusers/0001-Link-with-libtirpc.patch @@ -0,0 +1,79 @@ +From 5746b68ba9dda87586b3ac88fe84031cbc0015f7 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Fri, 11 May 2018 12:20:03 -0700 +Subject: [PATCH] Link with libtirpc + +Signed-off-by: Khem Raj +--- +Upstream-Status: Pending + + configure | 2 +- + rpc.rusersd/rusers_proc.c | 7 +------ + rpc.rusersd/rusersd.c | 6 +----- + rup/rup.c | 2 +- + 4 files changed, 4 insertions(+), 13 deletions(-) + +diff --git a/configure b/configure +index 85f6ca6..2d2d4b7 100755 +--- a/configure ++++ b/configure +@@ -147,7 +147,7 @@ else + fi + + LDFLAGS= +-LIBS= ++LIBS="-ltirpc" + + rm -f __conftest* + +diff --git a/rpc.rusersd/rusers_proc.c b/rpc.rusersd/rusers_proc.c +index 9ae6306..f9e237c 100644 +--- a/rpc.rusersd/rusers_proc.c ++++ b/rpc.rusersd/rusers_proc.c +@@ -57,12 +57,7 @@ char rp_rcsid[] = + #define RUT_TIME ut_time + #endif + +-/* Glibc strikes again */ +-#ifdef __GLIBC__ +- #include +-#else +- #include "rusers.h" +-#endif ++#include "rusers.h" + + void rusers_service(struct svc_req *rqstp, SVCXPRT *transp); + +diff --git a/rpc.rusersd/rusersd.c b/rpc.rusersd/rusersd.c +index 762be9b..dd355ac 100644 +--- a/rpc.rusersd/rusersd.c ++++ b/rpc.rusersd/rusersd.c +@@ -38,11 +38,7 @@ char rusersd_rcsid[] = + #include + #include + #include +-#ifdef __GLIBC__ +- #include +-#else +- #include "rusers.h" +-#endif ++#include "rusers.h" + + #include "../version.h" + +diff --git a/rup/rup.c b/rup/rup.c +index e5669ff..887f89d 100644 +--- a/rup/rup.c ++++ b/rup/rup.c +@@ -48,7 +48,7 @@ char rcsid[] = "$Id: rup.c,v 1.8 2000/07/22 19:51:40 dholland Exp $"; + + #undef FSHIFT /* Use protocol's shift and scale values */ + #undef FSCALE +-#include ++#include "rstat.h" + + #include "../version.h" + +-- +2.17.0 + diff --git a/meta-networking/recipes-netkit/netkit-rusers/netkit-rusers_0.17.bb b/meta-networking/recipes-netkit/netkit-rusers/netkit-rusers_0.17.bb index a7d19182cf..113f89b7f5 100644 --- a/meta-networking/recipes-netkit/netkit-rusers/netkit-rusers_0.17.bb +++ b/meta-networking/recipes-netkit/netkit-rusers/netkit-rusers_0.17.bb @@ -9,6 +9,7 @@ DEPENDS = " tcp-wrappers libtirpc rpcbind" SRC_URI = "http://http.debian.net/debian/pool/main/n/${BPN}/${BPN}_${PV}.orig.tar.gz;name=archive \ http://http.debian.net/debian/pool/main/n/${BPN}/${BPN}_${PV}-8.diff.gz;name=patch8 \ file://rpc.rusersd-Makefile-fix-parallel-build-issue.patch \ + file://0001-Link-with-libtirpc.patch \ " SRC_URI[archive.md5sum] = "dc99a80b9fde2ab427c874f88f1c1602" @@ -25,6 +26,7 @@ do_configure () { ./configure --prefix=${prefix} echo "LDFLAGS=${LDFLAGS}" >> MCONFIG echo "USE_GLIBC=1" >> MCONFIG + echo "LIBS=${LIBS}" >> MCONFIG } do_install () { From patchwork Sat May 12 03:07:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135617 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp1669126lji; Fri, 11 May 2018 20:08:45 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpr2V8Ur2czqIrEPW5eVJ51Ns6MPpw44zdMd3IKZ0fazWZkT2orOh1dyhS0JPAeE492KCC+ X-Received: by 2002:a62:4a88:: with SMTP id c8-v6mr1399311pfj.23.1526094524885; Fri, 11 May 2018 20:08:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526094524; cv=none; d=google.com; s=arc-20160816; b=TGDfLmuS6aV05B3imbNkTh/mkYz7Zl/i+ZhF+PrjD3C51o/ZrOG8i+6sKLJi8Fj75p UAZC5tZgW9F+7gMgPCpjoPZp7MZwdE2pvO+jEEENIoTWfg1dl62YOEj32SU4ttia2w9c 4XF2ZUxSRwpmxsgAlAoQ1Ws30071ybjNuosIEPuRJGcts4IFlCYyHJKZ4UcMjzqQm07V Xcw+qaPHc3fwx487DAYchMFKnVuSSyOW+Xqk9V/BMbIi/QQMjddo/MZayLeTVbU0XatP RwkSZgcya42lLi1OrdQ7gd8tmTr0t4zEjOiqNLwOAWQddTLtLU6bUs4m/9+DnC/OfS8k nCeg== 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=m0D5yzI0HCkLs1zd6Wl9LSj5U2M7FlcaR6V05s7IWWw=; b=qQj8+vY1yYD/ApmwyTog2fEDFUJduNWDLedH9tglNhK5yi4Lzsueg1g7wsH+JP7B/G kFSE6TalPS+nmxLr0w6jPaTLHeyQq3Yayviehe+dwN6uEgTM8ztgK558zTXG30C16aYu FGoyfDqEAUi1rpJsJlaJc8CrMckc4e3yvCVh4TxN5RSs7Y16SoySIEvZWniAIU3BMgKf HNeEMOUi6oUUF8CRiZOFymEMs1xX2St2OP//ZXReCjOP4uSl3YoW5U7+uEtRBoHoNnmD wjEoDtpXlwj4wX9DMElP3IhLonFWNItOeOMPBDazjU0fOq40wW+BBrI2Yf+M8WAglILA ZnQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=ke06S6Kv; 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 j18-v6si3534608pgn.78.2018.05.11.20.08.44; Fri, 11 May 2018 20:08:44 -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=ke06S6Kv; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 6CE9E788C2; Sat, 12 May 2018 03:08:41 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg0-f66.google.com (mail-pg0-f66.google.com [74.125.83.66]) by mail.openembedded.org (Postfix) with ESMTP id 78EFA7887A for ; Sat, 12 May 2018 03:08:01 +0000 (UTC) Received: by mail-pg0-f66.google.com with SMTP id n1-v6so3182803pgs.2 for ; Fri, 11 May 2018 20:08:02 -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=ijMj/cKxjpTKMlggrVXwayx9bBWjjRsIUCuM5thVHJg=; b=ke06S6KvURW1dpygmq61SwFnqqBqX5gLDi3bxThQvV9TCnrkRFyyaBpOvyxaL28W9q HirQYoBizPkiBAAYuc89+RjqWg4e6DxsV52twOnvyjQop8CkW9GCncPFRF6iUfmOPT0e KWgyAPeioz3V99bLksu+ezUR6p8lv4BAPDMEM0E6pjDadSjML+XA5lrJBoUaKbF7nwMD o831i6yJ6I53qL38Z+lpPT7Ix00hetPG0t18cqgZL/CPcOoExNZVopNZTpaKV8cJDk3t CRX+ckwsjtHchtF6sGyJIp5rrogG/O4CXmnBovv12J3lnzXB/8+WCL2wBvEM9oTQwDAj 75dw== 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=ijMj/cKxjpTKMlggrVXwayx9bBWjjRsIUCuM5thVHJg=; b=EPnFgFmu87XoHsY8slbGHw/W2mHJ1l2bghfi/DJyIH9HjFzWhBHm0C27UToReq4cbD ZxXt0T5GcbOa+mXSUuLzSm8Rst4ryfpVLhchSzwouCidODMNOeglA2uvFmOcuha77YG/ fhIkyF9zd9/nAtO8NJpZRJtAhe1KMdLYhDfzpISPdLzyIUmQBb39dn0dUiEM9cqCadqx HTQ/ukHJ4WZvYb7SQ+my5KYgoBaPc/+4/w08x2RHRasjEgkrQ389r0Tt+teM6dXZYg7W 7ZC60A9hyk1rtW7ewbeEpk8ms/+wPtbzFVNlHl9juYKHmwJKUMAbGVwd+s1Ea6HHcR1X OiSg== X-Gm-Message-State: ALKqPwcq+GMtz9l9zXadBlCZW1CgPS2gnaPLk81ACQ4JQif7rNlexe1x jZnnTyADd4tr9G7XMsvU/haSWw== X-Received: by 2002:a62:5b02:: with SMTP id p2-v6mr1396737pfb.96.1526094482140; Fri, 11 May 2018 20:08:02 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id d4-v6sm6440933pgv.73.2018.05.11.20.08.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 May 2018 20:08:01 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Fri, 11 May 2018 20:07:52 -0700 Message-Id: <20180512030758.31409-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180512030758.31409-1-raj.khem@gmail.com> References: <20180512030758.31409-1-raj.khem@gmail.com> Subject: [oe] [meta-gnome][PATCH 2/8] evince: Upgrade to 3.28.0 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 Signed-off-by: Khem Raj --- .../evince/{evince_3.24.0.bb => evince_3.28.0.bb} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename meta-gnome/recipes-gnome/evince/{evince_3.24.0.bb => evince_3.28.0.bb} (92%) -- 2.17.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-gnome/recipes-gnome/evince/evince_3.24.0.bb b/meta-gnome/recipes-gnome/evince/evince_3.28.0.bb similarity index 92% rename from meta-gnome/recipes-gnome/evince/evince_3.24.0.bb rename to meta-gnome/recipes-gnome/evince/evince_3.28.0.bb index c7ecf2ba5c..fe83c91fb1 100644 --- a/meta-gnome/recipes-gnome/evince/evince_3.24.0.bb +++ b/meta-gnome/recipes-gnome/evince/evince_3.28.0.bb @@ -3,7 +3,6 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=96f2f8d5ee576a2163977938ea36fa7b" SECTION = "x11/office" DEPENDS = "gtk+3 libsecret ${@bb.utils.contains('DISTRO_FEATURES','x11','gnome-desktop3','',d)} poppler gstreamer1.0-plugins-base orc adwaita-icon-theme intltool-native gnome-common-native" -PR = "r5" inherit gnome pkgconfig gtk-icon-cache gsettings gobject-introspection distro_features_check systemd @@ -13,8 +12,8 @@ SRC_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV} file://0001-help-remove-YELP-macro.patch \ file://0001-Add-format-attribute-to-_synctex_malloc.patch \ " -SRC_URI[archive.md5sum] = "3fb65ff46de191dc49c481f1fc66201c" -SRC_URI[archive.sha256sum] = "043895af7bbd6f1b57f9ab8778e78cf9c0af5dfcc347eaa94a17bf864c04dc8f" +SRC_URI[archive.md5sum] = "96f8372c376e7062bc3b833099f6664f" +SRC_URI[archive.sha256sum] = "fa23264b65e140afb8ec27b070a277bda748d9d4a86788240d9f3514346573a8" EXTRA_OECONF = " --enable-thumbnailer \ " @@ -53,6 +52,7 @@ PACKAGES =+ "${PN}-browser-plugin" FILES_${PN} += "${datadir}/dbus-1 \ ${datadir}/appdata \ + ${datadir}/metainfo \ ${datadir}/thumbnailers \ ${systemd_unitdir}/systemd/user/evince.service \ " From patchwork Sat May 12 03:07:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135618 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp1669184lji; Fri, 11 May 2018 20:08:51 -0700 (PDT) X-Google-Smtp-Source: AB8JxZogZZl4vY+f+gCY0640bGWt22sjyUhabV3Mx7ELWKIDEM5yqn3Z1Og2e6E8wfR0Un3abNbn X-Received: by 2002:a17:902:144:: with SMTP id 62-v6mr728863plb.202.1526094531810; Fri, 11 May 2018 20:08:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526094531; cv=none; d=google.com; s=arc-20160816; b=0nE374T1UtQsR/ILjYzmymU19mm0rzfTsKyUnYXtVSGYT+5A5CIAZBVNFS8pppbuiK +1zDoOLmDR3xe6lFe5Wy5JeCAu3V/eEcghaxSCXPz9iZ7c2SNWUwRGZKtGxfFZcnZWHX qllq22x1m4hhpV37jE6wNIitDp0+6GzkW8VGdbjyF20TDHU6TGksQH5lNaDY29oAm7Hx 5HNdONFBTxWNg4qY6/tsX8yOUv38bp/HNECwUnYrE7/y1k3GqMFG8gsAq9vaqL3Vi2Yl jywE+07VO2xyK0m0Ws44w+/6Z/xLh66TzmssjTzMalNpSmRLgr659ZMiY4qsrBlrrkZo E2tA== 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=g6MorsZz39n7gZzhu82mJJK0wcDwlMGZh1QgtV+UZio=; b=FJjTIhn49k6VuNAw4bIyySsuritGHGgGiy33x31s7oKqxwDroskL8Twe2WvxP1/ckD r1VsXxJdOoCa+GkiYCKbnqbK0hFLPUj+I0cLzOfqRmifTTrazncEC2SbSM/pVqtVesRd flCaTGHLDe6IMynHiexxvNWd2zLW28IP/P/y2aA3oADBFedjI1Lbw8eS4q1yDKiSjYTg crxtA8CL20tAZcMzOUIeDxooF2hIyqfFvVQeg+HsVf2kca+h28KQHzDnv1MjAPmnIYgE 5ZGGlPRtFYxHKyx6sta9c+YjbLNR53GR4Kv0dkyMoHGM0wTltoVmOZYljh8oRBFPF1Gn 9EhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=IDTn9Gr/; 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 r11-v6si3555901pgp.235.2018.05.11.20.08.50; Fri, 11 May 2018 20:08:50 -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=IDTn9Gr/; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 81002788CC; Sat, 12 May 2018 03:08:42 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pl0-f66.google.com (mail-pl0-f66.google.com [209.85.160.66]) by mail.openembedded.org (Postfix) with ESMTP id D91FF788B6 for ; Sat, 12 May 2018 03:08:02 +0000 (UTC) Received: by mail-pl0-f66.google.com with SMTP id v24-v6so4281579plo.3 for ; Fri, 11 May 2018 20:08:03 -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=gdZvURf4hOPkS66z1eqZXZyy4Hppd0pMsfGSdjloI84=; b=IDTn9Gr/DnSyaCMrHvbJ0HqdLfwI9lCIS4lLqwUZawE58QyStrq9S5OcT+7vS5+UJv /VTNi9qr0VWiPOq6qgkuTZXSCVG/VLUNbwOg4A1RBPVV2haObYrlYiY/o3s3ccCxgQ3Y kvNPFIWaLsxm5PKP4jNofL74BR7B02creQsprd7O2DToQtsw0BM3h4FjYsOv0lKCXu16 Ho84/XczyXAF7kWOr4QdEImhXFnJlEZhXxUuZ4+2A3uKD0PTxTCEGaBKRgbhuL1monE4 DgdVD9wIUSKPpj2g9uDZlr+OCa7/AY7ydfVBryuy2SgsUMJkkGc3pRRnwpZny/4UWU4l 23Gg== 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=gdZvURf4hOPkS66z1eqZXZyy4Hppd0pMsfGSdjloI84=; b=RtX/vnr0uvmbxDLsSVTpq4yUxb+qs1rTkPFWln5uIBZ3tyPCcbkhJ/J08pGPZTRWl3 D/M1oxRGvGNFTzGgIhhJ5RRU8bPGl+6EG7u2bkyqel3xAObhjvYfZcMBxLQSWC1yRyEq M1//WhaaBuIQtaYAsO3TL6ie9zCLVLjp0L90wf+Hk1CqPjBmpGklCqObnX/1h+WkYiv6 ILiqWUSU2I69vvlRi2v5wRBGfo1wAfCNUskJP4kNE/pWJbyl+8yvJ9pe7oycFoebyqBX jN0x9rLO+/qI0THoU9GE3oNlc9d0c89uyvgbCk+baNpgDCmLqYdZtEYXk/k8BSjQWcZZ vZzA== X-Gm-Message-State: ALKqPwdfrSySevB7yu5eK2eD/kDWNOR+YlsQ1X9OfglO1y3cZ6xVCkBO dxcuq793Myd+XZ2F5QGBjcRgIg== X-Received: by 2002:a17:902:a70b:: with SMTP id w11-v6mr715237plq.342.1526094483300; Fri, 11 May 2018 20:08:03 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id d4-v6sm6440933pgv.73.2018.05.11.20.08.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 May 2018 20:08:02 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Fri, 11 May 2018 20:07:53 -0700 Message-Id: <20180512030758.31409-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180512030758.31409-1-raj.khem@gmail.com> References: <20180512030758.31409-1-raj.khem@gmail.com> Subject: [oe] [meta-networking][PATCH 3/8] ipsec-tools: Disable gcc8 warnings 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 Signed-off-by: Khem Raj --- .../0001-Disable-gcc8-specific-warnings.patch | 86 +++++++++++++++++++ .../ipsec-tools/ipsec-tools_0.8.2.bb | 1 + 2 files changed, 87 insertions(+) create mode 100644 meta-networking/recipes-support/ipsec-tools/ipsec-tools/0001-Disable-gcc8-specific-warnings.patch -- 2.17.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-networking/recipes-support/ipsec-tools/ipsec-tools/0001-Disable-gcc8-specific-warnings.patch b/meta-networking/recipes-support/ipsec-tools/ipsec-tools/0001-Disable-gcc8-specific-warnings.patch new file mode 100644 index 0000000000..11a9103935 --- /dev/null +++ b/meta-networking/recipes-support/ipsec-tools/ipsec-tools/0001-Disable-gcc8-specific-warnings.patch @@ -0,0 +1,86 @@ +From 282d492e4cab7b4d9c7321f4c0c55b615948e280 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Fri, 11 May 2018 14:09:17 -0700 +Subject: [PATCH] Disable gcc8 specific warnings + +Signed-off-by: Khem Raj +--- + src/libipsec/ipsec_dump_policy.c | 5 +++++ + src/libipsec/pfkey_dump.c | 5 +++++ + src/racoon/isakmp.c | 11 ++++++++++- + 3 files changed, 20 insertions(+), 1 deletion(-) + +diff --git a/src/libipsec/ipsec_dump_policy.c b/src/libipsec/ipsec_dump_policy.c +index 4d0eb77..c3fc842 100644 +--- a/src/libipsec/ipsec_dump_policy.c ++++ b/src/libipsec/ipsec_dump_policy.c +@@ -275,6 +275,10 @@ ipsec_dump_policy1(policy, delimiter, withports) + return buf; + } + ++#pragma GCC diagnostic push ++#if defined(__GNUC__) && (__GNUC__ >= 8) ++#pragma GCC diagnostic ignored "-Wformat-truncation" ++#endif + static char * + ipsec_dump_ipsecrequest(buf, len, xisr, bound, withports) + char *buf; +@@ -419,3 +423,4 @@ set_address(buf, len, sa, withports) + + return buf; + } ++#pragma GCC diagnostic pop +diff --git a/src/libipsec/pfkey_dump.c b/src/libipsec/pfkey_dump.c +index 4627ebc..451e535 100644 +--- a/src/libipsec/pfkey_dump.c ++++ b/src/libipsec/pfkey_dump.c +@@ -691,6 +691,10 @@ str_ipport(sa) + /* + * set "/prefix[port number]" to buffer. + */ ++#pragma GCC diagnostic push ++#if defined(__GNUC__) && (__GNUC__ >= 8) ++#pragma GCC diagnostic ignored "-Wformat-truncation" ++#endif + static char * + str_prefport(family, pref, port, ulp) + u_int family, pref, port, ulp; +@@ -735,6 +739,7 @@ str_prefport(family, pref, port, ulp) + + return buf; + } ++#pragma GCC diagnostic pop + + static void + str_upperspec(ulp, p1, p2) +diff --git a/src/racoon/isakmp.c b/src/racoon/isakmp.c +index 7ff53a3..4addf24 100644 +--- a/src/racoon/isakmp.c ++++ b/src/racoon/isakmp.c +@@ -3124,7 +3124,12 @@ script_hook(iph1, script) + #endif + + /* local address */ ++#pragma GCC diagnostic push ++#if defined(__GNUC__) && (__GNUC__ >= 8) ++#pragma GCC diagnostic ignored "-Wstringop-truncation" ++#endif + GETNAMEINFO(iph1->local, addrstr, portstr); ++#pragma GCC diagnostic pop + + if (script_env_append(&envp, &envc, "LOCAL_ADDR", addrstr) != 0) { + plog(LLV_ERROR, LOCATION, NULL, "Cannot set LOCAL_ADDR\n"); +@@ -3138,8 +3143,12 @@ script_hook(iph1, script) + + /* Peer address */ + if (iph1->remote != NULL) { ++#pragma GCC diagnostic push ++#if defined(__GNUC__) && (__GNUC__ >= 8) ++#pragma GCC diagnostic ignored "-Wstringop-truncation" ++#endif + GETNAMEINFO(iph1->remote, addrstr, portstr); +- ++#pragma GCC diagnostic pop + if (script_env_append(&envp, &envc, + "REMOTE_ADDR", addrstr) != 0) { + plog(LLV_ERROR, LOCATION, NULL, diff --git a/meta-networking/recipes-support/ipsec-tools/ipsec-tools_0.8.2.bb b/meta-networking/recipes-support/ipsec-tools/ipsec-tools_0.8.2.bb index 5cbeb15ad5..020903d82f 100644 --- a/meta-networking/recipes-support/ipsec-tools/ipsec-tools_0.8.2.bb +++ b/meta-networking/recipes-support/ipsec-tools/ipsec-tools_0.8.2.bb @@ -25,6 +25,7 @@ SRC_URI = "http://ftp.netbsd.org/pub/NetBSD/misc/ipsec-tools/0.8/ipsec-tools-${P file://0001-Fix-header-issues-found-with-musl-libc.patch \ file://0002-cfparse-clear-memory-equal-to-size-of-array.patch \ file://fix-CVE-2016-10396.patch \ + file://0001-Disable-gcc8-specific-warnings.patch \ " SRC_URI[md5sum] = "d53ec14a0a3ece64e09e5e34b3350b41" SRC_URI[sha256sum] = "8eb6b38716e2f3a8a72f1f549c9444c2bc28d52c9536792690564c74fe722f2d" From patchwork Sat May 12 03:07:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135619 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp1669277lji; Fri, 11 May 2018 20:08:59 -0700 (PDT) X-Google-Smtp-Source: AB8JxZohPjL0Y91WSt5+Rb1iJfbPWaLy744ccGGDhXutdDi7MrL+KIyY8VkJSNED0ySbaJw2gNs5 X-Received: by 2002:a62:ec18:: with SMTP id k24-v6mr1409229pfh.204.1526094538839; Fri, 11 May 2018 20:08:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526094538; cv=none; d=google.com; s=arc-20160816; b=x6n07SoAX8+OQ3t8JjWDE8Qf+Jg0H3bERm+Z5Kg4/1yJlSRGE243ORmkzuPcQM6jFb ocbNft5Zmrri5Q5Lc2fLYdROX05jJgG0uLtbhEYcy2HJYU4M4YNKoGo6NSi2het16V5R RPK6MwN82wVhC7XRSl6Rs+Z0EJDwD9AkV+gWMGKyIHh4GdTckHJtonSAf/Nlamv6KnPy IdZNarOgnOpyYQI9or1LBaourMduM7dNDxhirdwXqOQPJbBNb0jH78s1lrZacnoyirTk 1Yp8ttWboEPZNyzgteJIQicou4lGybEfzR9uBzWa3FQFdZWlCpIJvben1V2pCUIBouTI VUtQ== 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=AArmMVf/2wfLgO84dBQJq2ivpBMFWknIT78W46PzS+s=; b=froPSLy6uZrynOeUpMu4RlErQk91s7xvI+4h6VZZDSqIRxYYQxHddO0e+l7IrA0hbN lkkfL4WF3k41ipXXF92hIWS7ui3f2XmeBBcaDmtAlSWyojtA8gvqoIIK/VwXe1UhzA/C G+NdFubV01Cq0IsNFXDJtnS/103G7qyxu3k20f6/O++V1rTkeyuvgD0JJdgr8KDR8PtI A1hZQSuGhar4dcXwaT57oGPE/v4xS++eT77Y7tXPz4eLA3Dk99FXWRE6Dq/Z6Sq6VDSh ORMOJXHVeMgeEETPy4jkiWcMlDYY3wTNxZGu9Phq3d8q/PCcO/Iqc8w37voS7gzikZV5 ZZPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=kym2Z1Pa; 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 r87-v6si4665873pfg.305.2018.05.11.20.08.58; Fri, 11 May 2018 20:08:58 -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=kym2Z1Pa; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id B3F16788D4; Sat, 12 May 2018 03:08:43 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pl0-f53.google.com (mail-pl0-f53.google.com [209.85.160.53]) by mail.openembedded.org (Postfix) with ESMTP id 418397887A for ; Sat, 12 May 2018 03:08:03 +0000 (UTC) Received: by mail-pl0-f53.google.com with SMTP id n10-v6so4276620plp.0 for ; Fri, 11 May 2018 20:08:05 -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=ScezCUW+tO0oKFZZ6EngBxlepwmdgO1oXSsRAssEpBU=; b=kym2Z1PaG4oMkVJNEow9PndzSGCXlb2NpR/e/EJEkx37n8/8+6K+wJM0ogtME3Y/03 qCr9mPILWVbD5l+pInUlKztovqaPSyfeOjuLHAF1gpxMVVwVKTs8anKW0xXWBdH4xAh4 OupbrFti9FNOuXPnlW5VNKvwZUBwcG1/kJ4STBbrgFmwStDvxFvgw03DY8aWFryD6HdT trkVVqqS3cYaN35U3QHWE4/Lqi2P2TqudDXWbfDKds/+nDn9K0bPH4bsDSfbGOZp14Qx 4+/MZD3SNKbQrP2qhIqqDh0iQtQzblZfQSXO2jgLrnK0bXSsnkURY6rWkurvJvdg1y6V Jm9w== 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=ScezCUW+tO0oKFZZ6EngBxlepwmdgO1oXSsRAssEpBU=; b=J9abEahAz4y6PJtEoxWfurprPy6dw0ylADLD7r+VM7TzsDX++xOVe61DaET2GfqJu4 0Sr3W3MgU7V6BO92gejoAeB/XYjng+Ifo/5/9G/bL2qXtvDq+kwP2ziMoPX+8gY3ehPY X4vNkiv0T2uTgHwEtNg5bVC3ms/ySg6W6ZacA9jRk3SYaL+m4Q0DE3CGHwfQAxY4RF57 ESWCpAP6Ux8p6PXNQSpLWPLNO1erv9RvNHrjgF2Wthfzx2JkAyZTtkBUZL4LLj/gBFuY j8h+32lorafv73LCupg8iaG8WNFt7O2I5tKGacQmhkwVf+F1HHtnKHAxyz3coNe00Je6 aVUA== X-Gm-Message-State: ALKqPwdoyY7GZhrFkBfKI2+CgJJy+IDL7NPHUmDU3aYbjldC/3dBXXph eqHwq/YKTdfRBgccQ8IInStPNQ== X-Received: by 2002:a17:902:988b:: with SMTP id s11-v6mr719785plp.304.1526094484565; Fri, 11 May 2018 20:08:04 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id d4-v6sm6440933pgv.73.2018.05.11.20.08.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 May 2018 20:08:03 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Fri, 11 May 2018 20:07:54 -0700 Message-Id: <20180512030758.31409-4-raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180512030758.31409-1-raj.khem@gmail.com> References: <20180512030758.31409-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 4/8] flashrom: Fix build with libusb 1.0.22 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 Signed-off-by: Khem Raj --- ...pi-Avoid-deprecated-libusb-functions.patch | 39 +++++++++++++++++++ meta-oe/recipes-bsp/flashrom/flashrom_1.0.bb | 1 + 2 files changed, 40 insertions(+) create mode 100644 meta-oe/recipes-bsp/flashrom/flashrom/0001-ch341a_spi-Avoid-deprecated-libusb-functions.patch -- 2.17.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-bsp/flashrom/flashrom/0001-ch341a_spi-Avoid-deprecated-libusb-functions.patch b/meta-oe/recipes-bsp/flashrom/flashrom/0001-ch341a_spi-Avoid-deprecated-libusb-functions.patch new file mode 100644 index 0000000000..df8028627a --- /dev/null +++ b/meta-oe/recipes-bsp/flashrom/flashrom/0001-ch341a_spi-Avoid-deprecated-libusb-functions.patch @@ -0,0 +1,39 @@ +From e5f68189ab3602b1042cc8423fd6a3a23abd5455 Mon Sep 17 00:00:00 2001 +From: Alex James +Date: Sat, 14 Apr 2018 22:59:57 -0500 +Subject: [PATCH] ch341a_spi: Avoid deprecated libusb functions + +libusb 1.0.22 marked libusb_set_debug as deprecated. For such versions +of libusb, use libusb_set_option instead. + +Change-Id: Ib71ebe812316eaf49136979a942a946ef9e4d487 +Signed-off-by: Alex James +Reviewed-on: https://review.coreboot.org/25681 +Tested-by: Nico Huber +Reviewed-by: David Hendricks +--- +Upstream-Status: Backport + ch341a_spi.c | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +diff --git a/ch341a_spi.c b/ch341a_spi.c +index 6eb2804..d880510 100644 +--- a/ch341a_spi.c ++++ b/ch341a_spi.c +@@ -444,7 +444,12 @@ int ch341a_spi_init(void) + return -1; + } + +- libusb_set_debug(NULL, 3); // Enable information, warning and error messages (only). ++ /* Enable information, warning, and error messages (only). */ ++#if LIBUSB_API_VERSION < 0x01000106 ++ libusb_set_debug(NULL, 3); ++#else ++ libusb_set_option(NULL, LIBUSB_OPTION_LOG_LEVEL, LIBUSB_LOG_LEVEL_INFO); ++#endif + + uint16_t vid = devs_ch341a_spi[0].vendor_id; + uint16_t pid = devs_ch341a_spi[0].device_id; +-- +2.17.0 + diff --git a/meta-oe/recipes-bsp/flashrom/flashrom_1.0.bb b/meta-oe/recipes-bsp/flashrom/flashrom_1.0.bb index 9eac876ba1..1c17246681 100644 --- a/meta-oe/recipes-bsp/flashrom/flashrom_1.0.bb +++ b/meta-oe/recipes-bsp/flashrom/flashrom_1.0.bb @@ -8,6 +8,7 @@ DEPENDS = "pciutils libusb libusb-compat" SRC_URI = "https://download.flashrom.org/releases/flashrom-${PV}.tar.bz2 \ file://sst26.patch \ file://0001-platform-Add-riscv-to-known-platforms.patch \ + file://0001-ch341a_spi-Avoid-deprecated-libusb-functions.patch \ " SRC_URI[md5sum] = "42d999990c735d88653627cefcc13b9a" SRC_URI[sha256sum] = "3702fa215ba5fb5af8e54c852d239899cfa1389194c1e51cb2a170c4dc9dee64" From patchwork Sat May 12 03:07:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135620 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp1669368lji; Fri, 11 May 2018 20:09:07 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr+L8WmgNjpILs4ConNLYCAiNhfpRZFJdpRYniwL+NnO7DGoq0H1R4FSMkNxjqnc1k/6o8A X-Received: by 2002:a63:9741:: with SMTP id d1-v6mr1332505pgo.447.1526094547180; Fri, 11 May 2018 20:09:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526094547; cv=none; d=google.com; s=arc-20160816; b=yH9thXNJ8G46Fgia8GjAeQpP0lI7kwkfzeWrvEayhs0NkvJ/d87lsSXa2vtE+XY4Qr UM7v5tpGg3lBDYWSPZB9jieEJydI2a0TjJa9WqPvqdQFZGe1SDdsJ/DQSlk/JoQWrrpW imy3wXj/hY9B/RoGB+RmPRqEmXZqztd4+KxjUKHu3ziiXyLk4j80Z/KSWRfvJ6TfDLzF vJjV6dXMG4O4jH/wRwEWK1zfhVlc/pZ73XZPxx3O45WhOkPQG5HARq64+mZfLerl6XsH ATKRYtJSSoxAA5KNaaOUg7VSPiAKSzhkqYAzGpgzi/i+AwS7SAUyS9Mi+nMhg6dmuE3w QCpw== 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=lyySCdkosfiUQ7hk7b5xizq+Ec7warCNLthlD7pa9lc=; b=BHuYWtXr6IGrHLPd+B8sn9pKm/FJEwAZuvX9VPwlkq1qSW/TDaLJlgUp2Hd13mHA8c plMkMtApLS4QDDmW94HilQWUJoTtEeCpBM3qrkOajJWGdm9AZtfvTGMVFGXM7dPEn++V B9i9svv6qTZzEkkUnIc0rBKeTRJQhNRr9Tnpxl0BppeCQYGuuh24vMJ8CX5n095vYYkT b120ctYPP4yFCvXFWlKPWBe5SR+2/JysVZcp0Q5Qq9QAvYRrtNKZe6wGvyOGRf48LVJQ 3UfFf+TIxHwpHGh5na0oRentlnhXMZCQ8SY6AjHeM8dysPHAspFDA4qUJFNU07//8Zz5 5RIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=MJjJz0nM; 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 y9-v6si3584782pgv.452.2018.05.11.20.09.06; Fri, 11 May 2018 20:09:07 -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=MJjJz0nM; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 6C65F788B6; Sat, 12 May 2018 03:08:50 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pl0-f68.google.com (mail-pl0-f68.google.com [209.85.160.68]) by mail.openembedded.org (Postfix) with ESMTP id 27D077888B for ; Sat, 12 May 2018 03:08:04 +0000 (UTC) Received: by mail-pl0-f68.google.com with SMTP id t12-v6so4274029plo.7 for ; Fri, 11 May 2018 20:08:06 -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=4xf6V6M5A85Fa2QW1IqCpAS3zAwa0JEq9zMeg5CYFt0=; b=MJjJz0nMyPACq3XAHlQi2Gy5e2UVPSLU5QryPdobYXfYUzcDMRYcV5xtFuL2JRRepZ RtFCrcsH5POlFupBlEhF7jQR35dWAjeNXsa9XATU5V24dWKXQhJYaj3gTnt0Z5c0DYrR 5HFEWQav3cGwKCYesJAUvuid4zRLelETXInJDQhoCZrdYZiyp5rWrYmMOsHCQ+eH7ULe aaUoo2vko4xYh6JzQgTZFxpSs48ruVdGx1apBpChzyZDmLSER0ksdEWMbZNhzJHuucGv SLk/lr+u737zwBfx/ZVqB0cHxXRLjR37AlD4o7grKdnhfc0NgkUgPhycT9i+ALlDDaIM yihg== 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=4xf6V6M5A85Fa2QW1IqCpAS3zAwa0JEq9zMeg5CYFt0=; b=s6c15EzUTvUvWPvZ3fhwa3M8+fflX4pDLC9KxTzADUJK+0xHau0IBAkEuf16bqyjKU CeCSEQsA+FOQj4wF22zltc69bMuFs/AkZHboy1MpZEemQFSs8BHU8DKCa22iFuAVZfgo Jk7LIb1EKAnJh/s3yH9Zjr9fTl22VJBmemjPQkMQxY2ubJeTbLjMSi1y389DyYDdVWTk z/sZE957bUcCMxkPMkjdxiYJGDNsAeljoGe+nMsqjdmueKoxoobYIAPDTz91/b87b/HC 9tUkxJzzPCC2UDtABvVAAC9bzecDL5Yes1yZvGcX0H5bgOibU0WWxvd838gQobzu5Gbd seoQ== X-Gm-Message-State: ALKqPwcBpvj6PYd6zaJDFTI/zLehAFL7D2OZJLChFIe4f9OzJFG39VPu WmmqYLkArtWKaIeczNkIrst8dQ== X-Received: by 2002:a17:902:7402:: with SMTP id g2-v6mr746023pll.246.1526094485778; Fri, 11 May 2018 20:08:05 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id d4-v6sm6440933pgv.73.2018.05.11.20.08.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 May 2018 20:08:04 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Fri, 11 May 2018 20:07:55 -0700 Message-Id: <20180512030758.31409-5-raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180512030758.31409-1-raj.khem@gmail.com> References: <20180512030758.31409-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 5/8] luajit: Dont use BUILD_LDFLAGS when compiling host binaries 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 BUILD_LDFLAGS add --dynamic-linker to point to uninative but some binaries in luajit are for 32bit build host, so even if your host has the needed runtime, it will fail to execute because uninative ldso doesn't know about multilib we get cyptic errors like | make[1]: execvp: host/minilua: Accessing a corrupted shared library | make[1]: *** [Makefile:610: host/buildvm_arch.h] Error 127 Switch to using git for SRC_URI, master is pointing to latest 2.0 stable, it gets us all the patches done since last 2.0.5 relases in 2017 Signed-off-by: Khem Raj --- meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) -- 2.17.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb b/meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb index 1d69b3c12c..3052eb0484 100644 --- a/meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb +++ b/meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb @@ -3,14 +3,14 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=10a96c93403affcc34765f4c2612bc22" HOMEPAGE = "http://luajit.org" -SRC_URI = "http://luajit.org/download/LuaJIT-${PV}.tar.gz \ +PV .= "+git${SRCPV}" +SRCREV = "02b521981a1ab919ff2cd4d9bcaee80baf77dce2" +SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http \ file://0001-Do-not-strip-automatically-this-leaves-the-stripping.patch \ file://clang.patch \ " -SRC_URI[md5sum] = "48353202cbcacab84ee41a5a70ea0a2c" -SRC_URI[sha256sum] = "874b1f8297c697821f561f9b73b57ffd419ed8f4278c82e05b48806d30c1e979" -S = "${WORKDIR}/LuaJIT-${PV}" +S = "${WORKDIR}/git" inherit pkgconfig binconfig siteinfo @@ -49,7 +49,6 @@ EXTRA_OEMAKE = "\ 'TARGET_SHLDFLAGS=${LDFLAGS}' \ 'HOST_CC=${BUILD_CC}' \ 'HOST_CFLAGS=${BUILD_CFLAGS}' \ - 'HOST_LDFLAGS=${BUILD_LDFLAGS}' \ \ 'PREFIX=${prefix}' \ 'MULTILIB=${baselib}' \ From patchwork Sat May 12 03:07:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135621 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp1669462lji; Fri, 11 May 2018 20:09:14 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo+0Hc3pG+TnRp1zMQ+7aRLfrzstEKzAtyj6Lp49fXcWM1ac+duidqWpgin0otBgBYJo2uy X-Received: by 2002:a17:902:5602:: with SMTP id h2-v6mr720008pli.115.1526094554195; Fri, 11 May 2018 20:09:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526094554; cv=none; d=google.com; s=arc-20160816; b=zxdraGRJwvztvlYvOPaAH6COSkvnQGsG7t1076B3sM+Iyl4Sl7IDyejb9C8xQh1ILL QfVbGfQnxQmr/DY7WsOeAxPay0lH40tQ+M1oGN88PPXjwGNPmSXQKzGQzwoFAntBIc2Z 7ai89nsa3bRVzRv4wrU4wy6jq8AeNKKKB+AWOlFOVrRb4yKMtS378GLFFrocXZy/oEkd BxqHmf0m0C7fYLdWtSSDfgkblTsY8oavMmMSF6rDRZ9Co8ABZF8mfce/jwvizPQEPmNh dEBn3g373aURcX9FvTtAsDVxLOPgpNen0y83xeR1GBBjbKcCaDoPhmNtktbmQvK3dPgi 5FwQ== 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=qK/JZmxy6eqgCy7mifCDuw5DtVyr7jXFoasAwQR/Ie8=; b=utFBNteiBla9mNudW/CRWOPv+lGjEiYKZaoB8ppQF5BZLMhOHTSrvbYsBLbUUkagTZ gF6zVVoUqDFBJvCKxJY39FAnSkiSfRagx1gd+P8uGVd2XJSlSSbvmNtfZA/KKhUgMCH+ i12kPq5qoBrd7MnnwxbebAjUwFFOVhRshlmwSbOsvvPhrxXIYH8XxAhN4TLO+exPEjiy Gj94SExN9Lp5eawYnKL6Rc0GBh8MM+yHKLOFBN7PE+FkXZwwsRSw7ZnoAXuvgg9VYwLa DoGydAB/jQ9i4J5Y3V/G6NDxsbvGVjz9BeWlsz6yqJ80QGNKN6tq4GUqdnwNd1fCPIg5 rfrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=sJeSwaYA; 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 i6-v6si4520849pfc.186.2018.05.11.20.09.13; Fri, 11 May 2018 20:09:14 -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=sJeSwaYA; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 86B4B788E3; Sat, 12 May 2018 03:08:51 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pl0-f65.google.com (mail-pl0-f65.google.com [209.85.160.65]) by mail.openembedded.org (Postfix) with ESMTP id 53A9A788AC for ; Sat, 12 May 2018 03:08:05 +0000 (UTC) Received: by mail-pl0-f65.google.com with SMTP id bi12-v6so4262523plb.12 for ; Fri, 11 May 2018 20:08:07 -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=PGgANP0QCY2EFQRAxXL7Z5mHn2UjeqZa51Cr6RXJlCg=; b=sJeSwaYAunq7/Ahtfz29CocaphoTzzmHqmm/OS4n9NZieNfnTj50pLZUw87NswMp23 Qeyg3Iy0AQjc8ERU50p8RnBkub6hfcPUv4qbnHHN05aZpfeyqTP0KUylCEWlowDumVas l4ZO41nNzoKpmMCfMUJLLNOOF9aDlqtx3HHJAIdDqXfjTCrvH37dHpKX+YuOY9z+7+Rg olC4egmKAa9InIqIlX0oPiuLDO+dQgRQlJac/ywz8+gqk/Cjntb5IwUeKpg0uVB0LiD/ 9u2kAFPBJzEFMKpiZ/+O4XgWlJnkbGV05DN89FDyrxwmlOCT9Ie8P8Jc/D1q4H7rKMLE O0kA== 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=PGgANP0QCY2EFQRAxXL7Z5mHn2UjeqZa51Cr6RXJlCg=; b=dMJqxrmA2RuKllpXx7YNSQKjHUoXXT4V/PX+/n/WtlvkCjR8ykWm5PoNAk1zK6ncIX 7v1YE1150bjBKEr3RSbh9hLJfkrJY1iC0NKKRn32sDR2yWx/RLDOWyqUlPA6y8A578Fm YO5BkHWh7FlSzLmJkyb6hTB2B4nnEQeYPF0JA96YLpX0glBzuozitL/oCp2/k0a4pEgc gARFefRUSILE64Z9Y9zH4Ml0J5YGo8G6B9X8i7eYtRpuR7AecADAiZZImDvD0Vsfy2kq IF9KHrAnadvzD5OBWNo8zxirFUYPTPNYr50UzxNwz9XntS2VpeTtOo0eydFnEKH1tPaA Un2Q== X-Gm-Message-State: ALKqPwdRN3UH01pcUlGYjq9WW72M4rMNpRUfBHLP71KlmDPxV9n1k9A/ QUtYUnvuFcCL8iH6YdStUr5y4g== X-Received: by 2002:a17:902:164:: with SMTP id 91-v6mr738173plb.134.1526094486926; Fri, 11 May 2018 20:08:06 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id d4-v6sm6440933pgv.73.2018.05.11.20.08.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 May 2018 20:08:05 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Fri, 11 May 2018 20:07:56 -0700 Message-Id: <20180512030758.31409-6-raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180512030758.31409-1-raj.khem@gmail.com> References: <20180512030758.31409-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 6/8] modemmanager: upgrade to 1.7.991 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 From: Martin Kelly This version has a ublox plugin for expanded modem support. The underlying issue that enum-conversion.patch fixes appears to already have been fixed upstream, so we can drop the patch. Signed-off-by: Martin Kelly --- .../modemmanager/enum-conversion.patch | 21 ------------------- ...nager_1.6.4.bb => modemmanager_1.7.991.bb} | 9 ++++---- 2 files changed, 4 insertions(+), 26 deletions(-) delete mode 100644 meta-oe/recipes-connectivity/modemmanager/modemmanager/enum-conversion.patch rename meta-oe/recipes-connectivity/modemmanager/{modemmanager_1.6.4.bb => modemmanager_1.7.991.bb} (88%) -- 2.17.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-connectivity/modemmanager/modemmanager/enum-conversion.patch b/meta-oe/recipes-connectivity/modemmanager/modemmanager/enum-conversion.patch deleted file mode 100644 index a3fb0f3eb8..0000000000 --- a/meta-oe/recipes-connectivity/modemmanager/modemmanager/enum-conversion.patch +++ /dev/null @@ -1,21 +0,0 @@ -Fixes errors found bt Clang - -| ../../ModemManager-1.6.4/src/mm-bearer-qmi.c:774:50: error: implicit conversion from enumeration type 'MMBearerStatus' to different enumeration type 'MMBearerConnectionStatus' [-Werror,-Wenum-conversion] -| MMBearerConnectionStatus bearer_status = mm_base_bearer_get_status (MM_BASE_BEARER (self)); -| ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -| 1 error generated. - - -Index: ModemManager-1.6.4/src/mm-bearer-qmi.c -=================================================================== ---- ModemManager-1.6.4.orig/src/mm-bearer-qmi.c -+++ ModemManager-1.6.4/src/mm-bearer-qmi.c -@@ -771,7 +771,7 @@ packet_service_status_indication_cb (Qmi - &connection_status, - NULL, - NULL)) { -- MMBearerConnectionStatus bearer_status = mm_base_bearer_get_status (MM_BASE_BEARER (self)); -+ MMBearerConnectionStatus bearer_status = (MMBearerConnectionStatus)mm_base_bearer_get_status (MM_BASE_BEARER (self)); - - if (connection_status == QMI_WDS_CONNECTION_STATUS_DISCONNECTED && - bearer_status != MM_BEARER_CONNECTION_STATUS_DISCONNECTED && diff --git a/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.6.4.bb b/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.7.991.bb similarity index 88% rename from meta-oe/recipes-connectivity/modemmanager/modemmanager_1.6.4.bb rename to meta-oe/recipes-connectivity/modemmanager/modemmanager_1.7.991.bb index e60cd4b741..4f94001690 100644 --- a/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.6.4.bb +++ b/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.7.991.bb @@ -11,11 +11,10 @@ inherit gnomebase gettext systemd vala gobject-introspection bash-completion DEPENDS = "glib-2.0 libgudev dbus-glib intltool-native" -SRC_URI = "http://www.freedesktop.org/software/ModemManager/ModemManager-${PV}.tar.xz \ - file://enum-conversion.patch \ -" -SRC_URI[md5sum] = "06488186c7dd53f8104183b86f7a1568" -SRC_URI[sha256sum] = "cdd5b4cb1e4d7643643a28ccbfc4bb354bfa9cb89a77ea160ebdf7926171c668" +SRC_URI = "http://www.freedesktop.org/software/ModemManager/ModemManager-${PV}.tar.xz" + +SRC_URI[md5sum] = "4efe6a240cef212bf8855c95424e7c7f" +SRC_URI[sha256sum] = "4e366243bd4983f2e6efe35cb901cf5da51939307b5d6299fe622a9fcf411745" S = "${WORKDIR}/ModemManager-${PV}" From patchwork Sat May 12 03:07:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135622 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp1669553lji; Fri, 11 May 2018 20:09:21 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrPnmm675dJpsIgfrgxF6HvEum4lRn+AtsNjmcnKYSDIMqjBJb/36mKIzPVOBHMCgturQEK X-Received: by 2002:a17:902:b087:: with SMTP id p7-v6mr696311plr.227.1526094561819; Fri, 11 May 2018 20:09:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526094561; cv=none; d=google.com; s=arc-20160816; b=Bnz2RQVD5pwqBrn03P9MgYFV3NRPNEbS/+FXE7GDY0S9Z5ytKuu9Wd7xgS3alE0ohb GUxYCqe/RkOzqp7fz8lxrIUxPJCeOI9WkQy1P05+QGj071NsJQAfRWwtKKoChEnGPQOA ait1oLrd0UBACnUt9l/ZT8sZOucoIMLb/WFETTTr+wcLzWlUWPUabqRIMKrUK26dmss8 YbcmPo+P+wFQebBGCWxt1E3EDuRxjr1NjYKTZxXsC6hutO8Gq4iSnKlQBceKCsmjO+8G VVb36BNolWhwz36Pyfb0ZfTV+jnh8vLjMZe+Nr5VAQZrwJtwI6m0bzVafkkSFl4Nz5BW N7cQ== 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=4y6eZLWm7J4kJYSrkiWvdw9SgBh9+4xJUOvaR6Ip0Qo=; b=PRIRfQ0kBQOAk4NTmFpiLcmjrmTlYH9jZL1Icb8FfYgPMJSscHT3N0bmJ6nZ+/c+yD ovIWm3cpisx/U1d3TCP3H0kSrEn9FVbAI9QbrhYspCrx5T5zY6IPibfyZIexGzCZOl8C heGOOZt6aD9DET7GXdwZqYcYuqQceRRTLtQFzt3qlzokVO0JVStF6K9Q0qtCXUbJCM7w /fkOuPQhWNjLf9vodW0jQA9zcbFYUXUrORlwWF0stnJA9wiCSAdXhLJ4bc+dFfnX+gEF 716RFqFy1i1eZ5nCO0gDvGsDyV1F/axVE7b405a1FDjxP/n9S0Z4whivpwb4ijbt8vpN BgDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=FPpmCGHu; 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 s1-v6si3639056pgb.281.2018.05.11.20.09.21; Fri, 11 May 2018 20:09:21 -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=FPpmCGHu; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id A071A788EF; Sat, 12 May 2018 03:08:52 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg0-f67.google.com (mail-pg0-f67.google.com [74.125.83.67]) by mail.openembedded.org (Postfix) with ESMTP id DB3FB7887A for ; Sat, 12 May 2018 03:08:07 +0000 (UTC) Received: by mail-pg0-f67.google.com with SMTP id p9-v6so3172410pgc.9 for ; Fri, 11 May 2018 20:08:09 -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=qLTZIkxSMX1O0TqF8ANTKP1fX/o8FlSpBw5xxt6cTuY=; b=FPpmCGHu5qs152ws8D393qd93H1BFhjEz4qLmhOJ7uRZZXD/dgstYEETtMKEsyiYBZ /0QCQp0E9VapNix5vAGJnYxNYIdxRRg5dbRldgi7p7JbFzXgy1BJ/QtqcQad5DCzLPzu 6v/tRkINaOxxENKnJ+p/7QpUtC/Eshf0Yg2Lo1VaKyLqpi/WDLflRtGsXQiD8GZvKxAq PfJkp9B3pRvwmpcXMRMqvQYfib6lD0mibvEFM6Ysx2Rae4JRCuwhoJH+DivZmf6rIjBF kdTmmZFqQ6zkShZtYxiLcs8/m2Pu16MokH/350VGysxg34pYi7GstJamFBob06LvTveu K80g== 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=qLTZIkxSMX1O0TqF8ANTKP1fX/o8FlSpBw5xxt6cTuY=; b=g6FCOCTy7WvXd+3WrKYr1K/aa15DWIjAltmWmPwWDIDMJ5xGuPobvIu3sB20pC4Ibs 7te8CFKcdRqmZm7RMHxrlqQuOU32Nq9R4k4yk7uT1nv0JoSjhKeH/ZS6HqZPS1P1Rh+4 gxqbvprm2ot8knpldcsuCrhPM++Hqs0DZE4Hcph2EjxMPu9bVU/6Nmjrm1DfbtkhzTaQ OeZh4GgdhKos+HHzGSXmb5xrk0Y5HdlYpwQ/7RpZirfqakDDU06HfiSkbKhD6aaNhcoG mP5E6y9Czg2uEhNZiLBY5XNYHPQMB3HOS6RW22BJI6ySklpJRxZ4cHVqc4b/OssKMwVU zXYg== X-Gm-Message-State: ALKqPwcwqCjB7nxT7WrNb19u+ay16nkIukm8DwSehMZHtBSuOBOfG/ec 8UhhfTstydxuCPin8F2RMEorXg== X-Received: by 2002:a65:628a:: with SMTP id f10-v6mr1359840pgv.6.1526094488022; Fri, 11 May 2018 20:08:08 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id d4-v6sm6440933pgv.73.2018.05.11.20.08.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 May 2018 20:08:07 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Fri, 11 May 2018 20:07:57 -0700 Message-Id: <20180512030758.31409-7-raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180512030758.31409-1-raj.khem@gmail.com> References: <20180512030758.31409-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 7/8] modemmanager: fix mbim disable string 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 From: Martin Kelly The current string used to disable mbim is "--enable-mbim=no", which is producing a warning. It should be "--with-mdim=no", so change it. Signed-off-by: Martin Kelly --- .../recipes-connectivity/modemmanager/modemmanager_1.7.991.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.7.991.bb b/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.7.991.bb index 4f94001690..b1a718dbfb 100644 --- a/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.7.991.bb +++ b/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.7.991.bb @@ -25,7 +25,7 @@ PACKAGECONFIG ??= "mbim qmi polkit \ PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,," PACKAGECONFIG[polkit] = "--with-polkit=yes,--with-polkit=no,polkit" # Support WWAN modems and devices which speak the Mobile Interface Broadband Model (MBIM) protocol. -PACKAGECONFIG[mbim] = "--with-mbim,--enable-mbim=no,libmbim" +PACKAGECONFIG[mbim] = "--with-mbim,--with-mbim=no,libmbim" # Support WWAN modems and devices which speak the Qualcomm MSM Interface (QMI) protocol. PACKAGECONFIG[qmi] = "--with-qmi,--without-qmi,libqmi" From patchwork Sat May 12 03:07:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135623 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp1669645lji; Fri, 11 May 2018 20:09:28 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrZ7rKvJYbsOldJELilSryUac5il3sfNBG6DJjThsBwPCAiTm4UjQGCj+ETUIw8P7jgYP3k X-Received: by 2002:a17:902:ea:: with SMTP id a97-v6mr722999pla.28.1526094568690; Fri, 11 May 2018 20:09:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526094568; cv=none; d=google.com; s=arc-20160816; b=YJWKsY90NnSZcJOUvKxv55F2MZQiPVFykNVo/CDtt2IZJK5UvRQ9PMtMwa9lv/6SM7 uR/H7o8fMzEmDZQZAiqxCN7sHOrTBdU9AWDS/2HcxPJi0NfPpVXmQPDabVMSQqoT2LM9 /sgiZJRAgIlwiYdPeq87Xa/NG3fiWTHo5a6qp4iY3fRDcTVG8BOJYLfmETugEyEHwC5c hj5keluUw7QvD6B6Cp1UHBwNDMBIRRvrBUOUXA9I6weRNy+08u95u4pR1kMaSQXvIIku KunxLOvoZTfBiDiulzrWPjRmMbB3fUMlaPjkx4qiscDkhbMAsAkABEDYV+oRnmp3LqV3 ledA== 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=+YejnORj6DmjNLcv5FTwvKu0Ns9RbCzdzyqU+1yOhFs=; b=vxfY6aTqt75EQizueOkGbjBJq8PbSg1y49uAV2E8aCCvb82cDy0QaQoG9c2SUI6WVp FcY2qMDyW46iB53IbXUFEq1yyNo6adV7YwqE+03apwecgLeuQ049COP6IGVtnxjYKk8Q k0vQ93w01ZsttsFgWIcWwE1qFJJPSa6HAwYInzZNmluA+fv2dMHJjioub87TcYXkcvO8 6okaJi8XV0UPBPJWeT8lzQ2x0TKcHPMsBFAek0PXkUDwyyWbHCc/cpsAdmN5ea/nKqJ+ +vne+MyH6sJsUJvbkwszC8wNO+503ah+pclQi6ByUdjvs+wANZkRlWRGtIri73kgLWEi UZrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=rGqy+DuB; 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 p80-v6si4664393pfi.345.2018.05.11.20.09.28; Fri, 11 May 2018 20:09:28 -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=rGqy+DuB; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id BD7CB788F4; Sat, 12 May 2018 03:08:53 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf0-f179.google.com (mail-pf0-f179.google.com [209.85.192.179]) by mail.openembedded.org (Postfix) with ESMTP id 8871878845 for ; Sat, 12 May 2018 03:08:08 +0000 (UTC) Received: by mail-pf0-f179.google.com with SMTP id w129-v6so3536575pfd.3 for ; Fri, 11 May 2018 20:08:09 -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=UyLDm8I0mvhRorATDUmAC8psH2pDUO1E70+Vxney+qE=; b=rGqy+DuBZ6K5t3DhcACZ7IVLj0VXGrfeMRNcYY3JIu6O29fW7MirzXmJL8ihr9Io8J rVO0oYb2yhWZhO9v1kze+IyMVjp2bbU23GOshi24UcJ5oRbMH+cde/aJuums0a9+1a1h kxLsXs02CHNNdcxGWRjG5+0BFO641vSioTka6UKZ6nx6oppzn8JsI6ivlk1Sp2RYV+NN dYfqTLGwS4jz9WzwYJHAlYm0Vu7iPXBkatBvwo9TMDx8hfECdIIxlLr2KRWZU+fh05pK /TJQuW+n/U2v01R1//aMKhgFXppBKdd0tyvxxQHdkhnkTdD+hDmniZ3p5A2D3ngZiRT6 7gtQ== 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=UyLDm8I0mvhRorATDUmAC8psH2pDUO1E70+Vxney+qE=; b=HsS6vhggmckFoPewUc1MDdiKDMv3qrpAi4T7g7pCKDqIZeiFmNQkDvoIYTsMSC0HdR sG0kw93HsJrc8Uplfn1Zp7wIhQGZ7jGmjSr+vGQ6IhuUyz9D/aPmAW3d10Kd7Q5/ipws Le+u0NXqnf650tnUGVJdhPAoNT5GC8Rwn+eESfORapTGu0S9ySMnXfTjakj8w+gITAZ6 j2bkUywaZrse8FPk0VzAnwD7g8AGlFUPj1v2zbeWs1F8YLgMZkWi6tSFYk+pTFUsWC3b lNvFGR7SikDdeTMuXuNpaUpOjPhy0cH8I80XF228G8rrTyrI6gDjAX104W1xJ5OSwcsj DaQA== X-Gm-Message-State: ALKqPwcHZWeW5bR9TdUsCJmYsMhVJvn5RJPMp51yVYJUwUQQVxbWjZku Qh+qHOz5oV6svKQC5F/amum7vA== X-Received: by 2002:a63:6bc7:: with SMTP id g190-v6mr1334587pgc.230.1526094488942; Fri, 11 May 2018 20:08:08 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id d4-v6sm6440933pgv.73.2018.05.11.20.08.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 May 2018 20:08:08 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Fri, 11 May 2018 20:07:58 -0700 Message-Id: <20180512030758.31409-8-raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180512030758.31409-1-raj.khem@gmail.com> References: <20180512030758.31409-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 8/8] rocksdb: Fix build with gcc8 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 Signed-off-by: Khem Raj --- ...Fix-GitHub-issue-3716-gcc-8-warnings.patch | 194 ++++++++++++++++++ meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb | 4 +- 2 files changed, 197 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-dbs/rocksdb/rocksdb/0001-Fix-GitHub-issue-3716-gcc-8-warnings.patch -- 2.17.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-dbs/rocksdb/rocksdb/0001-Fix-GitHub-issue-3716-gcc-8-warnings.patch b/meta-oe/recipes-dbs/rocksdb/rocksdb/0001-Fix-GitHub-issue-3716-gcc-8-warnings.patch new file mode 100644 index 0000000000..be498974af --- /dev/null +++ b/meta-oe/recipes-dbs/rocksdb/rocksdb/0001-Fix-GitHub-issue-3716-gcc-8-warnings.patch @@ -0,0 +1,194 @@ +From 8d65d70b54d1d306a0a0b00e036bc8ddd39d8ec1 Mon Sep 17 00:00:00 2001 +From: "przemyslaw.skibinski@percona.com" +Date: Fri, 20 Apr 2018 13:28:05 -0700 +Subject: [PATCH] Fix GitHub issue #3716: gcc-8 warnings + +Summary: +Fix the following gcc-8 warnings: +- conflicting C language linkage declaration [-Werror] +- writing to an object with no trivial copy-assignment [-Werror=class-memaccess] +- array subscript -1 is below array bounds [-Werror=array-bounds] + +Solves https://github.com/facebook/rocksdb/issues/3716 +Closes https://github.com/facebook/rocksdb/pull/3736 + +Differential Revision: D7684161 + +Pulled By: yiwu-arbug + +fbshipit-source-id: 47c0423d26b74add251f1d3595211eee1e41e54a +--- +Signed-off-by: Khem Raj +Upstream-Status: Backport [https://github.com/facebook/rocksdb/commit/dee95a1afc6c63515e7d94dec33acdb79638b6d7.patch] + + db/c.cc | 77 ++++++++++++++------------------------- + memtable/inlineskiplist.h | 12 +++--- + 2 files changed, 33 insertions(+), 56 deletions(-) + +diff --git a/db/c.cc b/db/c.cc +index 064103ed4..0d485d096 100644 +--- a/db/c.cc ++++ b/db/c.cc +@@ -1388,23 +1388,24 @@ void rocksdb_writebatch_put_log_data( + b->rep.PutLogData(Slice(blob, len)); + } + ++class H : public WriteBatch::Handler { ++ public: ++ void* state_; ++ void (*put_)(void*, const char* k, size_t klen, const char* v, size_t vlen); ++ void (*deleted_)(void*, const char* k, size_t klen); ++ virtual void Put(const Slice& key, const Slice& value) override { ++ (*put_)(state_, key.data(), key.size(), value.data(), value.size()); ++ } ++ virtual void Delete(const Slice& key) override { ++ (*deleted_)(state_, key.data(), key.size()); ++ } ++}; ++ + void rocksdb_writebatch_iterate( + rocksdb_writebatch_t* b, + void* state, + void (*put)(void*, const char* k, size_t klen, const char* v, size_t vlen), + void (*deleted)(void*, const char* k, size_t klen)) { +- class H : public WriteBatch::Handler { +- public: +- void* state_; +- void (*put_)(void*, const char* k, size_t klen, const char* v, size_t vlen); +- void (*deleted_)(void*, const char* k, size_t klen); +- virtual void Put(const Slice& key, const Slice& value) override { +- (*put_)(state_, key.data(), key.size(), value.data(), value.size()); +- } +- virtual void Delete(const Slice& key) override { +- (*deleted_)(state_, key.data(), key.size()); +- } +- }; + H handler; + handler.state_ = state; + handler.put_ = put; +@@ -1649,18 +1650,6 @@ void rocksdb_writebatch_wi_iterate( + void* state, + void (*put)(void*, const char* k, size_t klen, const char* v, size_t vlen), + void (*deleted)(void*, const char* k, size_t klen)) { +- class H : public WriteBatch::Handler { +- public: +- void* state_; +- void (*put_)(void*, const char* k, size_t klen, const char* v, size_t vlen); +- void (*deleted_)(void*, const char* k, size_t klen); +- virtual void Put(const Slice& key, const Slice& value) override { +- (*put_)(state_, key.data(), key.size(), value.data(), value.size()); +- } +- virtual void Delete(const Slice& key) override { +- (*deleted_)(state_, key.data(), key.size()); +- } +- }; + H handler; + handler.state_ = state; + handler.put_ = put; +@@ -3109,20 +3098,21 @@ void rocksdb_slicetransform_destroy(rocksdb_slicetransform_t* st) { + delete st; + } + ++struct Wrapper : public rocksdb_slicetransform_t { ++ const SliceTransform* rep_; ++ ~Wrapper() { delete rep_; } ++ const char* Name() const override { return rep_->Name(); } ++ Slice Transform(const Slice& src) const override { ++ return rep_->Transform(src); ++ } ++ bool InDomain(const Slice& src) const override { ++ return rep_->InDomain(src); ++ } ++ bool InRange(const Slice& src) const override { return rep_->InRange(src); } ++ static void DoNothing(void*) { } ++}; ++ + rocksdb_slicetransform_t* rocksdb_slicetransform_create_fixed_prefix(size_t prefixLen) { +- struct Wrapper : public rocksdb_slicetransform_t { +- const SliceTransform* rep_; +- ~Wrapper() { delete rep_; } +- const char* Name() const override { return rep_->Name(); } +- Slice Transform(const Slice& src) const override { +- return rep_->Transform(src); +- } +- bool InDomain(const Slice& src) const override { +- return rep_->InDomain(src); +- } +- bool InRange(const Slice& src) const override { return rep_->InRange(src); } +- static void DoNothing(void*) { } +- }; + Wrapper* wrapper = new Wrapper; + wrapper->rep_ = rocksdb::NewFixedPrefixTransform(prefixLen); + wrapper->state_ = nullptr; +@@ -3131,19 +3121,6 @@ rocksdb_slicetransform_t* rocksdb_slicetransform_create_fixed_prefix(size_t pref + } + + rocksdb_slicetransform_t* rocksdb_slicetransform_create_noop() { +- struct Wrapper : public rocksdb_slicetransform_t { +- const SliceTransform* rep_; +- ~Wrapper() { delete rep_; } +- const char* Name() const override { return rep_->Name(); } +- Slice Transform(const Slice& src) const override { +- return rep_->Transform(src); +- } +- bool InDomain(const Slice& src) const override { +- return rep_->InDomain(src); +- } +- bool InRange(const Slice& src) const override { return rep_->InRange(src); } +- static void DoNothing(void*) { } +- }; + Wrapper* wrapper = new Wrapper; + wrapper->rep_ = rocksdb::NewNoopTransform(); + wrapper->state_ = nullptr; +diff --git a/memtable/inlineskiplist.h b/memtable/inlineskiplist.h +index 702a7336d..eadda1dc1 100644 +--- a/memtable/inlineskiplist.h ++++ b/memtable/inlineskiplist.h +@@ -280,7 +280,7 @@ struct InlineSkipList::Node { + // next_[0]. This is used for passing data from AllocateKey to Insert. + void StashHeight(const int height) { + assert(sizeof(int) <= sizeof(next_[0])); +- memcpy(&next_[0], &height, sizeof(int)); ++ memcpy(static_cast(&next_[0]), &height, sizeof(int)); + } + + // Retrieves the value passed to StashHeight. Undefined after a call +@@ -300,30 +300,30 @@ struct InlineSkipList::Node { + assert(n >= 0); + // Use an 'acquire load' so that we observe a fully initialized + // version of the returned Node. +- return (next_[-n].load(std::memory_order_acquire)); ++ return ((&next_[0] - n)->load(std::memory_order_acquire)); + } + + void SetNext(int n, Node* x) { + assert(n >= 0); + // Use a 'release store' so that anybody who reads through this + // pointer observes a fully initialized version of the inserted node. +- next_[-n].store(x, std::memory_order_release); ++ (&next_[0] - n)->store(x, std::memory_order_release); + } + + bool CASNext(int n, Node* expected, Node* x) { + assert(n >= 0); +- return next_[-n].compare_exchange_strong(expected, x); ++ return (&next_[0] - n)->compare_exchange_strong(expected, x); + } + + // No-barrier variants that can be safely used in a few locations. + Node* NoBarrier_Next(int n) { + assert(n >= 0); +- return next_[-n].load(std::memory_order_relaxed); ++ return (&next_[0] - n)->load(std::memory_order_relaxed); + } + + void NoBarrier_SetNext(int n, Node* x) { + assert(n >= 0); +- next_[-n].store(x, std::memory_order_relaxed); ++ (&next_[0] - n)->store(x, std::memory_order_relaxed); + } + + // Insert node after prev on specific level. +-- +2.17.0 + diff --git a/meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb b/meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb index 1e6cbae389..9a2f9dd1c5 100644 --- a/meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb +++ b/meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb @@ -10,7 +10,9 @@ SRCREV = "8969445642039566214d650cc6614849e7dd5e17" SRCBRANCH = "5.12.fb" PV = "5.12.2" -SRC_URI = "git://github.com/facebook/${BPN}.git;branch=${SRCBRANCH}" +SRC_URI = "git://github.com/facebook/${BPN}.git;branch=${SRCBRANCH} \ + file://0001-Fix-GitHub-issue-3716-gcc-8-warnings.patch \ + " S = "${WORKDIR}/git"