Last active
August 29, 2015 14:02
-
-
Save mdarty/335722f26a3f7a90ded0 to your computer and use it in GitHub Desktop.
Rsync Makefile change
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- Makefile.old 2015-05-05 03:04:04.706854033 -0500 | |
+++ Makefile 2015-05-05 03:04:41.635848538 -0500 | |
@@ -61,7 +61,8 @@ | |
TIMELIMIT_EXTRA_PATCHES= ${WRKSRC}/patches/time-limit.diff | |
ATIMES_EXTRA_PATCHES= ${WRKSRC}/patches/atimes.diff | |
FLAGS_EXTRA_PATCHES= ${WRKSRC}/patches/fileflags.diff \ | |
- ${FILESDIR}/extrapatch-main.c | |
+ ${FILESDIR}/extrapatch-main.c \ | |
+ ${FILESDIR}/mokomull.diff | |
RENAMED_EXTRA_PATCHES= ${WRKSRC}/patches/detect-renamed.diff | |
ACL_EXTRA_PATCHES= ${WRKSRC}/patches/acls.diff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- rsync-3.1.1/syscall.c 2015-05-05 03:36:38.509718295 -0500 | |
+++ /tmp/syscall.c 2015-05-05 03:40:15.933321667 -0500 | |
@@ -129,7 +129,7 @@ | |
{ | |
if (dry_run) return 0; | |
RETURN_ERROR_IF_RO_OR_LO; | |
- return link(fname1, fname2); | |
+ return linkat(AT_FDCWD, fname1, AT_FDCWD, fname2, 0); | |
} | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment