This patch provides --flags, which preserves the st_flags field.
-Modified from a patch that was written by Rolf Grossmann:
+Modified from a patch that was written by Rolf Grossmann.
- http://www.progtech.net/rsync.flags-patch
+After applying this patch, run these commands for a successful build:
+
+ ./prepare-source
+ ./configure
+ make
--- old/configure.in
+++ new/configure.in
ok_to_set_time ? 0 : ATTRS_SKIP_MTIME);
+#ifdef SUPPORT_FLAGS
-+ make_mutable(fname, file->mode, file->fileflags);
++ make_mutable(fnametmp, file->mode, file->fileflags);
+#endif
/* move tmp file over real file */
if (verbose > 2)