From nobody Fri Nov 26 18:48:18 2021 X-Original-To: dev-commits-ports-main@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 41E2218ACEFA; Fri, 26 Nov 2021 18:48:19 +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 4J13fV5RLKz4QnJ; Fri, 26 Nov 2021 18:48:18 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 793745B21; Fri, 26 Nov 2021 18:48:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1AQImI8g049712; Fri, 26 Nov 2021 18:48:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AQImIE8049711; Fri, 26 Nov 2021 18:48:18 GMT (envelope-from git) Date: Fri, 26 Nov 2021 18:48:18 GMT Message-Id: <202111261848.1AQImIE8049711@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: 48c9377ca7b3 - main - lang/gnu-apl: unbreak the build on recent -CURRENT (clang 13.0.0) List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 48c9377ca7b39b76f1e13688d4fa82d2948643a7 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1637952498; 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=18bJ7bb2bdiJp9ZjpotM37WOh1ZqxqcZ3Kjfya5ox1w=; b=l0PhBVYVOZ0OLINtkciPlE2XVQtUUg9DWm4Oj+259dl9rzLtU/ssGVhduk2DIr+T8beNFs tl8B+B5ffe5GpjONDTo+hgSXA9MItVVh8A/EWiFCsHlIo+KnFw0fgn+EPnwKnLak52Eo4Y DePcmd3PGTB+Yt4IiBjEzWCHAUuok8Ap0iYw1gyWIVeb9KuXkhj+RrI35c755bVSK3LFnh z0f9kYCEypc2bjCkGPqHqO2CrLEKifHPIghtaPlthDUyb5LcdEqLwyydX5dgF0sgUodtkj JVIlKKA483IidODHmMFkBmtKS/1hJtZfvNe9q01Tibu3awSix0JdAxqag8FFNg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1637952498; a=rsa-sha256; cv=none; b=L+/l8EtPA17Bf/1LsWWXCoUFqFe6fwgHAhjfOJk/4y7MBKWfyv98XNkVFLDdExdbXjVVvU QuwgysO+AaGCHfxQkXXpk3MeMjoboiKahgFrUVsBG1VNMLY7feeahYMFuYfiKyP1YVIVr0 CGEd0+nNsIO0DM9wRkD8TZzo2er5RtzMuO63w+lz802W76SYOD0BY03jpibUKrmRaDaNN2 V4GH3SZ6x5FestILInFb7FBwexGDkkhtTFYjdfrO1vwFnuQt6LxezAJZxPsLDJpn43dvHU tmSF9wGglYpDivb36HE3K6pVIfXOktjUhHfAXnKt+18UMBVo0KaEZUhPk9w5iA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=48c9377ca7b39b76f1e13688d4fa82d2948643a7 commit 48c9377ca7b39b76f1e13688d4fa82d2948643a7 Author: Alexey Dokuchaev AuthorDate: 2021-11-26 18:47:16 +0000 Commit: Alexey Dokuchaev CommitDate: 2021-11-26 18:47:16 +0000 lang/gnu-apl: unbreak the build on recent -CURRENT (clang 13.0.0) Bif_F12_FORMAT.cc:579:5: error: variable 'sum' set but not used [-Werror,-Wunused-but-set-variable] int sum = 0; ^ 1 error generated. Obtained from: upstream SVN r1498 Reported by: pkg-fallout --- lang/gnu-apl/files/patch-src_Bif__F12__FORMAT.cc | 26 ++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/lang/gnu-apl/files/patch-src_Bif__F12__FORMAT.cc b/lang/gnu-apl/files/patch-src_Bif__F12__FORMAT.cc new file mode 100644 index 000000000000..4b0e42412817 --- /dev/null +++ b/lang/gnu-apl/files/patch-src_Bif__F12__FORMAT.cc @@ -0,0 +1,26 @@ +--- src/Bif_F12_FORMAT.cc.orig 2019-06-23 12:39:20 UTC ++++ src/Bif_F12_FORMAT.cc +@@ -576,18 +576,17 @@ right_decorator: /// the right decorator + + fields_done: + +-int sum = 0; +- sum += left_deco.out_len = left_deco .format.size(); ++ left_deco.out_len = left_deco.format.size(); + +- sum += int_part .out_len = int_part .format.size(); ++ int_part.out_len = int_part.format.size(); + + if (fract_part.format.size()) +- sum += fract_part.out_len = fract_part.format.size() + 1; ++ fract_part.out_len = fract_part.format.size() + 1; + + if (exponent.size()) + { +- sum += expo_deco.out_len = expo_deco.size(); +- sum += exponent.out_len = exponent.format.size() + 1; ++ expo_deco.out_len = expo_deco.size(); ++ exponent.out_len = exponent.format.size() + 1; + } + + right_deco.out_len = right_deco.format.size();