git: 34632cf318b6 - main - games/jumpy: fix build on powerpc64le
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 03 Aug 2026 15:21:46 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=34632cf318b642a896bad793f4ad342bb1a0c0df
commit 34632cf318b642a896bad793f4ad342bb1a0c0df
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2026-08-02 14:38:31 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2026-08-03 15:21:19 +0000
games/jumpy: fix build on powerpc64le
Same as net/sendme.
---
...rates_iroh-net-0.22.0_src_net_interfaces_bsd_freebsd.rs | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/games/jumpy/files/patch-cargo-crates_iroh-net-0.22.0_src_net_interfaces_bsd_freebsd.rs b/games/jumpy/files/patch-cargo-crates_iroh-net-0.22.0_src_net_interfaces_bsd_freebsd.rs
new file mode 100644
index 000000000000..7a1f02939a22
--- /dev/null
+++ b/games/jumpy/files/patch-cargo-crates_iroh-net-0.22.0_src_net_interfaces_bsd_freebsd.rs
@@ -0,0 +1,14 @@
+--- cargo-crates/iroh-net-0.22.0/src/net/interfaces/bsd/freebsd.rs.orig 2026-08-02 10:42:53 UTC
++++ cargo-crates/iroh-net-0.22.0/src/net/interfaces/bsd/freebsd.rs
+@@ -203,9 +203,9 @@ mod arm {
+ }
+
+ // Hardcoded based on the generated values here: https://cs.opensource.google/go/x/net/+/master:route/zsys_freebsd_arm.go
+-#[cfg(target_arch = "aarch64")]
++#[cfg(any(target_arch = "aarch64", target_arch = "powerpc64", target_arch = "riscv64"))]
+ pub use self::arm64::*;
+-#[cfg(target_arch = "aarch64")]
++#[cfg(any(target_arch = "aarch64", target_arch = "powerpc64", target_arch = "riscv64"))]
+ mod arm64 {
+ pub const SIZEOF_IF_MSGHDRL_FREE_BSD10: usize = 0xb0;
+ pub const SIZEOF_IFA_MSGHDR_FREE_BSD10: usize = 0x14;