From 0707c24745b1565b300c6552456792de6a5ab6bd Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Tue, 28 Jan 2003 06:24:24 +0000 Subject: Update to 2.2.2. PR: 47322 Submitted by: KATO Tsuguru --- audio/zinf/files/patch-zlib-infcodes.c | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 audio/zinf/files/patch-zlib-infcodes.c (limited to 'audio/zinf/files/patch-zlib-infcodes.c') 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 -- cgit v1.2.3