Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 286347 Details for
Bug 378285
net-misc/nx fails to build with libpng-1.5
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
libpng15 patch, untested
nx-3.5.0-libpng15.patch (text/plain), 835 bytes, created by
Samuli Suominen (RETIRED)
on 2011-09-13 13:42:07 UTC
(
hide
)
Description:
libpng15 patch, untested
Filename:
MIME Type:
Creator:
Samuli Suominen (RETIRED)
Created:
2011-09-13 13:42:07 UTC
Size:
835 bytes
patch
obsolete
>diff -ur nxcomp.orig/Pgn.cpp nxcomp/Pgn.cpp >--- nxcomp.orig/Pgn.cpp 2010-03-01 19:18:59.000000000 +0200 >+++ nxcomp/Pgn.cpp 2011-09-13 16:35:12.000000000 +0300 >@@ -414,7 +414,7 @@ > > png_read_info(pngPtr, infoPtr); > >- if (infoPtr -> color_type == PNG_COLOR_TYPE_PALETTE) >+ if (png_get_color_type(pngPtr, infoPtr) == PNG_COLOR_TYPE_PALETTE) > { > png_set_expand(pngPtr); > } >@@ -565,7 +565,7 @@ > > png_read_info( pngPtr, infoPtr ) ; > >- if (infoPtr -> color_type == PNG_COLOR_TYPE_PALETTE) >+ if (png_get_color_type(pngPtr, infoPtr) == PNG_COLOR_TYPE_PALETTE) > { > png_set_expand(pngPtr); > } >@@ -709,7 +709,7 @@ > png_read_info(pngPtr, infoPtr) ; > > >- if (infoPtr -> color_type == PNG_COLOR_TYPE_PALETTE) >+ if (png_get_color_type(pngPtr, infoPtr) == PNG_COLOR_TYPE_PALETTE) > { > png_set_expand(pngPtr); > }
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 378285
:
282557
| 286347