Summary: | devel/rlwrap: doesn't build, rl_message error | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Zsolt Udvari <uzsolt> |
Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | gamato, kib, sunpoet |
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(gamato) |
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Zsolt Udvari
2024-10-07 11:57:53 UTC
The problem is that rlstd.c has the following block: /* Moved from config.h.in because readline.h:rl_message depends on these defines. */ #if defined (__STDC__) && defined (HAVE_STDARG_H) # define PREFER_STDARG # define USE_VARARGS which checks for HAVE_STDARG_H. This assumes that the consumer a) uses autoconf b) checks for stdarg.h c) includes config.h before any readline headers. As a temp fix, CFLAGS+= -DHAVE_STDARG_H helps. A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=e52e44fc0c271a1250991d648867319db93cb605 commit e52e44fc0c271a1250991d648867319db93cb605 Author: Zsolt Udvari <uzsolt@FreeBSD.org> AuthorDate: 2024-10-07 14:10:19 +0000 Commit: Zsolt Udvari <uzsolt@FreeBSD.org> CommitDate: 2024-10-07 14:12:34 +0000 devel/rlwrap: fix rl_message() build error Should define HAVE_STDARG_H and as a temporary fix add it to CFLAGS. While I'm here, remove GNU_CONFIGURE_MANPREFIX and unneeded python_OLD_CMD (declared already). PR: 281920 Approved by: portmgr (blanket) devel/rlwrap/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (In reply to Konstantin Belousov from comment #1) Thanks for quick fix! |