Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83602 - patch for libpng-1.2.8 so ogre-1.0 will work on amd64
Summary: patch for libpng-1.2.8 so ogre-1.0 will work on amd64
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-28 13:36 UTC by Mark <Line72> Dillavou
Modified: 2005-06-07 10:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to fix image loading with devil and ogre on amd64 (1.2.8-long.patch,424 bytes, text/plain)
2005-02-28 13:36 UTC, Mark <Line72> Dillavou
Details

Note You need to log in before you can comment on or make changes to this bug.
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.