summaryrefslogtreecommitdiff
path: root/sci-mathematics/gretl/files/gretl-1.9.14-readline.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sci-mathematics/gretl/files/gretl-1.9.14-readline.patch')
-rw-r--r--sci-mathematics/gretl/files/gretl-1.9.14-readline.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/sci-mathematics/gretl/files/gretl-1.9.14-readline.patch b/sci-mathematics/gretl/files/gretl-1.9.14-readline.patch
new file mode 100644
index 000000000000..9f6996b9c916
--- /dev/null
+++ b/sci-mathematics/gretl/files/gretl-1.9.14-readline.patch
@@ -0,0 +1,10 @@
+--- cli/complete.c.ORIG 2007-08-22 16:44:46.000000000 +0200
++++ cli/complete.c 2014-03-26 16:54:40.463070119 +0100
+@@ -126,6 +126,6 @@
+ rl_readline_name = "gretl";
+
+ /* Tell the completer that we want a crack first. */
+- rl_attempted_completion_function = (CPPFunction *) gretl_completion;
++ rl_attempted_completion_function = (rl_completion_func_t*) gretl_completion;
+ }
+