On Wed, Jul 12, 2017 at 12:10:47PM +0200, Eujean Snyman wrote:
> Hi there
> 
> It seems Clisp 2.49 fails to build with readline 7.0 the extern variable
> rl_readline_state from readline changed from int to unsigned long. This
> breaks compilation of clisp-2.49 with readline enabled (as it is by
> default) because the expected size/alignment does not match the actual one
> (at least on NetBSD-7.99.38/amd64).
> 
               ^^^^^^^^^^^^^^

Umm, are you sure you're on the right list ?

On my current system (LFS and BLFS svn from mid-May, with BLFS
upgrades including texlive-2017 and current clisp-2.49), no such
problem.

> The simplest fix I could find:
> 
> --- modules/readline/readline.lisp.orig
> +++ modules/readline/readline.lisp
> @@ -424,7 +424,7 @@ name in ~/.inputrc.
> "The version of this incarnation of the readline library, e.g., 0x0402."))
> (def-c-var gnu-readline-p (:name "rl_gnu_readline_p") (:type int)
> (:documentation "True if this is real GNU readline."))
> -(def-c-var readline-state (:name "rl_readline_state") (:type int)
> +(def-c-var readline-state (:name "rl_readline_state") (:type ulong)
> (:documentation "Flags word encapsulating the current readline state."))
> (def-c-var editing-mode (:name "rl_editing_mode") (:type int)
> (:documentation "Says which editing mode readline is currently using.
> 
> Regards
> Eujean

> -- 
> http://lists.linuxfromscratch.org/listinfo/blfs-dev
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page


-- 
I live in a city. I know sparrows from starlings.  After that
everything is a duck as far as I'm concerned.  -- Monstrous Regiment
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to