summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-11-11 00:38:13 +0000
committerMike Frysinger <vapier@gentoo.org>2007-11-11 00:38:13 +0000
commit7eafa2738b98f2b40921d992b72feb571e4eef32 (patch)
treea2c51c63a2c177224e97d4d1a6b3136b69b7f742 /media-libs/giflib/files
parentVersion bump, security bug #198644. (diff)
downloadgentoo-2-7eafa2738b98f2b40921d992b72feb571e4eef32.tar.gz
gentoo-2-7eafa2738b98f2b40921d992b72feb571e4eef32.tar.bz2
gentoo-2-7eafa2738b98f2b40921d992b72feb571e4eef32.zip
Version bump.
(Portage version: 2.1.3.19)
Diffstat (limited to 'media-libs/giflib/files')
-rw-r--r--media-libs/giflib/files/digest-giflib-4.1.63
-rw-r--r--media-libs/giflib/files/giflib-4.1.6-gif2rle.patch18
2 files changed, 21 insertions, 0 deletions
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) {