Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 264163 Details for
Bug 356851
games-rpg/eternal-lands-1.9.1 fails to build with media-libs/libpng-1.5
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix
libpng.patch (text/plain), 690 bytes, created by
Alexis Ballier
on 2011-02-28 12:08:03 UTC
(
hide
)
Description:
fix
Filename:
MIME Type:
Creator:
Alexis Ballier
Created:
2011-02-28 12:08:03 UTC
Size:
690 bytes
patch
obsolete
>Index: elc/misc.c >=================================================================== >--- elc.orig/misc.c >+++ elc/misc.c >@@ -311,7 +311,7 @@ int IMG_SavePNG_RW (SDL_Surface *face, S > } > > /* Set error handling. */ >- if (setjmp(png_ptr->jmpbuf)) >+ if (setjmp(png_jmpbuf(png_ptr))) > { > /* If we get here, we had a problem reading the file */ > IMG_SetError("Error writing the PNG file"); >@@ -360,10 +360,7 @@ done: > if (row_pointers != NULL) > free (row_pointers); > >- if (info_ptr != NULL && info_ptr->palette != NULL) >- free (info_ptr->palette); >- >- png_destroy_write_struct (&png_ptr, (png_infopp)NULL); >+ png_destroy_write_struct (&png_ptr, &info_ptr); > > return result; > }
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 356851
: 264163