From nobody Tue Apr 19 07:57:00 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 9CF3611CFFF8; Tue, 19 Apr 2022 07:57:00 +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 4KjGNX3vZSz4SNh; Tue, 19 Apr 2022 07:57:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650355020; 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=YULTFPseSBRRJANtMCUjRI5I8iAQiIEoY6ZtXWg4cxU=; b=CIWiabYUtaPlb+hBQrClJwWjn3koVh70KATgnWy6c0mJAfGKRECPD5XSjnlRCNkzhmWkJ7 vPZS08iiMRXZ4g7i42OKN6LSbjxquYd1PrNP60OzFwyrzcVIME3He7OUWwFW+v7FNxw1UG 71IpqbP8QKyDSnVLMvyGg8JhK6n29Ywq8WyNBP9RwOAkGkHHwm7q64yHj3IqSYab3/tgKW /MiBfJPu2J2pEkVShnhd5XQxaNXOf+P2DHYdgg3YxgfDSA0OsQwBUn8cc0IYZSglaMV/wY UwwB7VAz0DtV9SPMqVh3O0bpM4aGjudiVWsAJ53b2bEa0eFofNKxj0vNelSong== 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 66D8C231E9; Tue, 19 Apr 2022 07:57:00 +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 23J7v0bO027578; Tue, 19 Apr 2022 07:57:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23J7v0SL027577; Tue, 19 Apr 2022 07:57:00 GMT (envelope-from git) Date: Tue, 19 Apr 2022 07:57:00 GMT Message-Id: <202204190757.23J7v0SL027577@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: 6a9ffb1def63 - main - 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/main X-Git-Reftype: branch X-Git-Commit: 6a9ffb1def637dff98c61432f10b610c7aecfedb Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650355020; 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=YULTFPseSBRRJANtMCUjRI5I8iAQiIEoY6ZtXWg4cxU=; b=jf5IQThw5ieBUu1RBDT0BUwTp2R4YGI6OYqzZJUNgQURGBhDnaxk4ZaC31MvabY1O4OowE Tnj33NABug5MLNYcIUjUNj3PXMeMSfP8GEsP3YK1/igFs4XWuqx5VVvKe0rehszQWxknWo DJ6uIat1d88LymhXR5jxT1iMxqoBnQfbRMXYiA/QMX2wVqnl0FT48Zv/ag1Aug/srg2LaR DNVrfluQnydHtWnSfTlPeXAO/sZrxL3BmxnpZ9toiSIPVgD1aKNLNCSZ4hBibDW5RCuYjp iUrUOpH2bsxDaYiE+qlfrSejvlroIpMiLWaRW1wzkK6PX6bY8vqe9n3ehN5jTw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650355020; a=rsa-sha256; cv=none; b=cGl2Emmy72bQZBVB4aIJ0YE/s5EkAVE70y/gyGNzKLimPxBxSovbsSE50Mf1HzCV+up8NJ IWACsHFMtcyqURyBwo1Or4Dt2S5kS4mjFieNxexfnB4TJK9T8VjCIWpnUHvsfkwWO3Cp1o jcT4gRsHLIO/xs9Xn+I+2f4gWr5mY/LOvS3eP5h9FnrLh04rc3VNJOEp1oYyVxZhbcK+4W IKQphAJSdt3ryYxvVjlHJcqHMVCoj3WcuKZfxRWARLYKxLq337S3DlJ1b+BdvJsW+9vSfM BceXSo0GmIl+EMgcU5GhLxIJzj6J/GEFCIghmGDR20RoirZBUXwJfPr2hKX9DQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mikael: URL: https://cgit.FreeBSD.org/ports/commit/?id=6a9ffb1def637dff98c61432f10b610c7aecfedb commit 6a9ffb1def637dff98c61432f10b610c7aecfedb Author: Robert Clausecker AuthorDate: 2022-04-18 09:44:54 +0000 Commit: Mikael Urankar CommitDate: 2022-04-19 07:56:35 +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 --- 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