View | Details | Raw Unified | Return to bug 268929
Collapse All | Expand All

(-)b/editors/lapce/Makefile (-1 / +1 lines)
Lines 1-7 Link Here
1
PORTNAME=	lapce
1
PORTNAME=	lapce
2
DISTVERSIONPREFIX=	v
2
DISTVERSIONPREFIX=	v
3
DISTVERSION=	0.2.5	# remove openssl-src-* from CARGO-CRATES each update
3
DISTVERSION=	0.2.5	# remove openssl-src-* from CARGO-CRATES each update
4
PORTREVISION=	2
4
PORTREVISION=	3
5
CATEGORIES=	editors
5
CATEGORIES=	editors
6
6
7
MAINTAINER=	eduardo@FreeBSD.org
7
MAINTAINER=	eduardo@FreeBSD.org
(-)b/editors/lapce/files/patch-cargo-crates_wasmtime-runtime-1.0.2_src_traphandlers_unix.rs (+15 lines)
Added Link Here
1
--- cargo-crates/wasmtime-runtime-1.0.2/src/traphandlers/unix.rs.orig	2023-01-13 13:01:32 UTC
2
+++ cargo-crates/wasmtime-runtime-1.0.2/src/traphandlers/unix.rs
3
@@ -228,6 +228,12 @@ unsafe fn get_pc_and_fp(cx: *mut libc::c_void, _signum
4
                 cx.uc_mcontext.mc_rip as *const u8,
5
                 cx.uc_mcontext.mc_rbp as usize,
6
             )
7
+        } else if #[cfg(all(target_os = "freebsd", target_arch = "aarch64"))] {
8
+            let cx = &*(cx as *const libc::mcontext_t);
9
+            (
10
+                cx.mc_gpregs.gp_elr as *const u8,
11
+                cx.mc_gpregs.gp_x[29] as usize,
12
+            )
13
         } else {
14
             compile_error!("unsupported platform");
15
         }

Return to bug 268929