From nobody Tue Apr 19 11:00:57 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 B948911D1DAD; Tue, 19 Apr 2022 11:00:57 +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 4KjLSn327Pz3LKS; Tue, 19 Apr 2022 11:00:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650366057; 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=ahcgk2KahRRnpdjV9jhw+j/eMiE0wd/56GISCnnlT9U=; b=MeWFKTtg8jIhSW8U5hEzVf7is0TnzrvSFvCfxugWWzWBaPREBz6YrTtUHn3K5x/qatf70C U1VP/eZ8Gzo5abm22/xg85I6l5O9rW/8+P9zNifNQVH0z8bgPI8mdTtlVVMvCz2xvNfZj2 01l81+dURqg38Iq0ZLOSaP7OlPFnFCvJCQ1KDF4mM5zCzHcihSpKqX8nXJKG5yt0SbeDSS 0AXMIkCNmNUnJghE6rk84VMYpn5czOQr6EbAb2Woy5p8YoaDQ4ue0GH5w/O4bnsjXd/giG 6MWRQPensi3ijPPJufPyv1hZ7DETT9et4eXde33vURRdP+gqN8MONkVKN2biMw== 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 4933925ED3; Tue, 19 Apr 2022 11:00:57 +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 23JB0vqj090058; Tue, 19 Apr 2022 11:00:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23JB0vfJ090057; Tue, 19 Apr 2022 11:00:57 GMT (envelope-from git) Date: Tue, 19 Apr 2022 11:00:57 GMT Message-Id: <202204191100.23JB0vfJ090057@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Mikael Urankar Subject: git: 6c2554c83e6f - 2022Q2 - archivers/zpaq: fix build on armv6/armv7 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/2022Q2 X-Git-Reftype: branch X-Git-Commit: 6c2554c83e6fe84fce2a725999eab044b8d17774 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650366057; 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=ahcgk2KahRRnpdjV9jhw+j/eMiE0wd/56GISCnnlT9U=; b=HWjIH4KIHHKaOAAAAsJUOZ3UUL+T5j0a4Poe2YFFCvb9ohqt3i3seRi9jP38jbahM/8aAC 6m6ZRkuWnM660dckZQaZDajDCZscSsMm+6w+i8viqX4CQsB8YDHh+pZc0hO8Xr1Mmj27Hw EkSFsJzmxaa0CpGmZS6M2xSAnwqNHdHIz8dQ+WTK5BkIGeIBM+88KcDKyfwKeThoTc1cZz WcGa0v6JjjVdIBR86KHbGxPL9Vyb4feyRZ5iN7MEHCvHIPJaH+H7fyVC+hBZFAfP0sIjzA 8ZH5nUWcbJfzQ3C+SVucKnUqbZKH9rk6lVGu0o7QLU3R1hax2M0GtDJWAwkHFQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650366057; a=rsa-sha256; cv=none; b=V0fUUDV2njnCVzj/PdvpOP+jP85A7ayEA4T2Pk692eWi2QV5Er3nBrVl2bSGUpLzeoHSes 9xiqBklhnWv0I7snmk66K3EmzyEJNLEJjfc/LdcYJKgge97tovR8e4L5CgCjY74PPU/Nng QdRgvi1JOpGmNiTvA0BLF8XFpPonqXiAMijEyG0oaBMHeru4mQPHThGjTF5tnnSCuOS2ii Cbx/A4NG8C+FVPgPHYda5XYRb9QEVkiiedKTwlyZ4cghjoZDWsSdFpJ7jhPA5qUJdT2Ptp AldN57ItL8RJcv1tj2vkcc5b8cCeCCULshLV8ReoaelaYrnWNDHCRKFIOSL8nQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch 2022Q2 has been updated by mikael: URL: https://cgit.FreeBSD.org/ports/commit/?id=6c2554c83e6fe84fce2a725999eab044b8d17774 commit 6c2554c83e6fe84fce2a725999eab044b8d17774 Author: Robert Clausecker AuthorDate: 2022-04-18 09:44:54 +0000 Commit: Mikael Urankar CommitDate: 2022-04-19 11:00:37 +0000 archivers/zpaq: fix build on armv6/armv7 The ARM EABI has an unsigned char type. Fix the build by using explicitly signed chars in the relevant place. PR: 263389 (cherry picked from commit 6a9ffb1def637dff98c61432f10b610c7aecfedb) --- archivers/paq/files/patch-libzpaq.cpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/archivers/paq/files/patch-libzpaq.cpp b/archivers/paq/files/patch-libzpaq.cpp new file mode 100644 index 000000000000..a3201867de33 --- /dev/null +++ b/archivers/paq/files/patch-libzpaq.cpp @@ -0,0 +1,20 @@ +--- libzpaq.cpp.orig 2022-04-18 09:32:11 UTC ++++ libzpaq.cpp +@@ -2745,7 +2745,7 @@ void Compressor::writeTag() { + void Compressor::startBlock(int level) { + + // Model 1 - min.cfg +- static const char models[]={ ++ static const signed char models[]={ + 26,0,1,2,0,0,2,3,16,8,19,0,0,96,4,28, + 59,10,59,112,25,10,59,10,59,112,56,0, + +@@ -2774,7 +2774,7 @@ void Compressor::startBlock(int level) { + 0,0}; // 0,0 = end of list + + if (level<1) error("compression level must be at least 1"); +- const char* p=models; ++ const char* p=(const char*)models; + int i; + for (i=1; i