From nobody Fri Aug 12 05:46:12 2022 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 4M3t2X6RgRz4Y5Sd; Fri, 12 Aug 2022 05:46:12 +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 4M3t2X5tZsz3bPd; Fri, 12 Aug 2022 05:46:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660283172; 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=J/8H3AdCxY5OricRI1jB/nAsovhv2eZBBENFnLaQC2M=; b=h8LBOVfgJQq+M3eYOllNgtj3yJETsuESISekrp4kwP1Vx8MHYJVhpXiSZV+SAgeAHg1vhE TRO1U4VBqyhDdwOQd/zYMvXvwor8l4ByKJfqESTTVP5suc5GoOehiYa78pFzSBWS+lanrs Qel9B9sPLrbW0HZo2uGNUGwGEh+cLmeMCmfekOZkuEBZ4UfoMoiA2v7qQlQ1TUUs0efWnx 20pbSDIYEMMaD3X1r7aOx4JD/Qr3asu7kpO0i5s0cRQk4Im9NNwSuAlgEU1hJ69j5qpEvG N1SR5zKHrKiFoqQpG6oPbCtBsJgEFzeevzRVxfi0Cvo4dvsvaodTgRSwm81zBw== 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 4M3t2X4wKLzKdx; Fri, 12 Aug 2022 05:46:12 +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 27C5kCwl040818; Fri, 12 Aug 2022 05:46:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27C5kCKu040817; Fri, 12 Aug 2022 05:46:12 GMT (envelope-from git) Date: Fri, 12 Aug 2022 05:46:12 GMT Message-Id: <202208120546.27C5kCKu040817@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: c8cf818032ac - main - archivers/ccmix: unbreak the build against unsigned-by-default char 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: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c8cf818032ace38110dad09d664406f9d9ebbe92 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660283172; 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=J/8H3AdCxY5OricRI1jB/nAsovhv2eZBBENFnLaQC2M=; b=I5ne46SiwJNLdLSW2DrfW6J0eTs700lkhYVppvx1RWeMV4prMV7yDumfSHcDzspf4+gi5f huKu96Td2RNTGO2WZw/AL/lkFvsakZhhs3zETZwBlleexeX+N5OFLqY/TUxrS0JhRkgoFx 9NoxdMPf3bQf77W600HBc8MvSMzdnAvuFiMhX0aPndVxnjuDl/rCyyCvrXNRXRFMDY02zN 3zz/Yw6OwprxsNodi3d4E7FWVUCtflMoWbnWuGJ24SXMEpxIN0DAVMRNJnwlbkz1iNOW3H LR+RnfGcCeh3EZC7G4LzdvcxtKn4ez9Nvu8vSPd/PBfCBbIAbL2pPlZ6C5YW8A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660283172; a=rsa-sha256; cv=none; b=F8bnwOLhAQU7p9G4vEiwsxL7up7IJ6OcLgPUSfobxAWUr/UMMIGiTIxgm95HiaMe4jIw9D riNz2J0ApcEU2kfEVgzOaz2KRncm7llI+b69F1tMqK2nw9v0BS+/C4akZ7q3kJ1qPlN9tV 7Nyq0AVhNH6wZXjXwUcmGJ1mnureVjyCqqVjU17rqhcTx9tV4NfbtBUGI+P4oZ98OtQqRq rNv6KhmtKZO9a/RQKY524DekihQvVKzK64PTB5pb1ECi6fwk7+FGsnPUlzqIn8Scagh9KG bjSI9KOWp11nVPV1RtxwlZ1LpokJy7p9UGGU86qCzGNLFcZ5++s/0u64rLcTuA== 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=c8cf818032ace38110dad09d664406f9d9ebbe92 commit c8cf818032ace38110dad09d664406f9d9ebbe92 Author: Alexey Dokuchaev AuthorDate: 2022-08-12 05:44:22 +0000 Commit: Alexey Dokuchaev CommitDate: 2022-08-12 05:44:22 +0000 archivers/ccmix: unbreak the build against unsigned-by-default char On ARM, PowerPC, RISC-V (of the architectures supported by FreeBSD) char type is unsigned by default, which causes the following build error due to incorrect array declaration: mixkey/mix_dexoder.cpp:17:5: error: constant expression evaluates to -1 which cannot be narrowed to type 'char' [-Wc++11-narrowing] --- archivers/ccmix/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/archivers/ccmix/Makefile b/archivers/ccmix/Makefile index b6b43c06115e..cf79627df9af 100644 --- a/archivers/ccmix/Makefile +++ b/archivers/ccmix/Makefile @@ -26,6 +26,8 @@ post-patch: @${REINPLACE_CMD} -e '/ccmix program usage/s,/n,\\n, ; \ /gmd_dir/s,/usr/share/ccmix,${DATADIR},' \ ${WRKSRC}/src/ccmix.cpp + @${REINPLACE_CMD} -e '/char2num/s,const static,& signed,' \ + ${WRKSRC}/src/mixkey/mix_dexoder.cpp do-install: ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/build/* \