Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 288267 Details for
Bug 383799
media-gfx/iscan-2.26.2 fails to emerge with libpng15
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Another patch attempt
iscan-libpng15.patch (text/plain), 1.46 KB, created by
Ian Stakenvicius (RETIRED)
on 2011-09-29 20:10:11 UTC
(
hide
)
Description:
Another patch attempt
Filename:
MIME Type:
Creator:
Ian Stakenvicius (RETIRED)
Created:
2011-09-29 20:10:11 UTC
Size:
1.46 KB
patch
obsolete
>--- lib/pngstream.cc.old 2011-09-29 11:19:05.000000000 -0400 >+++ lib/pngstream.cc 2011-09-29 14:30:42.000000000 -0400 >@@ -76,7 +76,12 @@ > set_error_handler (_png, _info); > > lib->write_flush (_png); >+/* when not interlacing (ie, only one pass), number of rows is image height: _v_sz */ >+#if PNG_LIBPNG_VER > 10499 >+ if (!_footer && _v_sz == lib->get_current_row_number(_png)) >+#else > if (!_footer && _png->num_rows == _png->flush_rows) >+#endif > { > lib->write_end (_png, _info); > _footer = true; >@@ -161,6 +166,9 @@ > funcsym (write_row); > funcsym (write_flush); > funcsym (write_end); >+#if PNG_LIBPNG_VER > 10499 >+ funcsym (get_current_row_number); >+#endif > > if (lib->access_version_number > && lib->create_write_struct >@@ -170,6 +178,9 @@ > && lib->set_IHDR > && lib->set_pHYs > && lib->set_invert_mono >+#if PNG_LIBPNG_VER > 10499 >+ && lib->get_current_row_number >+#endif > && lib->write_info > && lib->write_row > && lib->write_flush >--- lib/pngstream.hh.old 2011-09-29 14:30:50.000000000 -0400 >+++ lib/pngstream.hh 2011-09-29 14:31:31.000000000 -0400 >@@ -108,6 +108,10 @@ > png_structp); > fundecl (void, write_end, > png_structp, png_infop); >+#if PNG_LIBPNG_VER > 10499 >+ fundecl (png_uint_32, get_current_row_number, >+ png_structp); >+#endif > #endif /* HAVE_PNG_H */ > }; > static png_lib_handle *lib;
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 Raw
Actions:
View
Attachments on
bug 383799
:
287143
|
287359
|
287599
|
287801
| 288267