Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 230715 Details for
Bug 297760
media-libs/devil-1.7.8: version bump request
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to work with libpng 1.4
devil_libpng14.patch (text/plain), 1.10 KB, created by
marbacz
on 2010-05-07 16:59:00 UTC
(
hide
)
Description:
Patch to work with libpng 1.4
Filename:
MIME Type:
Creator:
marbacz
Created:
2010-05-07 16:59:00 UTC
Size:
1.10 KB
patch
obsolete
>diff -pruN devil-1.7.8//src-IL/src/il_icon.c devil.pathed//src-IL/src/il_icon.c >--- devil-1.7.8//src-IL/src/il_icon.c 2009-03-08 08:10:09.000000000 +0100 >+++ devil.pathed//src-IL/src/il_icon.c 2010-05-06 00:48:02.946197911 +0200 >@@ -525,7 +525,7 @@ ILboolean ico_readpng_get_image(ICOIMAGE > > // Expand low-bit-depth grayscale images to 8 bits > if (ico_color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) { >- png_set_gray_1_2_4_to_8(ico_png_ptr); >+ png_set_expand_gray_1_2_4_to_8(ico_png_ptr); > } > > // Expand RGB images with transparency to full alpha channels >diff -pruN devil-1.7.8//src-IL/src/il_png.c devil.pathed//src-IL/src/il_png.c >--- devil-1.7.8//src-IL/src/il_png.c 2009-03-08 08:10:09.000000000 +0100 >+++ devil.pathed//src-IL/src/il_png.c 2010-05-06 00:48:02.942864711 +0200 >@@ -278,7 +278,7 @@ ILboolean readpng_get_image(ILdouble dis > > // Expand low-bit-depth grayscale images to 8 bits > if (png_color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) { >- png_set_gray_1_2_4_to_8(png_ptr); >+ png_set_expand_gray_1_2_4_to_8(png_ptr); > } > > // Expand RGB images with transparency to full alpha channels
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 297760
:
213669
|
226943
|
226945
|
227065
| 230715