aboutsummaryrefslogtreecommitdiffstats
path: root/testing/csync2/03-strlcpy_disable.patch
diff options
context:
space:
mode:
authorPablo Castorino <pcastorino@mendoza-conicet.gob.ar>2012-12-12 14:08:29 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2012-12-18 12:03:20 +0000
commit6fc7aa2d17af1ab39ee3255f46e516a851b1c8fb (patch)
treed6743d98a774516e4f51931d7567ba03da31c6aa /testing/csync2/03-strlcpy_disable.patch
parent70da3b600b308f6623872635b66fd88c2c5d6965 (diff)
downloadaports-6fc7aa2d17af1ab39ee3255f46e516a851b1c8fb.tar.bz2
aports-6fc7aa2d17af1ab39ee3255f46e516a851b1c8fb.tar.xz
testing/csync2: upgrade to 2.0_rc1_git20121210
Diffstat (limited to 'testing/csync2/03-strlcpy_disable.patch')
-rw-r--r--testing/csync2/03-strlcpy_disable.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/csync2/03-strlcpy_disable.patch b/testing/csync2/03-strlcpy_disable.patch
new file mode 100644
index 000000000..f0e9d4545
--- /dev/null
+++ b/testing/csync2/03-strlcpy_disable.patch
@@ -0,0 +1,21 @@
+--- old/rsync.c
++++ new/rsync.c
+@@ -49,6 +49,9 @@
+ *
+ * @return index of the terminating byte.
+ **/
++
++/* disabled **
++
+ static size_t strlcpy(char *d, const char *s, size_t bufsize)
+ {
+ size_t len = strlen(s);
+@@ -61,7 +64,7 @@
+ }
+ return ret;
+ }
+-
++*/
+
+ /* This has been taken from rsync sources: receiver.c */
+