diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2023-04-12 16:17:52 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2023-04-13 00:56:38 +0000 |
commit | 016cd848e57e535d6826baba8c4b85e185ddffea (patch) | |
tree | fb2e6e539e282f787cbacb9e58cdf3791fe5dddc /games/veloren-weekly/files/patch-wasmer | |
parent | devel/icu: update to 73.1 (diff) |
games/veloren-weekly: update to s20230412
Diffstat (limited to 'games/veloren-weekly/files/patch-wasmer')
-rw-r--r-- | games/veloren-weekly/files/patch-wasmer | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/games/veloren-weekly/files/patch-wasmer b/games/veloren-weekly/files/patch-wasmer new file mode 100644 index 000000000000..6a96e688b71f --- /dev/null +++ b/games/veloren-weekly/files/patch-wasmer @@ -0,0 +1,13 @@ +https://github.com/wasmerio/wasmer/commit/40403fed73d6 + +--- cargo-crates/wasmer-vm-2.3.0/src/trap/traphandlers.rs.orig 1970-01-01 00:00:00 UTC ++++ cargo-crates/wasmer-vm-2.3.0/src/trap/traphandlers.rs +@@ -271,7 +271,7 @@ cfg_if::cfg_if! { + ))] { + pc = context.uc_mcontext.gregs[libc::REG_EIP as usize] as usize; + sp = context.uc_mcontext.gregs[libc::REG_ESP as usize] as usize; +- } else if #[cfg(all(target_os = "freebsd", target_arch = "x86"))] { ++ } else if #[cfg(all(target_os = "freebsd", any(target_arch = "x86", target_arch = "x86_64")))] { + pc = context.uc_mcontext.mc_rip as usize; + sp = context.uc_mcontext.mc_rsp as usize; + } else if #[cfg(all(target_vendor = "apple", target_arch = "x86_64"))] { |