[45244] trunk/dports/editors/mg

macsforever2000 at macports.org macsforever2000 at macports.org
Sun Jan 11 14:09:49 PST 2009


Revision: 45244
          http://trac.macports.org/changeset/45244
Author:   macsforever2000 at macports.org
Date:     2009-01-11 14:09:49 -0800 (Sun, 11 Jan 2009)
Log Message:
-----------
Forgot to add patch file. (#17842)

Added Paths:
-----------
    trunk/dports/editors/mg/files/
    trunk/dports/editors/mg/files/patch-compile.diff

Added: trunk/dports/editors/mg/files/patch-compile.diff
===================================================================
--- trunk/dports/editors/mg/files/patch-compile.diff	                        (rev 0)
+++ trunk/dports/editors/mg/files/patch-compile.diff	2009-01-11 22:09:49 UTC (rev 45244)
@@ -0,0 +1,22 @@
+--- ./buffer.c.orig	2008-12-11 01:32:56.000000000 -0800
++++ ./buffer.c	2009-01-01 19:58:26.000000000 -0800
+@@ -653,7 +653,7 @@
+ 	int	 count;
+ 	size_t	 remain, len;
+ 
+-	len = strlcpy(bn, basename(fn), bs);
++	len = strlcpy(bn, basename((char *)fn), bs);
+ 	if (len >= bs)
+ 		return (FALSE);
+ 
+--- ./file.c.orig	2008-12-11 01:32:56.000000000 -0800
++++ ./file.c	2009-01-01 19:58:58.000000000 -0800
+@@ -676,7 +676,7 @@
+ {
+ 	char *dp;
+ 	
+-	dp = dirname(path);
++	dp = dirname((char *)path);
+ 	if (*dp && dp[0] == '/' && dp[1] == '\0')
+ 		return (strdup(""));
+ 		
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090111/038c8a10/attachment.html>


More information about the macports-changes mailing list