[75561] trunk/dports/net/rsync
jmr at macports.org
jmr at macports.org
Sun Jan 30 09:55:28 PST 2011
Revision: 75561
http://trac.macports.org/changeset/75561
Author: jmr at macports.org
Date: 2011-01-30 09:55:25 -0800 (Sun, 30 Jan 2011)
Log Message:
-----------
rsync: apply upstream fix for creation times on 64-bit (#22495)
Modified Paths:
--------------
trunk/dports/net/rsync/Portfile
trunk/dports/net/rsync/files/patch-crtimes.diff
Modified: trunk/dports/net/rsync/Portfile
===================================================================
--- trunk/dports/net/rsync/Portfile 2011-01-30 17:22:29 UTC (rev 75560)
+++ trunk/dports/net/rsync/Portfile 2011-01-30 17:55:25 UTC (rev 75561)
@@ -4,6 +4,7 @@
name rsync
version 3.0.7
+revision 1
categories net
platforms darwin freebsd sunos
maintainers nomaintainer
@@ -27,6 +28,8 @@
depends_lib port:popt port:libiconv
+# these come from http://rsync.samba.org/ftp/rsync/rsync-patches-3.0.7.tar.gz
+# and need to be updated with each release
patchfiles patch-fileflags.diff \
patch-crtimes.diff
patch.pre_args -p1
Modified: trunk/dports/net/rsync/files/patch-crtimes.diff
===================================================================
--- trunk/dports/net/rsync/files/patch-crtimes.diff 2011-01-30 17:22:29 UTC (rev 75560)
+++ trunk/dports/net/rsync/files/patch-crtimes.diff 2011-01-30 17:55:25 UTC (rev 75561)
@@ -469,14 +469,17 @@
diff --git a/syscall.c b/syscall.c
--- a/syscall.c
+++ b/syscall.c
-@@ -37,6 +37,11 @@ extern int force_change;
+@@ -37,6 +37,14 @@ extern int force_change;
extern int preserve_perms;
extern int preserve_executability;
++#pragma pack(push)
++#pragma pack(4)
+struct create_time {
-+ unsigned long length;
++ uint32 length;
+ struct timespec crtime;
+};
++#pragma pack(pop)
+
#define RETURN_ERROR_IF(x,e) \
do { \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110130/65608aa4/attachment.html>
More information about the macports-changes
mailing list