summaryrefslogtreecommitdiff
path: root/net-misc/rsync-bpc/files/rsync-bpc-3.1.3.0_p20251201-acls.patch
blob: 0f33cb3d18ec61334b385364af77f0f19a8c3cdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Wrap content of lib/sysacls.c in ifdef, like it's
done in rsync. Fixes build with USE=-acl
https://bugs.gentoo.org/971729
--- a/lib/sysacls.c
+++ b/lib/sysacls.c
@@ -24,6 +24,8 @@
 #include "rsync.h"
 #include "sysacls.h"
 
+#ifdef SUPPORT_ACLS
+
 #ifdef DEBUG
 #undef DEBUG
 #endif
@@ -2790,3 +2792,5 @@
 	}
 	return 0;
 }
+
+#endif /* SUPPORT_ACLS */