From nobody Mon Oct 23 01:53:46 2023 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 4SDJBf5nFlz4y7Rs; Mon, 23 Oct 2023 01:53:46 +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 4SDJBf4TK8z4F43; Mon, 23 Oct 2023 01:53:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698026026; 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=FGgRlFgbxxFWxFhQ1Me3xlDK4MB+RInSmIXz64H6Rs8=; b=QmXV0RyiDSJm2aOAoYR/BGXIPGqUa+kdnHKqxd9WJDjMTyI5lV+SDz7WAcZlHQDlIpyRZu OyuxXOFSA1Rxg8flfCkHOOYN0QoyjLDietr4guxXRwi2oAvuB74/7g60nr7NVWZ1JCRQEz y2ShgsdU5m9H4Q3UylK9fkDqTFqWJd6oZFCMJ5wvNMTfq5mP+mlEbYvhqzgSk6AJnfbfTD dX9lh/KwurwKaivOpInQb5i+iNu+mKOO1UTx/2D/LZqqep4q6KG8uLVpIiRVvkh2icRwRP ZdSnFv4zvmR/dcVZIZOKJA582LatZeoksn+xXvZaMJDlGa4q7Jc1dCIe2VbdFQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698026026; a=rsa-sha256; cv=none; b=OE626LYBpkqdzWpWg4u7o1THbnqQzN0GyxJ+T17/UQAzoVdQLpaRKEIAtCLOmUaLkY352G zR9Jmm85nNkEWAflNe5d7efs4hAdr3ilzlypSBDFg+V1Dy/gMbHHYRD8O4fgst3X+9i768 w0Tfzrkkh8LLwyCkI5CCd5Q0a/jkEUSXfIqSZk6kEmwQLYinFJghUaf4JwmNcq15MB4TBp Or7+CqvUmqF0/vM30PSLPjoFQmawG7VFBZGCzDjbT0ORzd/iar5nyJroWOpQ8BZYLpACru MOZt6U2koo4CXpGLTO3JVTD0hnziejAgUTC5RXHjN5LUpx5ZSaXHW40BjxyyPw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698026026; 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=FGgRlFgbxxFWxFhQ1Me3xlDK4MB+RInSmIXz64H6Rs8=; b=GA1QzYqgokBbgGKVJ165RrJVENcdtXhisUTWrQAAmn7auPTkAvXYu+NxWIW1CaHIU3UYVZ wY4fd5F2OfnjqEPZOolfm/iondJVCGxFQ7Wk9OuQKQLFked60Wni4Y53Ax2h7i395QgDaJ 8tGIIPgIlBaH7jDxtm+/qEXw/kRP6m6C6BNBssOAwUUe7CsQJUNQt6EoPE1eX2gaUO2Bpm jV0uHILMVITRyfKH4m+aP1TmawkzjnS7Hg51IeG26bbnVqXwmb5Dtc/hC4yzute9dcZHQZ o9NPYqeTZqtk+EoxEqG+G210EiRol7b4Ch8OOeDdLPNSaZbtNKQp/17JsXES+g== 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 4SDJBf3ZlJz6X3; Mon, 23 Oct 2023 01:53:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 39N1rk1K013504; Mon, 23 Oct 2023 01:53:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39N1rkSh013501; Mon, 23 Oct 2023 01:53:46 GMT (envelope-from git) Date: Mon, 23 Oct 2023 01:53:46 GMT Message-Id: <202310230153.39N1rkSh013501@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: 362ade45f850 - main - net-p2p/monero-cli: fix build on i386 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: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 362ade45f8500addacff204e1e10b9eea2d24e6a Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=362ade45f8500addacff204e1e10b9eea2d24e6a commit 362ade45f8500addacff204e1e10b9eea2d24e6a Author: Robert Clausecker AuthorDate: 2023-10-23 01:53:25 +0000 Commit: Robert Clausecker CommitDate: 2023-10-23 01:53:25 +0000 net-p2p/monero-cli: fix build on i386 This crypto code is for amd64 only. Don't attempt to build it on i386. Approved by: portmgr (build fix blanket) --- net-p2p/monero-cli/Makefile | 1 - net-p2p/monero-cli/files/patch-src_crypto_CMakeLists.txt | 11 +++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/net-p2p/monero-cli/Makefile b/net-p2p/monero-cli/Makefile index 7f44f7489793..c8737e923599 100644 --- a/net-p2p/monero-cli/Makefile +++ b/net-p2p/monero-cli/Makefile @@ -11,7 +11,6 @@ WWW= https://getmonero.org/ LICENSE= BSD3CLAUSE BROKEN_SSL= libressl -BROKEN_i386= fails to compile: register r15d is only available in 64-bit mode BROKEN_aarch64= fails to compile: uses unavailable HWCAP_AES and getauxval LIB_DEPENDS= \ diff --git a/net-p2p/monero-cli/files/patch-src_crypto_CMakeLists.txt b/net-p2p/monero-cli/files/patch-src_crypto_CMakeLists.txt new file mode 100644 index 000000000000..20d27ee524e0 --- /dev/null +++ b/net-p2p/monero-cli/files/patch-src_crypto_CMakeLists.txt @@ -0,0 +1,11 @@ +--- src/crypto/CMakeLists.txt.orig 2023-10-23 03:21:28 UTC ++++ src/crypto/CMakeLists.txt +@@ -50,7 +50,7 @@ set(crypto_sources + CryptonightR_JIT.c + tree-hash.c) + +-if(ARCH_ID STREQUAL "i386" OR ARCH_ID STREQUAL "x86_64" OR ARCH_ID STREQUAL "x86-64" OR ARCH_ID STREQUAL "amd64") ++if(ARCH_ID STREQUAL "x86_64" OR ARCH_ID STREQUAL "x86-64" OR ARCH_ID STREQUAL "amd64") + list(APPEND crypto_sources CryptonightR_template.S) + endif() +