From 1b251dd8046bb5301205269b9accfe2c83277d07 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Tue, 20 Sep 2016 22:27:44 +0200 Subject: [PATCH] clisp: fix build with readline-7.0 --- srcpkgs/clisp/patches/readline-7.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 srcpkgs/clisp/patches/readline-7.patch diff --git a/srcpkgs/clisp/patches/readline-7.patch b/srcpkgs/clisp/patches/readline-7.patch new file mode 100644 index 00000000000..939342c6f4f --- /dev/null +++ b/srcpkgs/clisp/patches/readline-7.patch @@ -0,0 +1,11 @@ +--- modules/readline/readline.lisp.orig 2016-09-20 22:23:51.876046496 +0200 ++++ modules/readline/readline.lisp 2016-09-20 22:24:11.070047486 +0200 +@@ -424,7 +424,7 @@ + "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.