From patchwork Fri Dec 27 03:56:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 182467 Delivered-To: patch@linaro.org Received: by 2002:a92:815a:0:0:0:0:0 with SMTP id e87csp2499676ild; Thu, 26 Dec 2019 19:57:40 -0800 (PST) X-Google-Smtp-Source: APXvYqx12565h+pvZtC8Qkym0whz9qFrVgo8OQMqJtKBtcQKsMJWSSioUDozEVjzACVLCrRTzY0r X-Received: by 2002:a17:902:9b83:: with SMTP id y3mr24552727plp.32.1577419060532; Thu, 26 Dec 2019 19:57:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577419060; cv=none; d=google.com; s=arc-20160816; b=onDWd8GSl6FmohMcPlGx8/84H6/yewJJB+c/0WWivn8P1MhIcuzopqT6Yvq4Weqcwk 0gT8SAbO3KUPG1k/ppuW4T0vvM/C9UbtdvAI8nVhiqvKXnj5YyD9fnHqUBNtMbaJYIWi n2dqpOzwmEWLE/goK5iDfcrnQP7sUSPEmEBa0JoaPSvpWe2grY1+khb11oq2krIPGl3p tUgHe6g0v1kUsN/cbStIqJ5f2dPHVxD4Ay/hIT2WdufwLgGzRMlZX/Jku7Owf9QZgong siniyGTjRq/cNb5aE2fnJyFC4DwE7fi+1gmCm66yVF+gfH/DMOUD47kna8sB3vLqJD3x BpOA== 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=XAOtNDO1ZGA0sURR83rV4cv+2RCyG8A+r8g2LTpodvQ=; b=opceAuqEvrJmD1qubNBtG9QdpdV/6LcEoxlWkJm1hTsr0eWFgHA6w9w4I0SXUw3PU3 0Vv0OwlGunw2aGVQ0CfBTm0gGcSgr+r4YqEtbfNIGzEl4b6qGPX97PDAVwZKQVBAwuNJ 4CISNCE9j9gKMqLMWvxb32PgNkFyzp941L2a6cX0Bg/HwFPyggSinkhOaPe7WUlCsEYM QTuBRvy7Xhd2V4wCWIjzUTcVwzBvEQWtpOVzPlnPWGnw1iqhPCdjaSOAqCaVwsjOxB3H rvyTj7yZxJ5kXlCS9XF3Q1nloN2sIIq/GQy86elNDjl9ETrWlZeKy65SqyvPC707J3Vn j1bw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=n0yJLEBh; 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 x72si29448234pgx.298.2019.12.26.19.57.40; Thu, 26 Dec 2019 19:57:40 -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=n0yJLEBh; 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 3D4637D3EF; Fri, 27 Dec 2019 03:57:37 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) by mail.openembedded.org (Postfix) with ESMTP id 21FCC7CE27 for ; Fri, 27 Dec 2019 03:56:46 +0000 (UTC) Received: by mail-pf1-f169.google.com with SMTP id i6so7287630pfc.1 for ; Thu, 26 Dec 2019 19:56:48 -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=cLNtGP39qbYu7zE/K2AJ3jsZfewzjvQsxVwBR5ou47I=; b=n0yJLEBhF2CZNnVz04yWIdY+eKTaKp9v5GLkcvcGBB1XkbqKXJwhaAqvV++rfGIMFg 0WVI8RgmL30prSFI9IeVip3Mu2rCO6PsbXtIylZgWKYyeru81c2LDeErWgsMGOWi24pW o73r3Oc8pyH4FQuQkqx16J/e9kgNcxf526XQBrRhv1Xy2Mrv664/bint5Iisfh7ITF00 o2Vfz6JFVrzqXLvJYIowvQMfqKt3P6xQBM0WNvGoHUASz0kAoEqHHapdwXV0s3FQGuD8 rIAe0v/ls6RCL6KOXtJDh770mxJJkgldJ31tKv6Y9GCd7KXXIWBl9KBRFuyi7hmqo2Y8 VXfw== 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=cLNtGP39qbYu7zE/K2AJ3jsZfewzjvQsxVwBR5ou47I=; b=Vryde85y9peiy3agunKl0G4UGziSCcnk3WBODXeVJt8wzOWuvyEWwj4Pg4WPVEl3jj Bnx6ZyobLHSfkuGY4kDmosGsVPmn4KDyeTstXWWuO2vMGJwHbUiibik7fkBKTeFWTDpf OKQX8i1XG1QTTfxgooZzrSG0jHabcycrhNbprn1ScCPiuZ1MrNZ191kp2egK/AkBI4AC B0FSpygn03Qz+z/muxjegflDQWCZTCo6/7OfXbb5kmwqVYEslEP7yRFgVPXP9OyCmkSv bcDZEE1NJnxyVjcgm75VGXg6Ur8DI/Dqtkt2Q8u2g0ZKYKPtwU0xmATZIrIr3IKfmYx6 tQGg== X-Gm-Message-State: APjAAAWcNPanVfAEZ1BfyfQJLFMIXlDMlil2H3hhO18Q5bHoH8BjxDH0 svXlMn9sA6JUUopy87s60cv8YGhggQY= X-Received: by 2002:a62:1548:: with SMTP id 69mr53473129pfv.239.1577419007704; Thu, 26 Dec 2019 19:56:47 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::2f83]) by smtp.gmail.com with ESMTPSA id r30sm36673613pfl.162.2019.12.26.19.56.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Dec 2019 19:56:47 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Thu, 26 Dec 2019 19:56:36 -0800 Message-Id: <20191227035639.303716-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191227035639.303716-1-raj.khem@gmail.com> References: <20191227035639.303716-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH 2/5] wvstreams: Fix build with gcc10 X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- .../0001-Fix-narrowing-conversion-error.patch | 29 +++++++++++++++++++ .../wvdial/wvstreams_4.6.1.bb | 1 + 2 files changed, 30 insertions(+) create mode 100644 meta-oe/recipes-connectivity/wvdial/wvstreams/0001-Fix-narrowing-conversion-error.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-connectivity/wvdial/wvstreams/0001-Fix-narrowing-conversion-error.patch b/meta-oe/recipes-connectivity/wvdial/wvstreams/0001-Fix-narrowing-conversion-error.patch new file mode 100644 index 0000000000..fc9abd8e63 --- /dev/null +++ b/meta-oe/recipes-connectivity/wvdial/wvstreams/0001-Fix-narrowing-conversion-error.patch @@ -0,0 +1,29 @@ +From c86c524f951f6e973473bfee76fd5366368b2cbc Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Wed, 25 Dec 2019 09:32:41 -0800 +Subject: [PATCH] Fix narrowing conversion error + +xplc/moduleloader.cc: In static member function 'static Module* Module::loadModule(const char*)': xplc/moduleloader.cc:67:14: error: narrowing conversion of '-1' from 'int' to 'unsigned int' [-Wnarrowing] 67 | case (int)-1: | ^ + +Upstream-Status: Pending +Signed-off-by: Khem Raj +--- + xplc/moduleloader.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/xplc/moduleloader.cc b/xplc/moduleloader.cc +index 02dd9a4..c53f5d2 100644 +--- a/xplc/moduleloader.cc ++++ b/xplc/moduleloader.cc +@@ -62,7 +62,7 @@ Module* Module::loadModule(const char* modulename) { + return NULL; + } + +- switch(moduleinfo->version_major) { ++ switch((int)moduleinfo->version_major) { + #ifdef UNSTABLE + case -1: + /* nothing to do */ +-- +2.24.1 + diff --git a/meta-oe/recipes-connectivity/wvdial/wvstreams_4.6.1.bb b/meta-oe/recipes-connectivity/wvdial/wvstreams_4.6.1.bb index b220f9c1bc..20becaf57d 100644 --- a/meta-oe/recipes-connectivity/wvdial/wvstreams_4.6.1.bb +++ b/meta-oe/recipes-connectivity/wvdial/wvstreams_4.6.1.bb @@ -22,6 +22,7 @@ SRC_URI = "http://${BPN}.googlecode.com/files/${BP}.tar.gz \ file://0002-wvrules.mk-Use-_DEFAULT_SOURCE.patch \ file://openssl-buildfix.patch \ file://0001-Forward-port-to-OpenSSL-1.1.x.patch \ + file://0001-Fix-narrowing-conversion-error.patch \ " SRC_URI[md5sum] = "2760dac31a43d452a19a3147bfde571c"