diff options
Diffstat (limited to 'graphics/giftool/files/extra-patch-ab')
-rw-r--r-- | graphics/giftool/files/extra-patch-ab | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/graphics/giftool/files/extra-patch-ab b/graphics/giftool/files/extra-patch-ab new file mode 100644 index 000000000000..e4742279e7fb --- /dev/null +++ b/graphics/giftool/files/extra-patch-ab @@ -0,0 +1,19 @@ +*** readGIF.c.orig Sat Mar 8 06:28:02 1997 +--- readGIF.c Sat Mar 8 06:30:05 1997 +*************** +*** 253,259 **** + cur->data.image.cmapSize = 0; + + } +! cur->data.image.data = (unsigned char *)malloc(cur->width * cur->height); + cur->data.image.interlaced = BitSet(buf[8], INTERLACE); + readImage(fd, BitSet(buf[8], INTERLACE), + cur->width, cur->height, cur->data.image.data); +--- 253,259 ---- + cur->data.image.cmapSize = 0; + + } +! cur->data.image.data = (unsigned char *)malloc(cur->width * cur->height + 1); + cur->data.image.interlaced = BitSet(buf[8], INTERLACE); + readImage(fd, BitSet(buf[8], INTERLACE), + cur->width, cur->height, cur->data.image.data); |