]> git.pld-linux.org Git - packages/rsync.git/commitdiff
update fadvise patch to 3.1.3
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 3 Dec 2018 22:30:28 +0000 (00:30 +0200)
committerElan Ruusamäe <glen@pld-linux.org>
Mon, 3 Dec 2018 22:30:28 +0000 (00:30 +0200)
rsync-fadvise.patch
rsync.spec

index 24e1f9bfc52f8c83264c052e8ea158b163c936f7..4f1e1247fde6c366f82de56f3992be24e81b2688 100644 (file)
@@ -1,17 +1,16 @@
-diff -ru rsync-3.1.2.orig/checksum.c rsync-3.1.2/checksum.c
---- rsync-3.1.2.orig/checksum.c        2015-08-08 22:47:03.000000000 +0300
-+++ rsync-3.1.2/checksum.c     2016-10-24 15:38:28.002415712 +0300
-@@ -24,6 +24,9 @@
- extern int checksum_seed;
- extern int protocol_version;
+--- rsync-3.1.3/checksum.c~    2018-01-15 05:55:07.000000000 +0200
++++ rsync-3.1.3/checksum.c     2018-12-04 00:27:15.382240696 +0200
+@@ -26,6 +26,10 @@
  extern int proper_seed_order;
+ extern char *checksum_choice;
 +#ifdef WITH_DROP_CACHE
 +#define close(fd) fadv_close(fd)
 +#endif
- /*
-   a simple 32 bit checksum that can be upadted from either end
-diff -ru rsync-3.1.2.orig/cleanup.c rsync-3.1.2/cleanup.c
++
+ #define CSUM_NONE 0
+ #define CSUM_MD4_ARCHAIC 1
+ #define CSUM_MD4_BUSTED 2
 --- rsync-3.1.2.orig/cleanup.c 2015-08-08 22:47:03.000000000 +0300
 +++ rsync-3.1.2/cleanup.c      2016-10-24 15:38:28.002415712 +0300
 @@ -53,7 +53,11 @@
@@ -228,13 +227,12 @@ diff -ru rsync-3.1.2.orig/receiver.c rsync-3.1.2/receiver.c
  static struct bitbag *delayed_bits = NULL;
  static int phase = 0, redoing = 0;
  static flist_ndx_list batch_redo_list;
-diff -ru rsync-3.1.2.orig/rsync.1 rsync-3.1.2/rsync.1
---- rsync-3.1.2.orig/rsync.1   2015-12-21 22:22:41.000000000 +0200
-+++ rsync-3.1.2/rsync.1        2016-10-24 15:38:28.010415712 +0300
+--- rsync-3.1.3/rsync.1~       2018-12-04 00:26:25.000000000 +0200
++++ rsync-3.1.3/rsync.1        2018-12-04 00:27:43.557037661 +0200
 @@ -453,6 +453,7 @@
       \-\-super                 receiver attempts super\-user activities
       \-\-fake\-super            store/recover privileged attrs using xattrs
-  \-S, \-\-sparse                handle sparse files efficiently
+  \-S, \-\-sparse                turn sequences of nulls into sparse blocks
 +     \-\-drop\-cache            drop cache continuosly using fadvise
       \-\-preallocate           allocate dest files before writing
   \-n, \-\-dry\-run               perform a trial run with no changes made
index fdf9453a553ffab48373fa271f6429aec90efb0b..55cd79e7050e9587986c7644853094018f2de515 100644 (file)
@@ -4,7 +4,7 @@
 #
 # Conditional build:
 %bcond_with    rsh     # set remote shell command to rsh instead of ssh (old behaviour)
-%bcond_with    fadvise # apply fadvise patch
+%bcond_without fadvise # apply fadvise patch
 %bcond_with    tests   # perform "make test"
 #
 %ifarch alpha
This page took 0.4882 seconds and 4 git commands to generate.