net/rsync: fix build with portmaster

Change the fix for tests to unbreak the build with postmaster

PR:		284154
Reported by:	<iron.udjin@gmail.com>
This commit is contained in:
Rodrigo Osorio 2025-01-19 15:25:16 +01:00
parent b6f0fbdb2d
commit 5e8e9ffbff
2 changed files with 3 additions and 10 deletions

View file

@ -88,6 +88,9 @@ DISTFILES+= ${PORTNAME}-patches-${DISTVERSION}${EXTRACT_SUFX}
CONFIGURE_ARGS+= ac_cv_search_libiconv_open=no
.endif
pre-patch:
@${REINPLACE_CMD} 's:+int module_dirlen = 0;:+:' ${WRKSRC}/patches/fileflags.diff
post-patch:
@${REINPLACE_CMD} -e 's:/etc/r{1,2}sync:${ETCDIR}/:g' \
-e 's:/etc/letsencrypt:${PREFIX}/etc/letsencrypt:g' \

View file

@ -1,10 +0,0 @@
--- t_stub.c.orig 2025-01-18 20:59:30 UTC
+++ t_stub.c
@@ -28,7 +28,6 @@
int protect_args = 0;
int module_id = -1;
int relative_paths = 0;
-int module_dirlen = 0;
int force_change = 0;
int preserve_acls = 0;
unsigned int module_dirlen = 0;