Created attachment 231020 [details] Patch to update The attached patch updates to the latest git snapshot of parinfer-rust. The version 0.4.3 does not seem to work with GNU Emacs[0]. If you like to test Emacs support, then once port, and the Emacs package[1] is installed, one need to '(setq parinfer-rust-library "%%PREFIX%%/lib/libparinfer_rust.so")' replacing with %%PREFIX%% with the installation prefix. [0] https://github.com/justinbarclay/parinfer-rust-mode/issues/37 [1] https://github.com/justinbarclay/parinfer-rust-mode Following are the summary of changes: - Update to latest git snapshot - Remove the already upstream-ed vim support patch Thanks!
Also, I forgot to mention, as Emacs dlopens the .so file, the .so file need to preserve the symbols, and so "STRIP=".
Feel free to commit. Approved by: mikael
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=32227949c17ad754b953a2c6332f2a4dbfe3c046 commit 32227949c17ad754b953a2c6332f2a4dbfe3c046 Author: Ashish SHUKLA <ashish@FreeBSD.org> AuthorDate: 2022-01-18 14:42:59 +0000 Commit: Ashish SHUKLA <ashish@FreeBSD.org> CommitDate: 2022-01-18 14:47:37 +0000 editors/parinfer-rust: Update to latest git snapshot - Explicitly enable support for Emacs - Remove the already upstream-ed vim support patch PR: 261221 Approved by: mikael (maintainer) editors/parinfer-rust/Makefile | 151 +++++---- editors/parinfer-rust/distinfo | 340 ++++++++++----------- .../files/patch-plugin_parinfer.vim (gone) | 13 - 3 files changed, 230 insertions(+), 274 deletions(-)
Committed, thanks!