git: ec97355e5656 - main - databases/ruby-qdbm: Fix build with Ruby 3.1 and 12.3-RELEASE

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Fri, 10 Feb 2023 05:51:39 UTC
The branch main has been updated by yasu:

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

commit ec97355e5656184a8131c82ef7321e87494d2266
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2023-01-25 02:47:12 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2023-02-10 05:40:36 +0000

    databases/ruby-qdbm: Fix build with Ruby 3.1 and 12.3-RELEASE
    
    PR:             269144
    Approved by:    maintainer timeout
---
 databases/ruby-qdbm/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/databases/ruby-qdbm/Makefile b/databases/ruby-qdbm/Makefile
index cae7a0573229..f9c545d3784c 100644
--- a/databases/ruby-qdbm/Makefile
+++ b/databases/ruby-qdbm/Makefile
@@ -22,7 +22,7 @@ USE_LDCONFIG=	yes
 CONFIGURE_ENV=	ac_cv_lib_iconv_main=yes
 MAKE_ENV=	CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
 		LOCALBASE="${LOCALBASE}"
-CFLAGS+=	-I${LOCALBASE}/include
+CFLAGS+=	-I${LOCALBASE}/include -fdeclspec
 LDFLAGS+=	-L${LOCALBASE}/lib
 
 post-configure: