Created attachment 249445 [details] suggested patch
With this patch I was able to build x11-toolkits/rubygem-gtk2 My small application using this build is running with ruby 3.2.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=0a652002cc99ac5ad962711ffa1af091ea8728a1 commit 0a652002cc99ac5ad962711ffa1af091ea8728a1 Author: Dirk Meyer <dinoex@FreeBSD.org> AuthorDate: 2024-04-06 00:00:09 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-04-06 00:00:09 +0000 x11-toolkits/rubygem-gtk2: Fix build with Ruby 3.2+ PR: 277916 x11-toolkits/rubygem-gtk2/Makefile | 2 -- x11-toolkits/rubygem-gtk2/files/patch-ruby32 (new) | 42 ++++++++++++++++++++++ 2 files changed, 42 insertions(+), 2 deletions(-)
Committed. Thanks!