1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

- Update to 2.6.6

This commit is contained in:
Pav Lucistnik 2005-07-29 16:52:06 +00:00
parent 3dae5ab198
commit 0b497a0ad5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=140413
3 changed files with 3 additions and 24 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= rsync
PORTVERSION= 2.6.5
PORTVERSION= 2.6.6
CATEGORIES= net ipv6
MASTER_SITES= http://rsync.samba.org/ftp/%SUBDIR%/ \
ftp://ftp.samba.org//pub/%SUBDIR%/ \

View File

@ -1,2 +1,2 @@
MD5 (rsync-2.6.5.tar.gz) = 3691cdf1540d0649ba679edce6bae8fc
SIZE (rsync-2.6.5.tar.gz) = 643388
MD5 (rsync-2.6.6.tar.gz) = 30c4e2849cbeae93f55548453865c2f2
SIZE (rsync-2.6.6.tar.gz) = 690066

View File

@ -1,21 +0,0 @@
--- zlib/infcodes.c.orig Tue Mar 12 02:14:58 2002
+++ zlib/infcodes.c Sun Apr 21 21:19:46 2002
@@ -197,8 +197,18 @@
c->mode = COPY;
case COPY: /* o: copying bytes in window, waiting for space */
f = q - c->sub.copy.dist;
+#ifdef __FreeBSD__
+ {
+ /* Work-around for a FreeBSD gcc bug. */
+ volatile inflate_blocks_statef *s1 = s;
+
+ while (f < s1->window) /* modulo window size-"while" instead */
+ f += s1->end - s1->window; /* of "if" handles invalid distances */
+ }
+#else
while (f < s->window) /* modulo window size-"while" instead */
f += s->end - s->window; /* of "if" handles invalid distances */
+#endif
while (c->len)
{
NEEDOUT