Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 83602

Summary: patch for libpng-1.2.8 so ogre-1.0 will work on amd64
Product: Gentoo Linux Reporter: Mark <Line72> Dillavou <dillavou>
Component: New packagesAssignee: Gentoo Games <games>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch to fix image loading with devil and ogre on amd64

Description Mark <Line72> Dillavou 2005-02-28 13:36:07 UTC
Attached is a patch for libpng-1.2.8, so that DevIL and Ogre-1.0 work under amd64.  I have NOT tested this under any platform except amd64!  Also, everything that uses libpng(gtk+, etc), must be rebuilt after applying this patch.  Please see bug 83306 for more information.

Reproducible: Always
Steps to Reproduce:
1. emerge libpng-1.2.8
2. emerge ogre-1.0
3.

Actual Results:  
ogre crashes because it can't load png images

Expected Results:  
ogre should be able to load the images

This fix is for amd64 only!
Comment 1 Mark <Line72> Dillavou 2005-02-28 13:36:55 UTC
Created attachment 52323 [details]
patch to fix image loading with devil and ogre on amd64
Comment 2 Alex Howells (RETIRED) gentoo-dev 2005-02-28 14:04:18 UTC
Assigned to the correct architecture team.
Comment 3 SpanKY gentoo-dev 2005-04-01 15:27:30 UTC
messing with libpng like that will require everything that linked against libpng to be rebuilt or bad things would probably happen ;)
Comment 4 Gen Zhang 2005-05-31 09:55:31 UTC
Sorry SpanKY, but I don't think ignoring this is a good idea. The code is wrong,
plain and simple. Int's are 32 bit on amd64, and long's are 64 bit. If libpng
internally assumes that png_uint_32 are going to be 32 bit, then we've got
bigger issues than just recompiling everything. This NEEDS to be worked out,
either through version bumps on the .so (not even sure that would help) or
coordinating with upstream somehow.