Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Oct 2024 12:07:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 281920] devel/rlwrap: doesn't build, rl_message error
Message-ID:  <bug-281920-7788-NrHZP82FHk@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-281920-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-281920-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281920

Konstantin Belousov <kib@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kib@FreeBSD.org

--- Comment #1 from Konstantin Belousov <kib@FreeBSD.org> ---
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+=3D -DHAVE_STDARG_H
helps.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-281920-7788-NrHZP82FHk>