diff options
Diffstat (limited to '')
-rw-r--r-- | lang/inko/Makefile | 2 | ||||
-rw-r--r-- | lang/inko/files/patch-rust-1.89.0 | 46 |
2 files changed, 47 insertions, 1 deletions
diff --git a/lang/inko/Makefile b/lang/inko/Makefile index fe451adbb01b..43e3457fa04e 100644 --- a/lang/inko/Makefile +++ b/lang/inko/Makefile @@ -1,7 +1,7 @@ PORTNAME= inko DISTVERSIONPREFIX= v DISTVERSION= 0.18.1 -PORTREVISION= 3 +PORTREVISION= 5 CATEGORIES= lang devel MAINTAINER= yuri@FreeBSD.org diff --git a/lang/inko/files/patch-rust-1.89.0 b/lang/inko/files/patch-rust-1.89.0 new file mode 100644 index 000000000000..77da107ad252 --- /dev/null +++ b/lang/inko/files/patch-rust-1.89.0 @@ -0,0 +1,46 @@ +--- rt/src/runtime/byte_array.rs.orig 2025-08-22 09:33:51 UTC ++++ rt/src/runtime/byte_array.rs +@@ -50,6 +50,7 @@ pub unsafe extern "system" fn inko_byte_array_set( + old_value as i64 + } + ++#[allow(dangerous_implicit_autorefs)] + #[no_mangle] + pub unsafe extern "system" fn inko_byte_array_get( + bytes: *mut ByteArray, +--- rt/src/runtime/process.rs.orig 2025-08-22 09:32:50 UTC ++++ rt/src/runtime/process.rs +@@ -156,6 +156,7 @@ pub unsafe extern "system" fn inko_process_stacktrace( + Box::into_raw(Box::new(process.stacktrace())) + } + ++#[allow(dangerous_implicit_autorefs)] + #[no_mangle] + pub unsafe extern "system" fn inko_process_stack_frame_name( + state: *const State, +@@ -167,6 +168,7 @@ pub unsafe extern "system" fn inko_process_stack_frame + InkoString::alloc((*state).string_type, val.clone()) + } + ++#[allow(dangerous_implicit_autorefs)] + #[no_mangle] + pub unsafe extern "system" fn inko_process_stack_frame_path( + state: *const State, +@@ -178,6 +180,7 @@ pub unsafe extern "system" fn inko_process_stack_frame + InkoString::alloc((*state).string_type, val.clone()) + } + ++#[allow(dangerous_implicit_autorefs)] + #[no_mangle] + pub unsafe extern "system" fn inko_process_stack_frame_line( + trace: *const Vec<StackFrame>, +--- rt/src/runtime.rs.orig 2025-08-22 09:32:38 UTC ++++ rt/src/runtime.rs +@@ -102,6 +102,7 @@ pub unsafe extern "system" fn inko_runtime_state( + (*runtime).state.as_ptr() as _ + } + ++#[allow(dangerous_implicit_autorefs)] + #[no_mangle] + pub unsafe extern "system" fn inko_runtime_stack_mask( + runtime: *mut Runtime, |