summaryrefslogtreecommitdiffstats
path: root/main/ruby/readline-6.3.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-03-20 14:36:24 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-03-20 14:36:51 +0000
commita09553ac6c535ce804805e7f143d7daa932efa25 (patch)
treee3a78766ff73a86811bbc77f37226dd6a39fc537 /main/ruby/readline-6.3.patch
parent4acd2c992bb19b9125ddce9b268e207eee378af9 (diff)
downloadaports-a09553ac6c535ce804805e7f143d7daa932efa25.tar.bz2
aports-a09553ac6c535ce804805e7f143d7daa932efa25.tar.xz
main/ruby: build fix for readline-6.3
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;