[56973] trunk/dports/net/tf

toby at macports.org toby at macports.org
Thu Sep 3 21:51:31 PDT 2009


Revision: 56973
          http://trac.macports.org/changeset/56973
Author:   toby at macports.org
Date:     2009-09-03 21:51:31 -0700 (Thu, 03 Sep 2009)
Log Message:
-----------
fix minor warnings

Modified Paths:
--------------
    trunk/dports/net/tf/Portfile

Added Paths:
-----------
    trunk/dports/net/tf/files/patch-src__signals.c
    trunk/dports/net/tf/files/patch-src__socket.c

Modified: trunk/dports/net/tf/Portfile
===================================================================
--- trunk/dports/net/tf/Portfile	2009-09-04 04:45:40 UTC (rev 56972)
+++ trunk/dports/net/tf/Portfile	2009-09-04 04:51:31 UTC (rev 56973)
@@ -22,7 +22,7 @@
                  --enable-getaddrinfo \
                  --disable-ssl
 
-patchfiles	patch-src-malloc.c.diff
+patchfiles	patch-src-malloc.c.diff patch-src__signals.c patch-src__socket.c
 
 post-configure {
     system "ed - ${worksrcpath}/src/tfconfig.h < ${filespath}/tfconfig.h.ed"

Added: trunk/dports/net/tf/files/patch-src__signals.c
===================================================================
--- trunk/dports/net/tf/files/patch-src__signals.c	                        (rev 0)
+++ trunk/dports/net/tf/files/patch-src__signals.c	2009-09-04 04:51:31 UTC (rev 56973)
@@ -0,0 +1,14 @@
+--- src/signals.c.orig	2009-09-03 21:49:37.000000000 -0700
++++ src/signals.c	2009-09-03 21:49:56.000000000 -0700
+@@ -503,9 +503,9 @@
+     while (1) {
+ 	len = strcspn(dir, ":\0");
+ 	if (*dir == '/')
+-	    sprintf(exebuf, "%.*s/%s", len, dir, argv0);
++	    sprintf(exebuf, "%.*s/%s", (int)len, dir, argv0);
+ 	else
+-	    sprintf(exebuf, "%s/%.*s/%s", initial_dir, len, dir, argv0);
++	    sprintf(exebuf, "%s/%.*s/%s", initial_dir, (int)len, dir, argv0);
+ 	if (stat(exebuf, &statbuf) == 0)
+ 	    return exebuf;
+ 	if (!dir[len])

Added: trunk/dports/net/tf/files/patch-src__socket.c
===================================================================
--- trunk/dports/net/tf/files/patch-src__socket.c	                        (rev 0)
+++ trunk/dports/net/tf/files/patch-src__socket.c	2009-09-04 04:51:31 UTC (rev 56973)
@@ -0,0 +1,11 @@
+--- src/socket.c.orig	2009-09-03 21:48:19.000000000 -0700
++++ src/socket.c	2009-09-03 21:49:21.000000000 -0700
+@@ -2600,7 +2600,7 @@
+ 	    socks_with_lines--;
+ 
+ 	if (line->attrs & (F_TFPROMPT)) {
+-	    incoming_text = line;
++	    incoming_text = (String *)line;
+ 	    handle_prompt(incoming_text, 0, TRUE);
+ 	    continue;
+ 	}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090903/7ef441be/attachment-0001.html>


More information about the macports-changes mailing list