diff options
author | Wesley Shields <wxs@FreeBSD.org> | 2010-09-25 22:04:19 +0000 |
---|---|---|
committer | Wesley Shields <wxs@FreeBSD.org> | 2010-09-25 22:04:19 +0000 |
commit | 8f1a91c2591ea6e72ed954da4255fe40af2ba9d0 (patch) | |
tree | a9ea9be1d53f9657aa1eb0ad8beae65685391ea7 /sysutils/cpdup | |
parent | d2b4cdfad8e1e3f3dc0b6b020efc278e77628fde (diff) |
Notes
Diffstat (limited to 'sysutils/cpdup')
-rw-r--r-- | sysutils/cpdup/Makefile | 1 | ||||
-rw-r--r-- | sysutils/cpdup/files/patch-hclink.c | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/sysutils/cpdup/Makefile b/sysutils/cpdup/Makefile index 6bbe78e2fd8b..95c981082aaa 100644 --- a/sysutils/cpdup/Makefile +++ b/sysutils/cpdup/Makefile @@ -7,6 +7,7 @@ PORTNAME= cpdup PORTVERSION= 1.17 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://apollo.backplane.com/FreeSrc/ \ http://utenti.gufi.org/~gmarco/files/distfiles/ diff --git a/sysutils/cpdup/files/patch-hclink.c b/sysutils/cpdup/files/patch-hclink.c new file mode 100644 index 000000000000..c69fc19c5e56 --- /dev/null +++ b/sysutils/cpdup/files/patch-hclink.c @@ -0,0 +1,11 @@ +--- ./hclink.c.orig 2010-09-25 18:01:27.989863475 -0400 ++++ ./hclink.c 2010-09-25 18:01:46.138176079 -0400 +@@ -388,7 +388,7 @@ + hcc_check_space(hctransaction_t trans, struct HCHead *head, int n, int size) + { + size = HCC_ALIGN(size) + n * sizeof(struct HCLeaf); +- if (size > HC_BUFSIZE - trans->windex) { ++ if (size >= HC_BUFSIZE - trans->windex) { + struct HCHead *whead = (void *)trans->wbuf; + + whead->cmd |= HCF_CONTINUE; |