From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in www-plugins/gnash/files: gnash-0.8.x-libpng14.patch |
Date: | Fri, 02 Jul 2010 11:01:46 |
Message-Id: | 20100702110142.D4BF32C096@corvid.gentoo.org |
1 | ssuominen 10/07/02 11:01:42 |
2 | |
3 | Added: gnash-0.8.x-libpng14.patch |
4 | Log: |
5 | Fix building with libpng14 wrt #326599 by Serhij S. Stasyuk. |
6 | (Portage version: 2.2_rc67/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 www-plugins/gnash/files/gnash-0.8.x-libpng14.patch |
10 | |
11 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/gnash/files/gnash-0.8.x-libpng14.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/gnash/files/gnash-0.8.x-libpng14.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: gnash-0.8.x-libpng14.patch |
15 | =================================================================== |
16 | --- libbase/GnashImagePng.cpp |
17 | +++ libbase/GnashImagePng.cpp |
18 | @@ -164,7 +164,7 @@ |
19 | if (type == PNG_COLOR_TYPE_GRAY && bitDepth < 8) |
20 | { |
21 | log_debug("Setting grey bit depth(%d) to 8", bitDepth); |
22 | - png_set_gray_1_2_4_to_8(_pngPtr); |
23 | + png_set_expand_gray_1_2_4_to_8(_pngPtr); |
24 | } |
25 | |
26 | // Apply the transparency block if it exists. |