From nobody Tue Jan 10 02:22:25 2023 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 4NrZMj32THz2p3TS; Tue, 10 Jan 2023 02:22:25 +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 4NrZMj2VkZz3lSX; Tue, 10 Jan 2023 02:22:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673317345; 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=eYBf4GBxHsLgwaXNNreMu17rh452zOLxLDEAmT2xDB8=; b=CS/W3vNbsi0kFwV7EHaKbYTqyDnEiKObyep8D16sWkUEFebuUgAAOL0B0Gv5Tfooxx+NSp hZJRMKEXcwNTB9JeaTcMpYawBHS7aPqToTO5jQhY8545wQjFnD77KYz+/Vc5MIVLUt89Dd QTXEW78BQcdPDW2m61kCuy/MI8+i+9kNC45O5sVEWf/OUTriCnQh8IhpdJ3zwGRlibJqcX UfjyinUbKqVwlf5LPGtQy7QMgij/+XKp0RGNzbDtIJTmol6DyMyxbfbt8hyO2shaAmsPmm 2dYnfBj0QeXfKlxZx53zZnWRc/CS1bh7FSqMTi9R77jWuCB1riRK69K7o70Qig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673317345; 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=eYBf4GBxHsLgwaXNNreMu17rh452zOLxLDEAmT2xDB8=; b=b6BTikgp76fCDWT3PcFx5y9qnnqEPQGXe1ZN/nOGvnNRsG1H64NWhiQuk3xUwkvHZm355X EVTksF7w4bHzMrCPW+zMizSKaAIpKHAvr3dAAKjNcNpdXgs+46AIcH6gml4Xk++13fldWn 4jZKoOW+GWO6k/18k7ZGlvtpRBOFp+Nro+T67NXYrSaj6Pfy2OrqYZQln9mdLs+gqyctx1 PB1TJob70uLiIzzX0AWU7F+9NeREfjsXLwgb0e1tv35B1Y8KmVSH6osRpVsCwyCfYxK4X7 MwadaK+ez+8jfQavjPV61flzULBBXSFbZz54Pb/dxrCx4Ib9B6Yqxnt5sxo4kQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1673317345; a=rsa-sha256; cv=none; b=WeV/wmk+Ks9ry6IremDnEnsUfEpvxicrNdNXQZTUMDq6eYg8EO193n4FcRgs3671VNtoPe 6PgxwQ285QMiPMtAsqpZFeCeLCAV7fG9eSwiMIvgwzsNtvXwfJa8PyTLiEzZ8nc5g0dBth LoQpSfyc2DMDSSSSdRXREg92SyxbCJfJXpsI0FulUEaU3D4jL2SpiPWuInFUl62Kx7SKu7 9CDeq4QB8cZgOzWl63CeSMympclR4oRo1gORZU2W6Qp5N7k0e9QHlx+rFgzrKwoW6BoNip yA1I9C3XDi3gXfUuMjdNWFo4oDl91xBSHy/TpDvNBb9ggxlR6QYeWFJ1R1vjog== 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 4NrZMj1Z5wzrr0; Tue, 10 Jan 2023 02:22:25 +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 30A2MPQV008057; Tue, 10 Jan 2023 02:22:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30A2MPPZ008056; Tue, 10 Jan 2023 02:22:25 GMT (envelope-from git) Date: Tue, 10 Jan 2023 02:22:25 GMT Message-Id: <202301100222.30A2MPPZ008056@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: 735a7f11b1c5 - main - net-p2p/xbt: fix build on ARM / POWER 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: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 735a7f11b1c53e58d7ab011b274724a84a8e5e15 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=735a7f11b1c53e58d7ab011b274724a84a8e5e15 commit 735a7f11b1c53e58d7ab011b274724a84a8e5e15 Author: Piotr Kubaj AuthorDate: 2023-01-10 00:44:30 +0000 Commit: Piotr Kubaj CommitDate: 2023-01-10 02:22:22 +0000 net-p2p/xbt: fix build on ARM / POWER Tracker/tracker_input.cpp:6:49: error: constant expression evaluates to -1 which cannot be narrowed to type 'char' [-Wc++11-narrowing] std::array res = { 0, 0, 0, 0, 0, 0, -1, -1, 0, 0, 0, 0 }; ^~ --- net-p2p/xbt/files/patch-Tracker_tracker__input.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/net-p2p/xbt/files/patch-Tracker_tracker__input.cpp b/net-p2p/xbt/files/patch-Tracker_tracker__input.cpp new file mode 100644 index 000000000000..ba42a11ad1bc --- /dev/null +++ b/net-p2p/xbt/files/patch-Tracker_tracker__input.cpp @@ -0,0 +1,14 @@ +--- Tracker/tracker_input.cpp.orig 2023-01-10 00:32:43 UTC ++++ Tracker/tracker_input.cpp +@@ -1,9 +1,9 @@ + #include "stdafx.h" + #include "tracker_input.h" + +-static std::array to_ipv6(uint32_t v) ++static std::array to_ipv6(uint32_t v) + { +- std::array res = { 0, 0, 0, 0, 0, 0, -1, -1, 0, 0, 0, 0 }; ++ std::array res = { 0, 0, 0, 0, 0, 0, -1, -1, 0, 0, 0, 0 }; + memcpy(&res[12], &v, 4); + return res; + }