From nobody Mon Jul 10 10:13:07 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4R00FH66Nxz3cMJL; Mon, 10 Jul 2023 10:13:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R00FH5PGHz3KFq; Mon, 10 Jul 2023 10:13:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688983987; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BcTQIlZ+auge9YtCgOosDlwPDNuecXL62dmIYCjbXyY=; b=X9WngS266k2sO1S96yWS8gImOtAGU1f3UX8G2Oz/NlH0rkyj1jWKPo6F/7bb30bYM5IE/s nQVXv3RgOjKnnboZrcdiXDDcOHYOHXyhrrAfEi+fdWpBPuW7bXwaWHTU1wf76EKc8TvPUq c8o8/KTOt1BMcqIZGYzC7jIIfbFrugdpHdl3JuT2e62GFuatQoV6cZozKt6qZMMcDjP/1t BJDkQZWAHLd6pfq3yHDn8DGSKxUwYgqIYSzOI63IrK4blt//yqrWyyfCdax7PpcRNHXBqs 0l4NSj4Ban7sgVeTDUUpeDTRJEjkntMRgVTv7sghQYerwfPDmWDQWAqdCjAr4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688983987; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BcTQIlZ+auge9YtCgOosDlwPDNuecXL62dmIYCjbXyY=; b=wTJy2oMzlDS1ukya7IGgob9fO6kBcBfrFRxzamtbLhvBXiIZ4xDGH6PcSJkY1IUwvwgx4p jTKcjGBzeJyl3oz2Fjlm03MpaVyazV1nUOfZwnQIYDXLZwH3K32ZEa7bau6WIilWbPePgU BRSGdgEzjrJSItNhds5P3Olj2ldaSjm9RDViKZzHxcB4Fxa2WU+hQkMkt/F5M/ETpT0RgW c8Ma4s6l/zEdFm1Uwjo+09sckMr4XRKmONqPXVay+Q63KXxer4jrhpS8Te+KF1lwtvAjCJ 8K3dQnV1s55/xgHQw/8HeWVlA3jTGDKL7OOETpYo2YSX3VP2KT9/qWS2/icvBA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688983987; a=rsa-sha256; cv=none; b=sUAcP6ExjBy2TiWWpm25HFl/ay1+N304/RlV4OuwpuJ2+ctW3hFqjQ+3fk7ZbytK7wBITu bfedIQxjflVdQen8crEdmGXIGDRDATUG2NDtt3hStv3XxpcwYbhvFWXqzrE3S1nh19uC0l Effto+K62p1QhJx56fBfIzS/m1Yoz4A0e//GWBe5CO3OhJSjxCw9ynBZLlCOYEVRZ4bFKY DQVohAoJ1C64OwlPlogEeryc1Lv+unop3ABAUIMxAY1AFXN5ZbnxNpj1iN4huSxIOmfQZ7 ZPm/milLnkjt5/WYIG/Z+yjY8wbNI+aL7Zhwzra7disC74rAGvKZmrptnE2W9w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4R00FH4W2pzh8W; Mon, 10 Jul 2023 10:13:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36AAD75N042228; Mon, 10 Jul 2023 10:13:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36AAD7ND042227; Mon, 10 Jul 2023 10:13:07 GMT (envelope-from git) Date: Mon, 10 Jul 2023 10:13:07 GMT Message-Id: <202307101013.36AAD7ND042227@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Mikael Urankar Subject: git: 1e09ad4bcecf - main - devel/android-tools: Remove unused variable List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mikael X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1e09ad4bcecf67ee0b60c93b4e66ee7111d4c5f1 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mikael: URL: https://cgit.FreeBSD.org/ports/commit/?id=1e09ad4bcecf67ee0b60c93b4e66ee7111d4c5f1 commit 1e09ad4bcecf67ee0b60c93b4e66ee7111d4c5f1 Author: Mikael Urankar AuthorDate: 2023-07-10 08:28:27 +0000 Commit: Mikael Urankar CommitDate: 2023-07-10 10:13:02 +0000 devel/android-tools: Remove unused variable This is causing -Werror failures with recent Clang builds. PR: 270714 Submitted by: Masachika ISHIZUKA --- .../patch-vendor_boringssl_crypto_x509_t__x509.c | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/devel/android-tools/files/patch-vendor_boringssl_crypto_x509_t__x509.c b/devel/android-tools/files/patch-vendor_boringssl_crypto_x509_t__x509.c new file mode 100644 index 000000000000..d860df822689 --- /dev/null +++ b/devel/android-tools/files/patch-vendor_boringssl_crypto_x509_t__x509.c @@ -0,0 +1,45 @@ +https://github.com/google/boringssl/commit/af34f6460f0bf99dc267818f02b2936f60a30de7 + +From af34f6460f0bf99dc267818f02b2936f60a30de7 Mon Sep 17 00:00:00 2001 +From: Kent Ross +Date: Wed, 30 Mar 2022 14:11:02 -0700 +Subject: [PATCH] Remove unused variable + +This is causing -Werror failures with recent Clang builds. + +Change-Id: I0f82d99ae51d02037f5f614a8fadfb3efc0da2da +Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/52145 +Reviewed-by: Adam Langley +Commit-Queue: Adam Langley +--- + crypto/x509/t_x509.c | 6 +----- + 1 file changed, 1 insertion(+), 5 deletions(-) + +diff --git a/crypto/x509/t_x509.c b/crypto/x509/t_x509.c +index 4f9d40979a..5e633a9d87 100644 +--- vendor/boringssl/crypto/x509/t_x509.c ++++ vendor/boringssl/crypto/x509/t_x509.c +@@ -322,9 +322,7 @@ int X509_signature_print(BIO *bp, const X509_ALGOR *sigalg, + int X509_NAME_print(BIO *bp, const X509_NAME *name, int obase) + { + char *s, *c, *b; +- int ret = 0, l, i; +- +- l = 80 - 2 - obase; ++ int ret = 0, i; + + b = X509_NAME_oneline(name, NULL, 0); + if (!b) +@@ -351,12 +349,10 @@ int X509_NAME_print(BIO *bp, const X509_NAME *name, int obase) + if (BIO_write(bp, ", ", 2) != 2) + goto err; + } +- l--; + } + if (*s == '\0') + break; + s++; +- l--; + } + + ret = 1;