vp-build/srcpkgs/csync2/patches/musl-strlcpy.patch

19 lines
356 B
Diff

--- rsync.c 2015-03-09 15:08:51.000000000 +0100
+++ 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