[123667] trunk/dports/comms/zssh

ryandesign at macports.org ryandesign at macports.org
Tue Aug 12 00:43:19 PDT 2014


Revision: 123667
          https://trac.macports.org/changeset/123667
Author:   ryandesign at macports.org
Date:     2014-08-12 00:43:19 -0700 (Tue, 12 Aug 2014)
Log Message:
-----------
zssh: fix build with readline 6.3 (#44614)

Modified Paths:
--------------
    trunk/dports/comms/zssh/Portfile

Added Paths:
-----------
    trunk/dports/comms/zssh/files/
    trunk/dports/comms/zssh/files/patch-completion.c.diff

Modified: trunk/dports/comms/zssh/Portfile
===================================================================
--- trunk/dports/comms/zssh/Portfile	2014-08-12 07:34:37 UTC (rev 123666)
+++ trunk/dports/comms/zssh/Portfile	2014-08-12 07:43:19 UTC (rev 123667)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem              1.0
@@ -26,6 +27,8 @@
 
 depends_lib             port:readline
 
+patchfiles              patch-completion.c.diff
+
 configure.args          --mandir=${destroot}${prefix}/share/man
 
 use_parallel_build      yes

Added: trunk/dports/comms/zssh/files/patch-completion.c.diff
===================================================================
--- trunk/dports/comms/zssh/files/patch-completion.c.diff	                        (rev 0)
+++ trunk/dports/comms/zssh/files/patch-completion.c.diff	2014-08-12 07:43:19 UTC (rev 123667)
@@ -0,0 +1,11 @@
+--- completion.c.orig	2003-09-01 21:57:07.000000000 -0500
++++ completion.c	2014-08-12 02:40:07.000000000 -0500
+@@ -53,7 +53,7 @@
+     so that if zssh_completion() fails nothing is completed */
+    rl_completion_entry_function = fake_generator;
+    /* Tell the completer that we want a crack first. */
+-   rl_attempted_completion_function = (CPPFunction *) zssh_completion;
++   rl_attempted_completion_function = (rl_completion_func_t *) zssh_completion;
+    
+ }
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140812/3b271e86/attachment.html>


More information about the macports-changes mailing list