From db809b286e2d4d41ea926a41055e53e4abced1f6 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Tue, 26 May 2009 18:38:42 +0000 Subject: [PATCH] * reworked patch such that -H (hard-link support) is no longer filtered out thanks to Ingo for the note --- net-misc/rsync/rsync-3.0.6-haiku.patch | 32 -------------------------- 1 file changed, 32 deletions(-) diff --git a/net-misc/rsync/rsync-3.0.6-haiku.patch b/net-misc/rsync/rsync-3.0.6-haiku.patch index 2047a92d1..d846dce93 100644 --- a/net-misc/rsync/rsync-3.0.6-haiku.patch +++ b/net-misc/rsync/rsync-3.0.6-haiku.patch @@ -42,29 +42,6 @@ diff -ruaw rsync-3.0.6/Makefile.in rsync-3.0.6-haiku/Makefile.in TLS_OBJ = tls.o syscall.o lib/compat.o lib/snprintf.o lib/permstring.o lib/sysxattrs.o @BUILD_POPT@ -diff -ruaw rsync-3.0.6/options.c rsync-3.0.6-haiku/options.c ---- rsync-3.0.6/options.c 2009-04-12 22:01:14.000000000 +0200 -+++ rsync-3.0.6-haiku/options.c 2009-05-25 19:45:29.000000000 +0200 -@@ -337,7 +337,9 @@ - rprintf(F," --safe-links ignore symlinks that point outside the source tree\n"); - rprintf(F," -k, --copy-dirlinks transform symlink to a dir into referent dir\n"); - rprintf(F," -K, --keep-dirlinks treat symlinked dir on receiver as dir\n"); -+#ifndef __HAIKU__ - rprintf(F," -H, --hard-links preserve hard links\n"); -+#endif - rprintf(F," -p, --perms preserve permissions\n"); - rprintf(F," -E, --executability preserve the file's executability\n"); - rprintf(F," --chmod=CHMOD affect file and/or directory permissions\n"); -@@ -1086,7 +1088,9 @@ - break; - - case 'H': -+#ifndef __HAIKU__ - preserve_hard_links++; -+#endif - break; - - case 'i': diff -ruaw rsync-3.0.6/rsync.h rsync-3.0.6-haiku/rsync.h --- rsync-3.0.6/rsync.h 2009-02-14 16:57:50.000000000 +0100 +++ rsync-3.0.6-haiku/rsync.h 2009-05-25 19:45:29.000000000 +0200 @@ -79,15 +56,6 @@ diff -ruaw rsync-3.0.6/rsync.h rsync-3.0.6-haiku/rsync.h #endif #ifdef HAVE_COMPAT_H -@@ -957,7 +959,7 @@ - #ifdef HAVE_READLINK - #define SUPPORT_LINKS 1 - #endif --#ifdef HAVE_LINK -+#if defined HAVE_LINK && !defined __HAIKU__ - #define SUPPORT_HARD_LINKS 1 - #endif - diff -ruaw rsync-3.0.6/testsuite/hands.test rsync-3.0.6-haiku/testsuite/hands.test --- rsync-3.0.6/testsuite/hands.test 2007-03-18 21:40:01.000000000 +0100 +++ rsync-3.0.6-haiku/testsuite/hands.test 2009-05-25 20:32:35.000000000 +0200