Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 223043 Details for
Bug 308867
games-strategy/scorched3d fails to build with libpng14
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
scorched3d-42.1-libpng14.patch
scorched3d-42.1-libpng14.patch (text/plain), 1.49 KB, created by
Ai Locke Shinseiko (Wizzleby)
on 2010-03-10 19:10:13 UTC
(
hide
)
Description:
scorched3d-42.1-libpng14.patch
Filename:
MIME Type:
Creator:
Ai Locke Shinseiko (Wizzleby)
Created:
2010-03-10 19:10:13 UTC
Size:
1.49 KB
patch
obsolete
>diff -pur scorched.orig/src/common/image/ImagePng.cpp scorched/src/common/image/ImagePng.cpp >--- scorched.orig/src/common/image/ImagePng.cpp 2009-02-22 22:14:20.000000000 -0500 >+++ scorched/src/common/image/ImagePng.cpp 2010-03-10 13:39:19.417220609 -0500 >@@ -189,7 +189,7 @@ bool ImagePng::loadFromBuffer(NetBuffer > info_ptr = png_create_info_struct(png_ptr); > if (info_ptr == NULL) > { >- png_destroy_read_struct(&png_ptr, png_infopp_NULL, png_infopp_NULL); >+ png_destroy_read_struct(&png_ptr, NULL, NULL); > return false; > } > >@@ -200,7 +200,7 @@ bool ImagePng::loadFromBuffer(NetBuffer > if (setjmp(png_jmpbuf(png_ptr))) > { > /* Free all of the memory associated with the png_ptr and info_ptr */ >- png_destroy_read_struct(&png_ptr, &info_ptr, png_infopp_NULL); >+ png_destroy_read_struct(&png_ptr, &info_ptr, NULL); > /* If we get here, we had a problem reading the file */ > return false; > } >@@ -258,7 +258,7 @@ bool ImagePng::loadFromBuffer(NetBuffer > } > else > { >- png_destroy_read_struct(&png_ptr, &info_ptr, png_infopp_NULL); >+ png_destroy_read_struct(&png_ptr, &info_ptr, NULL); > > Logger::log(S3D::formatStringBuffer( > "Invalid PNG format.\n" >@@ -272,7 +272,7 @@ bool ImagePng::loadFromBuffer(NetBuffer > // END NEW CODE > > /* clean up after the read, and free any memory allocated - REQUIRED */ >- png_destroy_read_struct(&png_ptr, &info_ptr, png_infopp_NULL); >+ png_destroy_read_struct(&png_ptr, &info_ptr, NULL); > > /* that's it */ > 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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 308867
: 223043