Clisp 2.49 fails to build with upgrade to readline 7.0
|Reported by:||Owned by:|
Eujean Snyman <email@example.com> 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.
Looks like a candidate for a sed.
sed -i /readline-state/s/int/ulong/ modules/readline/readline.lisp
Change History (3)
Note: See TracTickets for help on using tickets.