git: c876644efbb3 - main - sysutils/vector: Prepare port for upcoming build change

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Fri, 06 Jan 2023 19:31:05 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c876644efbb362731044c073fb20770d27273a11

commit c876644efbb362731044c073fb20770d27273a11
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-01-06 19:16:41 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-01-06 19:30:53 +0000

    sysutils/vector: Prepare port for upcoming build change
    
    Enabling LTO breaks build
---
 sysutils/vector/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sysutils/vector/Makefile b/sysutils/vector/Makefile
index ef69895760b9..39d56fcc3dcf 100644
--- a/sysutils/vector/Makefile
+++ b/sysutils/vector/Makefile
@@ -558,6 +558,10 @@ CARGO_CRATES=	adler-0.2.3 \
 		rlua@git+https://github.com/kyren/rlua\#25bd7e6bffef9597466a98bfca80a3056c9e6320 \
 		tracing-futures,tracing-tower@git+https://github.com/tokio-rs/tracing?rev=65547d8809fcc726b8187db85b23c42e32ef5dce\#65547d8809fcc726b8187db85b23c42e32ef5dce
 
+# Fixes: error: the linked panic runtime `panic_unwind` is not compiled with
+# this crate's panic strategy `abort`
+LTO_UNSAFE=	yes
+
 post-extract:
 	${RMDIR} ${WRKSRC_wasmtime}/crates/wasi-common/WASI
 	${MV} ${WRKSRC_wasi_wasmtime} ${WRKSRC_wasmtime}/crates/wasi-common/WASI