[118332] trunk/dports/perl/p5-file-rsyncp

ryandesign at macports.org ryandesign at macports.org
Sun Mar 30 17:04:38 PDT 2014


Revision: 118332
          https://trac.macports.org/changeset/118332
Author:   ryandesign at macports.org
Date:     2014-03-30 17:04:38 -0700 (Sun, 30 Mar 2014)
Log Message:
-----------
p5-file-rsyncp: fix build on Mavericks; add p5.18 subport

Modified Paths:
--------------
    trunk/dports/perl/p5-file-rsyncp/Portfile

Added Paths:
-----------
    trunk/dports/perl/p5-file-rsyncp/files/
    trunk/dports/perl/p5-file-rsyncp/files/patch-FileList.flist.c.diff

Modified: trunk/dports/perl/p5-file-rsyncp/Portfile
===================================================================
--- trunk/dports/perl/p5-file-rsyncp/Portfile	2014-03-30 23:39:14 UTC (rev 118331)
+++ trunk/dports/perl/p5-file-rsyncp/Portfile	2014-03-31 00:04:38 UTC (rev 118332)
@@ -4,7 +4,7 @@
 PortSystem              1.0
 PortGroup               perl5 1.0
 
-perl5.branches      5.8 5.10 5.12 5.14 5.16
+perl5.branches          5.8 5.10 5.12 5.14 5.16 5.18
 perl5.setup             File-RsyncP 0.70
 revision                3
 platforms               darwin
@@ -17,3 +17,5 @@
 
 checksums               sha1    5ef21c8b0a5e62cdc0d0bdf697a5bd9caaeafc94 \
                         rmd160  81b404338386e971b7238cc9597ad8c7c4a8e60a
+
+patchfiles              patch-FileList.flist.c.diff

Added: trunk/dports/perl/p5-file-rsyncp/files/patch-FileList.flist.c.diff
===================================================================
--- trunk/dports/perl/p5-file-rsyncp/files/patch-FileList.flist.c.diff	                        (rev 0)
+++ trunk/dports/perl/p5-file-rsyncp/files/patch-FileList.flist.c.diff	2014-03-31 00:04:38 UTC (rev 118332)
@@ -0,0 +1,19 @@
+https://rt.cpan.org/Public/Bug/Display.html?id=94323
+--- FileList/flist.c.orig	2010-07-25 15:50:02.000000000 -0500
++++ FileList/flist.c	2014-03-30 19:02:07.000000000 -0500
+@@ -726,6 +726,7 @@
+  * terminates. bufsize is the size of the destination buffer.
+  * 
+  * Returns the index of the terminating byte. */
++#ifndef HAVE_STRLCPY
+ size_t strlcpy(char *d, const char *s, size_t bufsize)
+ {
+         size_t len = strlen(s);
+@@ -736,6 +737,7 @@
+         d[len] = 0;
+         return ret;
+ }
++#endif
+ 
+ /* we need to supply our own strcmp function for file list comparisons
+    to ensure that signed/unsigned usage is consistent between machines. */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140330/5d4c0f6d/attachment-0001.html>


More information about the macports-changes mailing list