diff options
author | arved <arved@FreeBSD.org> | 2016-05-12 19:24:54 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2016-05-12 19:24:54 +0800 |
commit | 8438fecb2ad91a32f85c51638535818c1a3e7825 (patch) | |
tree | 0634945845a297dd315f982757620b456e4551b3 /sysutils/rdiff-backup | |
parent | 877c882f8ba98410ae302ff64f064388e6c10e0f (diff) | |
download | freebsd-ports-gnome-8438fecb2ad91a32f85c51638535818c1a3e7825.tar.gz freebsd-ports-gnome-8438fecb2ad91a32f85c51638535818c1a3e7825.tar.zst freebsd-ports-gnome-8438fecb2ad91a32f85c51638535818c1a3e7825.zip |
Switch dependency from old net/librsync to net/librsync1
PR: 208934
Submitted by: mvoorhis@cs.wpi.edu
Approved by: maintainer
Diffstat (limited to 'sysutils/rdiff-backup')
-rw-r--r-- | sysutils/rdiff-backup/Makefile | 4 | ||||
-rw-r--r-- | sysutils/rdiff-backup/files/patch-__librsyncmodule.c | 16 |
2 files changed, 18 insertions, 2 deletions
diff --git a/sysutils/rdiff-backup/Makefile b/sysutils/rdiff-backup/Makefile index 5c26a0b7ec7d..b18da95663d8 100644 --- a/sysutils/rdiff-backup/Makefile +++ b/sysutils/rdiff-backup/Makefile @@ -3,7 +3,7 @@ PORTNAME= rdiff-backup PORTVERSION= 1.2.8 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= sysutils MASTER_SITES= SAVANNAH \ @@ -14,7 +14,7 @@ COMMENT= Local/remote mirroring+incremental backup LICENSE= GPLv2 -LIB_DEPENDS= librsync.so:net/librsync +LIB_DEPENDS= librsync.so:net/librsync1 CONFLICTS= rdiff-backup-devel-[0-9]* rdiff-backup-1.0* 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; + } + |