void-packages/srcpkgs/csync2/patches/musl-strlcpy.patch

19 lines
360 B
Diff

--- a/rsync.c 2015-03-09 15:08:51.000000000 +0100
+++ b/rsync.c 2015-10-06 16:44:57.988159380 +0200
@@ -39,6 +39,7 @@
#endif
+#if defined(__GLIBC__)
/* This has been taken from rsync:lib/compat.c */
/**
@@ -61,6 +62,7 @@
}
return ret;
}
+#endif
/* splits filepath at the last '/', if any, like so:
* dirname basename filepath