summaryrefslogtreecommitdiffstats
path: root/main/sqsh/readline-6.3.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-03-26 09:09:47 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-03-26 09:09:47 +0000
commitec2da43c51111eaa09bcc37c381521c6f9dada48 (patch)
treeb29ebdefcd924a73b305326dcb510754922fc06c /main/sqsh/readline-6.3.patch
parent7d4c3a9d1265c1ec3f8460d83df8e6a5c019a1a4 (diff)
downloadaports-ec2da43c51111eaa09bcc37c381521c6f9dada48.tar.bz2
aports-ec2da43c51111eaa09bcc37c381521c6f9dada48.tar.xz
main/sqsh: build fix for readline-6.3
Diffstat (limited to 'main/sqsh/readline-6.3.patch')
-rw-r--r--main/sqsh/readline-6.3.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/sqsh/readline-6.3.patch b/main/sqsh/readline-6.3.patch
new file mode 100644
index 000000000..7a8250dcc
--- /dev/null
+++ b/main/sqsh/readline-6.3.patch
@@ -0,0 +1,13 @@
+diff --git a/src/sqsh_readline.c b/src/sqsh_readline.c
+index 2ec565d..f30c119 100644
+--- a/src/sqsh_readline.c
++++ b/src/sqsh_readline.c
+@@ -159,7 +159,7 @@ int sqsh_readline_init()
+
+ rl_readline_name = "sqsh" ;
+ rl_completion_entry_function = (rl_compentry_func_t*)sqsh_completion ;
+- rl_attempted_completion_function = (CPPFunction*)sqsh_completion ;
++ rl_attempted_completion_function = (rl_completion_func_t*)sqsh_completion ;
+
+ /*
+ * sqsh-2.1.8 - Remove '@' and '$' from the readline default list of word break