git: 6b79e6f12407 - main - devel/moon: fix build on big-endian architectures
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 24 Sep 2026 12:54:25 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6b79e6f1240787a89f344fa4ad57ac22fc63b809
commit 6b79e6f1240787a89f344fa4ad57ac22fc63b809
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2026-09-18 10:56:18 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2026-09-24 12:53:44 +0000
devel/moon: fix build on big-endian architectures
No code in this port uses the raw feature.
---
.../patch-cargo-crates_extism-convert-1.30.0_src_encoding.rs | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/devel/moon/files/patch-cargo-crates_extism-convert-1.30.0_src_encoding.rs b/devel/moon/files/patch-cargo-crates_extism-convert-1.30.0_src_encoding.rs
new file mode 100644
index 000000000000..bf318c92de9a
--- /dev/null
+++ b/devel/moon/files/patch-cargo-crates_extism-convert-1.30.0_src_encoding.rs
@@ -0,0 +1,9 @@
+--- cargo-crates/extism-convert-1.30.0/src/encoding.rs.orig 2026-09-18 10:03:25 UTC
++++ cargo-crates/extism-convert-1.30.0/src/encoding.rs
+@@ -182,6 +182,3 @@ impl<'a, T: bytemuck::Pod> FromBytes<'a> for Raw<'a, T
+ Ok(Raw(x))
+ }
+ }
+-
+-#[cfg(all(feature = "raw", target_endian = "big"))]
+-compile_error!("The raw feature is only supported on little endian targets");