git: 2cb799ec1ee9 - main - x11/rio: backport simdutf fix to fix build on powerpc64

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Thu, 24 Sep 2026 12:54:26 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2cb799ec1ee9e652ba9953e0d1d5e1a2fd64c1f0

commit 2cb799ec1ee9e652ba9953e0d1d5e1a2fd64c1f0
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2026-09-18 13:19:43 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2026-09-24 12:53:45 +0000

    x11/rio: backport simdutf fix to fix build on powerpc64
---
 x11/rio/files/patch-cargo-crates_simdutf-0.7.0_cpp_simdutf.h | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/x11/rio/files/patch-cargo-crates_simdutf-0.7.0_cpp_simdutf.h b/x11/rio/files/patch-cargo-crates_simdutf-0.7.0_cpp_simdutf.h
new file mode 100644
index 000000000000..ede02243dd22
--- /dev/null
+++ b/x11/rio/files/patch-cargo-crates_simdutf-0.7.0_cpp_simdutf.h
@@ -0,0 +1,11 @@
+--- cargo-crates/simdutf-0.7.0/cpp/simdutf.h.orig	2026-09-18 12:23:35 UTC
++++ cargo-crates/simdutf-0.7.0/cpp/simdutf.h
+@@ -165,7 +165,7 @@
+ #elif defined(__aarch64__) || defined(_M_ARM64) || defined(_M_ARM64EC)
+   #define SIMDUTF_IS_ARM64 1
+ #elif defined(__PPC64__) || defined(_M_PPC64)
+-  #if defined(__VEC__) && defined(__ALTIVEC__)
++  #if defined(__VEC__) && defined(__ALTIVEC__) && defined(__POWER8_VECTOR__)
+     #define SIMDUTF_IS_PPC64 1
+   #endif
+ #elif defined(__s390__)