git: 72b5f2baa7e2 - main - devel/elf: Fix build with readline 8.3+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 05 Nov 2025 10:24:35 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=72b5f2baa7e242cf13db75e203b7c8e0208e88c4
commit 72b5f2baa7e242cf13db75e203b7c8e0208e88c4
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-11-05 10:18:54 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-11-05 10:23:45 +0000
devel/elf: Fix build with readline 8.3+
PR: 290581
Approved by: portmgr (blanket)
---
devel/elf/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/devel/elf/Makefile b/devel/elf/Makefile
index b1628609ab42..3bfbc23e0ba0 100644
--- a/devel/elf/Makefile
+++ b/devel/elf/Makefile
@@ -11,6 +11,8 @@ LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gmake libedit readline
+
+CPPFLAGS+= -DWANT_OBSOLETE_TYPEDEFS
GNU_CONFIGURE= yes
PLIST_FILES= bin/elf share/man/man1/elf.1.gz