git: 072b5cdbca91 - 2025Q2 - devel/highway: unbreak build on riscv64

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Fri, 11 Apr 2025 14:18:27 UTC
The branch 2025Q2 has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=072b5cdbca9150c2a1a69ff2cdc06d7329386ee3

commit 072b5cdbca9150c2a1a69ff2cdc06d7329386ee3
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2025-04-11 14:04:50 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2025-04-11 14:18:13 +0000

    devel/highway: unbreak build on riscv64
    
    In file included from hwy/nanobenchmark.cc:28:
    In file included from hwy/timer-inl.h:26:
    In file included from hwy/highway.h:21:
    hwy/detect_targets.h:750:2: error: "Logic error: best baseline should be included in dynamic targets"
      750 | #error "Logic error: best baseline should be included in dynamic targets"
          |  ^
    
    PR:             285977
    Reported by:    Rich Dunkle
    Tested by:      Rich Dunkle
    
    (cherry picked from commit eabed8b1aa83e6b1965101c8cdd662f6a40ed7b7)
---
 devel/highway/Makefile | 3 +++
 devel/highway/distinfo | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/devel/highway/Makefile b/devel/highway/Makefile
index fc167c149883..ca9bbe9509e0 100644
--- a/devel/highway/Makefile
+++ b/devel/highway/Makefile
@@ -2,6 +2,9 @@ PORTNAME=	highway
 DISTVERSION=	1.2.0
 CATEGORIES=	devel
 
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+=	c95cc0237d2f.patch:-p1 # https://github.com/google/highway/pull/2230
+
 MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	Performance-portable, length-agnostic SIMD with runtime dispatch
 WWW=		https://github.com/google/highway
diff --git a/devel/highway/distinfo b/devel/highway/distinfo
index cc49fa297b0d..d92da04f5ccf 100644
--- a/devel/highway/distinfo
+++ b/devel/highway/distinfo
@@ -1,3 +1,5 @@
 TIMESTAMP = 1717169470
 SHA256 (google-highway-1.2.0_GH0.tar.gz) = 7e0be78b8318e8bdbf6fa545d2ecb4c90f947df03f7aadc42c1967f019e63343
 SIZE (google-highway-1.2.0_GH0.tar.gz) = 2234665
+SHA256 (c95cc0237d2f.patch) = 81d2248de29b07fce1a949f7c251d8279687ee38fe8646e131ca7d1ea8a72d6a
+SIZE (c95cc0237d2f.patch) = 3460