summaryrefslogtreecommitdiffstats
path: root/gd-loop.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-03-23 18:33:56 +0100
committerRemi Collet <fedora@famillecollet.com>2015-03-23 18:33:56 +0100
commitbf10ddd51b76640cce8e3fee6d1cc7fdc9e2b33a (patch)
tree6b4a6b62caad0c08acaafb856c0f0cd5fc9d4655 /gd-loop.patch
parent027cdd97196d4e1d1b7ec0ee5d650992554cde6a (diff)
gd: fix version in gdlib.pc
Diffstat (limited to 'gd-loop.patch')
-rw-r--r--gd-loop.patch24
1 files changed, 0 insertions, 24 deletions
diff --git a/gd-loop.patch b/gd-loop.patch
deleted file mode 100644
index 9d08965..0000000
--- a/gd-loop.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -up gd-2.0.35/gd_gif_in.c.loop gd-2.0.35/gd_gif_in.c
---- gd-2.0.35/gd_gif_in.c.loop 2007-06-14 15:51:41.000000000 -0400
-+++ gd-2.0.35/gd_gif_in.c 2008-07-21 11:20:25.000000000 -0400
-@@ -453,16 +453,17 @@ LWZReadByte_(gdIOCtx *fd, LZW_STATIC_DAT
- return sd->firstcode;
- } else if (code == sd->end_code) {
- int count;
-+ int max_count = 1024;
- unsigned char buf[260];
-
- if (*ZeroDataBlockP)
- return -2;
-
-- while ((count = GetDataBlock(fd, buf, ZeroDataBlockP)) > 0)
-+ while ((count = GetDataBlock(fd, buf, ZeroDataBlockP)) > 0 && --max_count >= 0 )
- ;
-
-- if (count != 0)
-- return -2;
-+ if (count != 0 || max_count < 0 )
-+ return -2;
- }
-
- incode = code;