From 7eafa2738b98f2b40921d992b72feb571e4eef32 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 11 Nov 2007 00:38:13 +0000 Subject: Version bump. (Portage version: 2.1.3.19) --- media-libs/giflib/files/digest-giflib-4.1.6 | 3 +++ media-libs/giflib/files/giflib-4.1.6-gif2rle.patch | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 media-libs/giflib/files/digest-giflib-4.1.6 create mode 100644 media-libs/giflib/files/giflib-4.1.6-gif2rle.patch (limited to 'media-libs/giflib/files') diff --git a/media-libs/giflib/files/digest-giflib-4.1.6 b/media-libs/giflib/files/digest-giflib-4.1.6 new file mode 100644 index 000000000000..f8a2a2092725 --- /dev/null +++ b/media-libs/giflib/files/digest-giflib-4.1.6 @@ -0,0 +1,3 @@ +MD5 7125644155ae6ad33dbc9fc15a14735f giflib-4.1.6.tar.bz2 506050 +RMD160 bdb99f7048a79b9e771b069f90ac151537011d19 giflib-4.1.6.tar.bz2 506050 +SHA256 e1c1ced9c5bc8f93ef0faf0a8c7717abf784d10a7b270d2285e8e1f3b93f2bed giflib-4.1.6.tar.bz2 506050 diff --git a/media-libs/giflib/files/giflib-4.1.6-gif2rle.patch b/media-libs/giflib/files/giflib-4.1.6-gif2rle.patch new file mode 100644 index 000000000000..f36b6b41fcc2 --- /dev/null +++ b/media-libs/giflib/files/giflib-4.1.6-gif2rle.patch @@ -0,0 +1,18 @@ +http://sourceforge.net/tracker/index.php?func=detail&aid=1829712&group_id=102202&atid=631304 + +--- giflib/util/gif2rle.c ++++ giflib/util/gif2rle.c +@@ -222,11 +222,8 @@ + ColorMap = (GifFile->Image.ColorMap ? + GifFile->Image.ColorMap->Colors : + GifFile->SColorMap->Colors); +- if (ColorMap == NULL) { +- fprintf(stderr, "Gif Image does not have a colormap\n"); +- exit(EXIT_FAILURE); +- } +- ColorMapSize = 1 << ColorMap->BitsPerPixel; ++ ColorMapSize = 1 << (GifFile->Image.ColorMap ? GifFile->Image.ColorMap->BitsPerPixel : ++ GifFile->SColorMap->BitsPerPixel); + DumpScreen2Rle(ScreenBuffer, GifFile->SWidth, GifFile->SHeight); + + if (DGifCloseFile(GifFile) == GIF_ERROR) { -- cgit v1.2.3-65-gdbad