summaryrefslogtreecommitdiffstats
path: root/main/ruby/readline-6.3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/ruby/readline-6.3.patch')
-rw-r--r--main/ruby/readline-6.3.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/ruby/readline-6.3.patch b/main/ruby/readline-6.3.patch
new file mode 100644
index 000000000..809580df6
--- /dev/null
+++ b/main/ruby/readline-6.3.patch
@@ -0,0 +1,11 @@
+--- ./ext/readline/readline.c.orig
++++ ./ext/readline/readline.c
+@@ -1883,7 +1883,7 @@
+
+ rl_attempted_completion_function = readline_attempted_completion_function;
+ #if defined(HAVE_RL_PRE_INPUT_HOOK)
+- rl_pre_input_hook = (Function *)readline_pre_input_hook;
++ rl_pre_input_hook = (rl_hook_func_t *)readline_pre_input_hook;
+ #endif
+ #ifdef HAVE_RL_CATCH_SIGNALS
+ rl_catch_signals = 0;