aboutsummaryrefslogtreecommitdiffstats
path: root/databases/sqsh/files
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2014-07-06 00:31:08 +0800
committermarino <marino@FreeBSD.org>2014-07-06 00:31:08 +0800
commit55c9e9d1b1fa9122ceb216acbb16223e3e8321fc (patch)
treea3f26b8b05ccaadea130d8b24edd0116793f3aa5 /databases/sqsh/files
parent9faf3f7ee4d952efc3c81c2d08e224dffa69acd2 (diff)
downloadfreebsd-ports-gnome-55c9e9d1b1fa9122ceb216acbb16223e3e8321fc.tar.gz
freebsd-ports-gnome-55c9e9d1b1fa9122ceb216acbb16223e3e8321fc.tar.zst
freebsd-ports-gnome-55c9e9d1b1fa9122ceb216acbb16223e3e8321fc.zip
databases/sqsh: Fix build for ports readline (dports)
Diffstat (limited to 'databases/sqsh/files')
-rw-r--r--databases/sqsh/files/patch-src_sqsh__readline.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/sqsh/files/patch-src_sqsh__readline.c b/databases/sqsh/files/patch-src_sqsh__readline.c
new file mode 100644
index 000000000000..208e22a97af8
--- /dev/null
+++ b/databases/sqsh/files/patch-src_sqsh__readline.c
@@ -0,0 +1,11 @@
+--- src/sqsh_readline.c.orig 2012-03-29 16:25:46.000000000 +0000
++++ src/sqsh_readline.c
+@@ -145,7 +145,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