Created attachment 228979 [details] update to 1.3.2 This new version fixes Ruby 2.7 deprecation, and works with Ruby 3. It was using rb_secure() C API which is removed in Ruby 3. I would like the port to be updated with attached patch. I used this opportunity to make other small changes addressing portlint warnings. Thanks!
Take.
I remembered currently devel/ruby-gems is broken with Ruby 3.0. So merging this update to quarterly branch is meaningless.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=1e999eb5b665ad2f58512755ffb89a05b494df58 commit 1e999eb5b665ad2f58512755ffb89a05b494df58 Author: Thibault Jouan <tj@a13.fr> AuthorDate: 2020-12-28 13:00:21 +0000 Commit: Yasuhiro Kimura <yasu@FreeBSD.org> CommitDate: 2021-11-07 23:44:36 +0000 comms/rubygem-serialport: Update to 1.3.2 This version supports Ruby 3.0. While here, * Switch to DISTVERSION * Pet portlint Changes: https://github.com/hparra/ruby-serialport/commits/v1.3.2 PR: 259396 comms/rubygem-serialport/Makefile | 5 ++--- comms/rubygem-serialport/distinfo | 6 +++--- 2 files changed, 5 insertions(+), 6 deletions(-)
Committed. Thanks!