[132784] trunk/dports/sysutils/sqsh
dh at macports.org
dh at macports.org
Tue Feb 10 14:34:22 PST 2015
Revision: 132784
https://trac.macports.org/changeset/132784
Author: dh at macports.org
Date: 2015-02-10 14:34:22 -0800 (Tue, 10 Feb 2015)
Log Message:
-----------
Fix sqsh to build against newer readline
Modified Paths:
--------------
trunk/dports/sysutils/sqsh/Portfile
Added Paths:
-----------
trunk/dports/sysutils/sqsh/files/
trunk/dports/sysutils/sqsh/files/patch-sqsh_readline.c
Modified: trunk/dports/sysutils/sqsh/Portfile
===================================================================
--- trunk/dports/sysutils/sqsh/Portfile 2015-02-10 22:17:29 UTC (rev 132783)
+++ trunk/dports/sysutils/sqsh/Portfile 2015-02-10 22:34:22 UTC (rev 132784)
@@ -5,6 +5,7 @@
name sqsh
version 2.4
+revision 1
categories sysutils databases
license GPL-2+
maintainers dh openmaintainer
@@ -22,8 +23,9 @@
depends_lib port:readline port:freetds
extract.suffix .tgz
+patchfiles patch-sqsh_readline.c
+
post-patch {
- reinplace "s|LDFLAGS =|LDFLAGS = @LDFLAGS@|g" ${worksrcpath}/src/Makefile.in
reinplace "s|malloc.h|stdlib.h|" ${worksrcpath}/src/sqsh_parser/tsql.c
}
Added: trunk/dports/sysutils/sqsh/files/patch-sqsh_readline.c
===================================================================
--- trunk/dports/sysutils/sqsh/files/patch-sqsh_readline.c (rev 0)
+++ trunk/dports/sysutils/sqsh/files/patch-sqsh_readline.c 2015-02-10 22:34:22 UTC (rev 132784)
@@ -0,0 +1,11 @@
+--- src/sqsh_readline.c.orig 2015-02-11 11:00:04.000000000 +1300
++++ src/sqsh_readline.c 2015-02-11 11:08:13.000000000 +1300
+@@ -159,7 +159,7 @@
+
+ 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150210/226b6e55/attachment.html>
More information about the macports-changes
mailing list