git: d972c2500ee8 - main - devel/ruby-subversion: Fix build with Ruby 3.x

From: Lev A. Serebryakov <lev_at_FreeBSD.org>
Date: Mon, 21 Mar 2022 11:10:22 UTC
The branch main has been updated by lev:

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

commit d972c2500ee85ac0c13b9c8697755ee05a46df05
Author:     Lev A. Serebryakov <lev@FreeBSD.org>
AuthorDate: 2022-03-21 11:07:17 +0000
Commit:     Lev A. Serebryakov <lev@FreeBSD.org>
CommitDate: 2022-03-21 11:10:16 +0000

    devel/ruby-subversion: Fix build with Ruby 3.x
    
    PR:             262458
    Reported by:    Yasuhiro Kimura <yasu@freebsd.org>
---
 devel/ruby-subversion/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/devel/ruby-subversion/Makefile b/devel/ruby-subversion/Makefile
index e6d323019d4d..4398eec5bdc1 100644
--- a/devel/ruby-subversion/Makefile
+++ b/devel/ruby-subversion/Makefile
@@ -24,4 +24,6 @@ CONFIGURE_ARGS+=	--without-gnome-keyring \
 ALL_TARGET=	swig-rb-lib swig-rb
 INSTALL_TARGET=	install-swig-rb
 
+CFLAGS+=	-fdeclspec
+
 .include <bsd.port.post.mk>