From nobody Thu Sep 12 15:10:25 2024 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 4X4LTt1vLFz5W1nh; Thu, 12 Sep 2024 15:10:26 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X4LTt0J2Nz4DrM; Thu, 12 Sep 2024 15:10:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726153826; 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=1g6Y+FQ4k3S4RdZryqh8VyAeVlirRqJtDYxisEDz/lE=; b=NYBpwb1caUhDMvzr+w0lWRNJkGee4IdCT+c833gj/czqtwfG/gkIiOpkqk9AHLFQiRthle sRyHhOUjZz/a+uWHNesCyfP/caecjO8ppC23H3Ksi4DHnKTV90z5X8qGSFB/cxjlAc7upt i9hWwVmr6tVyFGiQ2zbiI0TrZ+oKfTx4TOAsNCx1d1COJ0ujdGsMXnvfeqZAifX1uoViOM 45iWaZ2Om5uIZ4WKqnCTeqUO/tAWTjoSJfAuXt2ypSlsiV5bI58kw22340pTHqIW92dTx9 eRk5InyvYIg31E+917LfYZKkhmfcC3KXMdTe24jd8b8ytBTf88qiHQU3t5FOSA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726153826; a=rsa-sha256; cv=none; b=G7x3AjFSA4KOjcwvsf46k4iTOqUYsOrqnCyORrv+FURKRLUuY/sT2BJHHpar2yPnkQ3uCm 68oRihILwc13OtchZpQ0nS6HaTNbDcLlaCq8/rwPaGyqmEPZNXdnTYSNUCc2wQv/Ub7Do1 /lli5kAki1m+2Zso2Xl2LUMn4/Wq0mfWqspntkL5Pb27wUPgIsdMx1gofcTEd50YL18e2H taBWnqc+kYR5bceazwLVZLsiGaazU2PS1Ay7Xc45kGJERpyQ8R/eLTcPLXP6S5N65n5noA HRTDxy/DdEV7BAkVzSus9c9bSDaHeI97s/WfMqOMlPWpD9wk7siYvqx9DOfFuQ== 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=1726153826; 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=1g6Y+FQ4k3S4RdZryqh8VyAeVlirRqJtDYxisEDz/lE=; b=rB+OVo2ial1P5EuCT+M+ZEabtfeh1BNYWLrnNk4sjWnSOrkWG3PD/2hS+A1Wg/jltEOhCh X7P9L8yclRwpYhbwWQiXOaNeYVZY4Rf0EuLklgszUU8MewRhy+oLsLiWWHia8i5VAIR/Ta V6M+TpNmmWHTmhhYK5LvE54bQyPkvvOj3Xcp4rdZJlzK0biX/Ir9AlDimf0gVXjSfya7e4 IAnpJju+7npvB+Ts8gY1cabMM9kPb3IBrXebdIH0b6KlduYea//P6TE+WA5Malu9PYOwaT ODeg7Ez+C50hyjF62yt6U+8EHFNKu1rTOdmhZby9wxOy4++EHlumqyAYy4jtaQ== 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 4X4LTs705xz1Jxm; Thu, 12 Sep 2024 15:10:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 48CFAPau014655; Thu, 12 Sep 2024 15:10:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48CFAP0W014652; Thu, 12 Sep 2024 15:10:25 GMT (envelope-from git) Date: Thu, 12 Sep 2024 15:10:25 GMT Message-Id: <202409121510.48CFAP0W014652@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: bae28b2eaf9d - main - net-p2p/ethash: Fix build on HEAD 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: bae28b2eaf9d16d662e3a81b036b5731c66ae642 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=bae28b2eaf9d16d662e3a81b036b5731c66ae642 commit bae28b2eaf9d16d662e3a81b036b5731c66ae642 Author: Muhammad Moinur Rahman AuthorDate: 2024-09-12 13:51:36 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2024-09-12 15:09:46 +0000 net-p2p/ethash: Fix build on HEAD PR: 281383 Reported by: evenson.not.org@gmail.com --- net-p2p/ethash/files/patch-lib_ethash_endianness.hpp | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/net-p2p/ethash/files/patch-lib_ethash_endianness.hpp b/net-p2p/ethash/files/patch-lib_ethash_endianness.hpp index 4a7546acd522..f6d6375e49b3 100644 --- a/net-p2p/ethash/files/patch-lib_ethash_endianness.hpp +++ b/net-p2p/ethash/files/patch-lib_ethash_endianness.hpp @@ -1,6 +1,6 @@ ---- lib/ethash/endianness.hpp.orig 2021-11-09 08:29:42 UTC +--- lib/ethash/endianness.hpp.orig 2023-04-03 20:30:42 UTC +++ lib/ethash/endianness.hpp -@@ -24,7 +24,7 @@ +@@ -24,13 +24,15 @@ #endif #endif @@ -9,3 +9,11 @@ #define bswap32 __builtin_bswap32 #define bswap64 __builtin_bswap64 #elif defined(_MSC_VER) + #include + #define bswap32 _byteswap_ulong + #define bswap64 _byteswap_uint64 ++#elif defined(__FreeBSD__) ++#include + #endif + + namespace ethash