aboutsummaryrefslogtreecommitdiff
path: root/sysutils/rdiff-backup/files
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2016-05-12 11:24:54 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2016-05-12 11:24:54 +0000
commit6232d5b73d4efa407a281b29c82d055dc58781d4 (patch)
tree0634945845a297dd315f982757620b456e4551b3 /sysutils/rdiff-backup/files
parentf0fac39958bb6e4a82b43bc9f1aa6e0e33aefa4b (diff)
downloadports-6232d5b73d4efa407a281b29c82d055dc58781d4.tar.gz
ports-6232d5b73d4efa407a281b29c82d055dc58781d4.zip
Notes
Diffstat (limited to 'sysutils/rdiff-backup/files')
-rw-r--r--sysutils/rdiff-backup/files/patch-__librsyncmodule.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/sysutils/rdiff-backup/files/patch-__librsyncmodule.c b/sysutils/rdiff-backup/files/patch-__librsyncmodule.c
new file mode 100644
index 000000000000..b47807dc5d57
--- /dev/null
+++ b/sysutils/rdiff-backup/files/patch-__librsyncmodule.c
@@ -0,0 +1,16 @@
+--- _librsyncmodule.c.orig 2009-03-16 14:36:21 UTC
++++ _librsyncmodule.c
+@@ -59,8 +59,13 @@ _librsync_new_sigmaker(PyObject* self, P
+ if (sm == NULL) return NULL;
+ sm->x_attr = NULL;
+
++#ifdef RS_DEFAULT_STRONG_LEN
+ sm->sig_job = rs_sig_begin((size_t)blocklen,
+ (size_t)RS_DEFAULT_STRONG_LEN);
++#else
++ sm->sig_job = rs_sig_begin((size_t)blocklen,
++ (size_t)8, RS_MD4_SIG_MAGIC);
++#endif
+ return (PyObject*)sm;
+ }
+