summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2015-10-11 21:10:43 +0200
committerSebastian Pipping <sping@gentoo.org>2015-10-11 21:11:41 +0200
commite64498a11278374b3ea04983586a0ab8f599406e (patch)
tree8c959243a5dda7776b73929d9c764d0e95b38775 /media-gfx/optipng/files
parentprofiles: mask test revision bump for sys-devel/llvm (diff)
downloadgentoo-e64498a11278374b3ea04983586a0ab8f599406e.tar.gz
gentoo-e64498a11278374b3ea04983586a0ab8f599406e.tar.bz2
gentoo-e64498a11278374b3ea04983586a0ab8f599406e.zip
media-gfx/optipng: Apply upstream patch for bug #561882
Package-Manager: portage-2.2.23
Diffstat (limited to 'media-gfx/optipng/files')
-rw-r--r--media-gfx/optipng/files/optipng-0.7.5-gifread.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/media-gfx/optipng/files/optipng-0.7.5-gifread.patch b/media-gfx/optipng/files/optipng-0.7.5-gifread.patch
new file mode 100644
index 000000000000..14b37190405d
--- /dev/null
+++ b/media-gfx/optipng/files/optipng-0.7.5-gifread.patch
@@ -0,0 +1,12 @@
+diff --git a/src/gifread/gifread.c b/src/gifread/gifread.c
+index b24aa6e..2896493 100644
+--- a/src/gifread/gifread.c
++++ b/src/gifread/gifread.c
+@@ -357,6 +357,7 @@ static int LZWGetCode(int code_size, int init_flag, FILE *stream)
+ {
+ curbit = 0;
+ lastbit = 0;
++ last_byte = 2;
+ done = LZW_FALSE;
+ return 0;
+ }