Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 239979 Details for
Bug 269110
app-text/coolreader3: reader of fictionbook texts
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
patfch for coolreader3-3.0.35-r1.ebuild
coolreader3-libpng.patch (text/plain), 1.64 KB, created by
Sergey S. Starikoff
on 2010-07-24 07:56:03 UTC
(
hide
)
Description:
patfch for coolreader3-3.0.35-r1.ebuild
Filename:
MIME Type:
Creator:
Sergey S. Starikoff
Created:
2010-07-24 07:56:03 UTC
Size:
1.64 KB
patch
obsolete
>Description: Fix build against libpng 1.4. >Author: Kyrill Detinov <lazy.kent.suse@gmail.com> >Index: crengine/src/lvimg.cpp >=================================================================== >--- crengine/src/lvimg.cpp.orig 2010-06-24 18:15:44.000000000 +0400 >+++ crengine/src/lvimg.cpp 2010-06-27 22:11:26.000000000 +0400 >@@ -660,7 +660,7 @@ bool LVPngImageSource::Decode( LVImageDe > _height = 0; > if (png_ptr) > { >- png_destroy_read_struct(&png_ptr, &info_ptr, png_infopp_NULL); >+ png_destroy_read_struct(&png_ptr, &info_ptr, NULL); > } > if ( row ) > delete row; >@@ -702,7 +702,7 @@ bool LVPngImageSource::Decode( LVImageDe > png_set_palette_to_rgb(png_ptr); > > if (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); > > if (png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS)) > png_set_tRNS_to_alpha(png_ptr); >@@ -737,7 +737,7 @@ bool LVPngImageSource::Decode( LVImageDe > { > for (lUInt32 y = 0; y < height; y++) > { >- png_read_rows(png_ptr, (unsigned char **)&row, png_bytepp_NULL, 1); >+ png_read_rows(png_ptr, (unsigned char **)&row, NULL, 1); > callback->OnLineDecoded( this, y, row ); > } > } >@@ -746,7 +746,7 @@ bool LVPngImageSource::Decode( LVImageDe > > callback->OnEndDecode(this, false); > } >- png_destroy_read_struct(&png_ptr, &info_ptr, png_infopp_NULL); >+ png_destroy_read_struct(&png_ptr, &info_ptr, NULL); > > delete [] row; > return true;
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 269110
:
195559
|
200845
|
236199
|
236203
|
236205
|
236311
|
236401
|
236407
|
236493
|
236495
|
236497
|
239825
|
239977
| 239979 |
249187
|
289807
|
290581
|
290583
|
294187
|
294201
|
309417
|
341284
|
355380
|
425978
|
425980
|
451078
|
451080
|
483354
|
483356
|
483358
|
490934
|
490936
|
490970
|
490972
|
490976