From nobody Fri Sep 30 18:12:49 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 4MfJHP2ST2z4V7M3; Fri, 30 Sep 2022 18:12:49 +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 4MfJHP1klTz43Mk; Fri, 30 Sep 2022 18:12:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664561569; 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=EeC94w5b/OjbXB3g57mgz9VUB9Ccv2Ske0ZeEkaUIcw=; b=hwtbjLFpYOdDKKqRsUzYL6I+VLH/dgTTEcCCw5A50AEgHcfIyB+qmwIhFuY9wOPx3QxFA4 RSKp0tHaUnDomaBNVzpuhQ+IOmEkAuyx0PlrL3PLqjUr84OoFyk7bD4MFFFrPQBXf7JzvI 8EG34GJztaZKOKXTr/+tyyH8zIebGlF7Tc0sa5qL8BzpGJOxCH4BIG/t5lME0RKjSsd+wT BG4m6UXOEHHJGTQz1QDXinMW8ZKukXYt26gE+V5ze0RDDZiSiDwy6qeCbwg9N+qv+1o7xb Ys8/+ZgJ7gjJLqXLSmTJJ6ujBdHZCTSy2/IrSnNGqlvv0tsfeUveS9rrGgN2xA== 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 4MfJHP0lShzGBY; Fri, 30 Sep 2022 18:12:49 +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 28UICn1U006159; Fri, 30 Sep 2022 18:12:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28UICnV2006158; Fri, 30 Sep 2022 18:12:49 GMT (envelope-from git) Date: Fri, 30 Sep 2022 18:12:49 GMT Message-Id: <202209301812.28UICnV2006158@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: 5c648bf25f56 - main - security/john: attempt to fix the build on 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: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5c648bf25f56ca85cf4bbc21cc2ec3fb7ffbdc77 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664561569; 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=EeC94w5b/OjbXB3g57mgz9VUB9Ccv2Ske0ZeEkaUIcw=; b=WOg/SABZE92azndsv4XYIys0lJRQVMSssBEbQDnprfGMv7hD3umI5fD4EwFVxzHKhIY0y5 yxn/YrTwttVz9c0gYvh4mQuf5pzdTTP+/XNCWTe2y9BOsbYKK11msYLbriu9drCfT/9Yfi YDOD3hF6pqlAQxWd0QhurTT5Os7GTk2Touvodd66nv+ZTv2z/ZNnNebtMc5nZosKKE1MYw voa2mWPzc0ZweLBWlK1+yubfGxVV+dcbqyEhrD0XMshC1NJ/zVI1emLP4Z7B70hjAyuV4c /8HGr5wpTWhzu2gillOLj/xK3MBT9updTi7bYk+c5kS5i9VPDqCvVrpDnrWe9Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664561569; a=rsa-sha256; cv=none; b=YzfuX94ERFXH+z8BVvUOh3WqUQjO1G43moej86FNWxT86P9kBKw0wXa9nujI4QE2OqW+A6 FBPePAy9mcqL0kbI4vMAVD9uvDnPQpsZuIDE9oC8xhyfMpk4LffyLKCDd8cDTfMnNyHmyf FxfivGbXnpPjRZz4OpUwc5iqTne84FB55J+9i44DsgXwrHHnODjELaDzIFDzUq2bOi9qxM vR8GA0DCBQxsB7lnKqnNIJ+scIr28zqEiJXk4s/7bjA2j7jh+kxwz0t8zXHhQsJYWzPi3O M2Av6aXv+30ko02lsb+KaITTE3wBYw4+0A9PpvQsZq/50jhXJM+cLq3GplVgiA== 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=5c648bf25f56ca85cf4bbc21cc2ec3fb7ffbdc77 commit 5c648bf25f56ca85cf4bbc21cc2ec3fb7ffbdc77 Author: Alexey Dokuchaev AuthorDate: 2022-09-30 18:11:46 +0000 Commit: Alexey Dokuchaev CommitDate: 2022-09-30 18:11:46 +0000 security/john: attempt to fix the build on armv7 This is from upstream commit c9825e6 which improves ARM pseudo-intrinsics portability. PR: 266729 Submitted by: Robert Clausecker --- security/john/files/patch-pseudo__intrinsics.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/security/john/files/patch-pseudo__intrinsics.h b/security/john/files/patch-pseudo__intrinsics.h new file mode 100644 index 000000000000..4be9a9148d12 --- /dev/null +++ b/security/john/files/patch-pseudo__intrinsics.h @@ -0,0 +1,17 @@ +--- pseudo_intrinsics.h.orig 2019-04-09 16:13:11 UTC ++++ pseudo_intrinsics.h +@@ -66,10 +66,10 @@ typedef union { + #define VLOADU_EMULATED 1 + #define vor(x, y) (vtype)vorrq_u32((x).v32, (y).v32) + #define vorn(x, y) (vtype)vornq_u32((x).v32, (y).v32) +-#define vroti_epi32(x, i) (i > 0 ? (vtype)vsliq_n_u32(vshrq_n_u32((x).v32, 32 - (i)), (x).v32, i) : \ +- (vtype)vsriq_n_u32(vshlq_n_u32((x).v32, 32 + (i)), (x).v32, -(i))) +-#define vroti_epi64(x, i) (i > 0 ? (vtype)vsliq_n_u64(vshrq_n_u64((x).v64, 64 - (i)), (x).v64, i) : \ +- (vtype)vsriq_n_u64(vshlq_n_u64((x).v64, 64 + (i)), (x).v64, -(i))) ++#define vroti_epi32(x, i) (i > 0 ? (vtype)vsliq_n_u32(vshrq_n_u32((x).v32, 32 - ((i) & 31)), (x).v32, (i) & 31) : \ ++ (vtype)vsriq_n_u32(vshlq_n_u32((x).v32, (32 + (i)) & 31), (x).v32, (-(i)) & 31)) ++#define vroti_epi64(x, i) (i > 0 ? (vtype)vsliq_n_u64(vshrq_n_u64((x).v64, 64 - ((i) & 63)), (x).v64, (i) & 63) : \ ++ (vtype)vsriq_n_u64(vshlq_n_u64((x).v64, (64 + (i)) & 63), (x).v64, (-(i)) & 63)) + #define vroti16_epi32 vroti_epi32 + #define vset1_epi32(i) (vtype)vdupq_n_u32(i) + #define vset1_epi64(i) (vtype)vdupq_n_u64(i)