Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42074 - media-plugins/modplugxmms fix for amd64
Summary: media-plugins/modplugxmms fix for amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High enhancement (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-18 14:34 UTC by Tyler Montbriand
Modified: 2004-02-25 09:41 UTC (History)
0 users

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


Attachments
stdafx.h patch for amd64 (libmodplug_amd64.patch,1.49 KB, patch)
2004-02-18 14:38 UTC, Tyler Montbriand
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tyler Montbriand 2004-02-18 14:34:36 UTC
libmodplug is not supported under amd64 because it uses incorrect integer sizes for things like longs and unsigned longs...  trying to load and play files inevitably causes a hang or segfault.

Reproducible: Always
Steps to Reproduce:
1. ACCEPT_KEYWORDS="x86" emerge modplug-xmms
2. Try and play a mod file in XMMS

Actual Results:  
It inevitably hangs. 

Expected Results:  
It should have played music. 

Modifying stdafx.h to define the proper integer types for amd64 has allowed me to use 
it with nearly no problems(.mdr files don't work right, but they never did).  It will still 
compile properly under other platforms, but now compiles correctly for amd64. 
 
My modified .h file is downloadable at http://burningsmell.dyndns.org/modplug/stdafx.h
Comment 1 Tyler Montbriand 2004-02-18 14:38:07 UTC
Created attachment 25882 [details, diff]
stdafx.h patch for amd64

The patch was made for the version of modplugxmms where libmodplug and
modplugxmms are seperate libraries instead of the same, but the patch is
identical.  The placement of stdafx.h may differ.
Comment 2 Daniel Ahlberg (RETIRED) gentoo-dev 2004-02-25 09:41:19 UTC
Added to CVS, thanks!