Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 261461 Details for
Bug 274065
Plymouth "bootsplash" to get into Portage
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0.8.3-image-replace-deprecated-libpng-function.patch
0.8.3-image-replace-deprecated-libpng-function.patch (text/plain), 962 bytes, created by
Amadeusz Żołnowski (RETIRED)
on 2011-02-03 23:59:33 UTC
(
hide
)
Description:
0.8.3-image-replace-deprecated-libpng-function.patch
Filename:
MIME Type:
Creator:
Amadeusz Żołnowski (RETIRED)
Created:
2011-02-03 23:59:33 UTC
Size:
962 bytes
patch
obsolete
>From 07329b72687ccc7a9015de4a48fae297d6d5ff96 Mon Sep 17 00:00:00 2001 >From: Brett Witherspoon <spoonb@cdspooner.com> >Date: Tue, 12 Oct 2010 03:23:47 +0000 >Subject: image: replace deprecated libpng function > >The png_set_gray_1_2_4_to_8 function is deprecated and has been removed >from libpng14. Now png_set_expand_gray_1_2_4_to_8 is used instead which >is compatible with libpng-1.2.9 and greater. >--- >diff --git a/src/libply-splash-graphics/ply-image.c b/src/libply-splash-graphics/ply-image.c >index 9369242..4b16783 100644 >--- a/src/libply-splash-graphics/ply-image.c >+++ b/src/libply-splash-graphics/ply-image.c >@@ -151,7 +151,7 @@ ply_image_load (ply_image_t *image) > png_set_palette_to_rgb (png); > > if ((color_type == PNG_COLOR_TYPE_GRAY) && (bits_per_pixel < 8)) >- png_set_gray_1_2_4_to_8 (png); >+ png_set_expand_gray_1_2_4_to_8 (png); > > if (png_get_valid (png, info, PNG_INFO_tRNS)) > png_set_tRNS_to_alpha (png); >-- >cgit v0.8.3-6-g21f6
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 274065
:
208174
|
208176
|
208201
|
238207
|
238209
|
238383
|
243221
|
243231
|
259657
|
259658
|
259660
|
260027
|
260028
|
261231
|
261233
|
261316
|
261457
|
261459
| 261461 |
261462
|
261464
|
261479
|
261487
|
261488
|
261498
|
261500
|
261506
|
261508
|
263153