Revision: 75561 http://trac.macports.org/changeset/75561 Author: jmr@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 { \