diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2003-01-28 06:24:24 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2003-01-28 06:24:24 +0000 |
commit | 0707c24745b1565b300c6552456792de6a5ab6bd (patch) | |
tree | 9bc8d27c48b9f2132381f39ca791745df35dfbe9 /audio/zinf/files/patch-zlib-infcodes.c | |
parent | Fix build on FreeBSD 5. (diff) |
Update to 2.2.2.
PR: 47322
Submitted by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes:
svn path=/head/; revision=74122
Diffstat (limited to 'audio/zinf/files/patch-zlib-infcodes.c')
-rw-r--r-- | audio/zinf/files/patch-zlib-infcodes.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/audio/zinf/files/patch-zlib-infcodes.c b/audio/zinf/files/patch-zlib-infcodes.c deleted file mode 100644 index 635646f8bddb..000000000000 --- a/audio/zinf/files/patch-zlib-infcodes.c +++ /dev/null @@ -1,21 +0,0 @@ ---- lib/zlib/src/infcodes.c.orig Thu Jun 20 08:40:24 2002 -+++ lib/zlib/src/infcodes.c Sun Aug 4 16:45:11 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 |