rsync check patch for gentoo