Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 290601 Details for
Bug 316589
media-gfx/rawtherapee-3.0alfa1 ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch file for rawtherapee-9999.ebuild (with libpng-1.5 patch)
libpng-1.5.4-p0.patch (text/plain), 1.43 KB, created by
Pavol Cupka
on 2011-10-23 07:48:09 UTC
(
hide
)
Description:
patch file for rawtherapee-9999.ebuild (with libpng-1.5 patch)
Filename:
MIME Type:
Creator:
Pavol Cupka
Created:
2011-10-23 07:48:09 UTC
Size:
1.43 KB
patch
obsolete
>diff -r bb681a2154a8 rtengine/imageio.cc >--- a/rtengine/imageio.cc Tue Sep 20 19:22:53 2011 +0200 >+++ b/rtengine/imageio.cc Fri Sep 23 18:12:48 2011 +0300 >@@ -862,37 +862,37 @@ int ImageIO::saveTIFF (Glib::ustring fna > // PNG read and write routines: > > void png_read_data(png_structp png_ptr, png_bytep data, png_size_t length) { > png_size_t check; > > /* fread() returns 0 on error, so it is OK to store this in a png_size_t > * instead of an int, which is what fread() actually returns. > */ >- check = (png_size_t)fread(data, (png_size_t)1, length, (FILE *)png_ptr->io_ptr); >+ check = (png_size_t)fread(data, (png_size_t)1, length, (FILE *)png_get_io_ptr(png_ptr)); > > if (check != length) > { > png_error(png_ptr, "Read Error"); > } > } > > void png_write_data(png_structp png_ptr, png_bytep data, png_size_t length) { > png_uint_32 check; > >- check = fwrite(data, 1, length, (FILE *)(png_ptr->io_ptr)); >+ check = fwrite(data, 1, length, (FILE *)png_get_io_ptr(png_ptr)); > if (check != length) > { > png_error(png_ptr, "Write Error"); > } > } > > void png_flush(png_structp png_ptr) { > FILE *io_ptr; >- io_ptr = (FILE *)CVT_PTR((png_ptr->io_ptr)); >+ io_ptr = (FILE *)(png_get_io_ptr(png_ptr)); > if (io_ptr != NULL) > fflush(io_ptr); > } > > int ImageIO::load (Glib::ustring fname) { > > int lastdot = fname.find_last_of ('.'); > if( Glib::ustring::npos == lastdot )
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 316589
:
228681
|
228985
|
228987
|
228989
|
228991
|
228995
|
232033
|
232035
|
234599
|
247261
|
247262
|
247263
|
281247
|
281249
|
285045
|
290599
| 290601