diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-03-08 03:57:26 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-03-08 03:57:26 +0000 |
commit | 2f1decd3dde75b8ed601dfdca2833879703012c8 (patch) | |
tree | 0516712500d0595136e9a1da4ece6cf04c22606c /extra/ruby/0001-Fix-undeclared-identifier-error-by-using-the-actual-.patch | |
parent | d44823e5676f0edd0e259c7c33d5640a043748ac (diff) |
Sat Mar 8 03:54:50 UTC 2014
Diffstat (limited to 'extra/ruby/0001-Fix-undeclared-identifier-error-by-using-the-actual-.patch')
-rw-r--r-- | extra/ruby/0001-Fix-undeclared-identifier-error-by-using-the-actual-.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/extra/ruby/0001-Fix-undeclared-identifier-error-by-using-the-actual-.patch b/extra/ruby/0001-Fix-undeclared-identifier-error-by-using-the-actual-.patch new file mode 100644 index 000000000..fed9fd0d8 --- /dev/null +++ b/extra/ruby/0001-Fix-undeclared-identifier-error-by-using-the-actual-.patch @@ -0,0 +1,26 @@ +From 4c4da3fc650a3595ecc06f49072f1ffae07db706 Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic <gostrc@gmail.com> +Date: Sat, 1 Mar 2014 21:41:28 -0800 +Subject: [PATCH] Fix undeclared identifier error by using the actual type of + rl_pre_input_hook + +--- + ext/readline/readline.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/ext/readline/readline.c b/ext/readline/readline.c +index 659adb9..7bc0eed 100644 +--- a/ext/readline/readline.c ++++ b/ext/readline/readline.c +@@ -1974,7 +1974,7 @@ Init_readline() + + 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; +-- +1.9.0 + |