Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 397529 - media-sound/mpg321 requires at least libao-1.0
Summary: media-sound/mpg321 requires at least libao-1.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-03 17:27 UTC by MageSlayer
Modified: 2012-01-03 20:58 UTC (History)
0 users

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


Attachments
Ebuild with libao version dependency (mpg321-0.3.0-r1.ebuild,996 bytes, text/plain)
2012-01-03 17:28 UTC, MageSlayer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MageSlayer 2012-01-03 17:27:55 UTC
Hi

I have an old Gentoo installation with libao-0.8.6.
mpg321 build fails with:
ao.c: In function 'open_ao_playdevice':
ao.c:307:8: error: 'ao_sample_format' has no member named 'matrix'
ao.c: In function 'open_ao_playdevice_buffer':
ao.c:602:8: error: 'ao_sample_format' has no member named 'matrix'

The reason is mpg321 requires at least libao-1.0 where this extra field is present. 
Attached ebuild fixes the problem.

Reproducible: Always
Comment 1 MageSlayer 2012-01-03 17:28:48 UTC
Created attachment 297821 [details]
Ebuild with libao version dependency

Ebuild with libao version dependency
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2012-01-03 20:58:44 UTC
fixed in ebuild for 0.3.0