git: ed91d546d1a6 - main - textproc/refdb: Fix build with readline 8.3+

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 05 Nov 2025 10:24:42 UTC
The branch main has been updated by sunpoet:

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

commit ed91d546d1a6afc2f1d68bc4d5dd2f5c3676bea3
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-11-05 10:19:11 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-11-05 10:23:47 +0000

    textproc/refdb: Fix build with readline 8.3+
    
    PR:             290581
    Approved by:    portmgr (blanket)
---
 textproc/refdb/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/textproc/refdb/Makefile b/textproc/refdb/Makefile
index 1e79ccc7d44b..6a18e9245f97 100644
--- a/textproc/refdb/Makefile
+++ b/textproc/refdb/Makefile
@@ -23,6 +23,7 @@ INSTALL_TARGET=	install-strip
 PORTDOCS=	*
 
 CFLAGS+=	-I${LOCALBASE}/include
+CPPFLAGS+=	-DWANT_OBSOLETE_TYPEDEFS
 LIBS+=		-lm
 
 CONFIGURE_ARGS=	--with-expat-lib=${LOCALBASE}/lib \