Bug 185330 - media-libs/akode-2.0.2 doesn't build on amd64 with >=flac-1.1.3
Bug#: 185330 Product:  Gentoo Linux Version: 2006.1 Platform: AMD64
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: kde@gentoo.org Reported By: chris@realcomputerguy.com
Component: Library
URL: 
Summary: media-libs/akode-2.0.2 doesn't build on amd64 with >=flac-1.1.3
Keywords:  
Status Whiteboard: 
Opened: 2007-07-14 17:04 0000
Description:   Opened: 2007-07-14 17:04 0000
emerge of media-libs/akode-2.0.2 fails after upgrade to media-libs/flac-1.1.4

Reproducible: Always

Actual Results:  
flac113_decoder.cpp:306: error:   initializing argument 2 of
'FLAC__StreamDecoderInitStatus
FLAC__stream_decoder_init_stream(FLAC__StreamDecoder*,
FLAC__StreamDecoderReadStatus (*)(const FLAC__StreamDecoder*, FLAC__byte*,
size_t*, void*), FLAC__StreamDecoderSeekStatus (*)(const FLAC__StreamDecoder*,
FLAC__uint64, void*), FLAC__StreamDecoderTellStatus (*)(const
FLAC__StreamDecoder*, FLAC__uint64*, void*), FLAC__StreamDecoderLengthStatus
(*)(const FLAC__StreamDecoder*, FLAC__uint64*, void*), FLAC__bool (*)(const
FLAC__StreamDecoder*, void*), FLAC__StreamDecoderWriteStatus (*)(const
FLAC__StreamDecoder*, const FLAC__Frame*, const FLAC__int32* const*, void*),
void (*)(const FLAC__StreamDecoder*, const FLAC__StreamMetadata*, void*), void
(*)(const FLAC__StreamDecoder*, FLAC__StreamDecoderErrorStatus, void*), void*)'
make[4]: *** [flac113_decoder.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory
`/var/tmp/portage/media-libs/akode-2.0.2/work/akode-2.0.2/akode/plugins/xiph_decoder'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/media-libs/akode-2.0.2/work/akode-2.0.2/akode/plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/media-libs/akode-2.0.2/work/akode-2.0.2/akode'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/media-libs/akode-2.0.2/work/akode-2.0.2'
make: *** [all] Error 2

------- Comment #1 From Samuli Suominen 2007-07-14 17:36:48 0000 -------
Created an attachment (id=124854) [details]
akode-2.0.2-amd64-flac-1.1.3.patch

Is likely only problem w/ AMD64, attached patch should fix it. Test.

------- Comment #2 From Samuli Suominen 2007-07-14 17:52:29 0000 -------
Created an attachment (id=124856) [details]
akode-2.0.2.ebuild.patch

Changes for ebuild.

------- Comment #3 From Chris Smith 2007-07-14 18:08:16 0000 -------
patch works fine here

------- Comment #4 From Samuli Suominen 2007-07-14 18:09:52 0000 -------
Sorry for bugspam but I just went and committed this fix after user tested it
for me.

Thanks Chris for reporting.

------- Comment #5 From Chris Smith 2007-07-14 18:15:37 0000 -------
(In reply to comment #4)
> Sorry for bugspam but I just went and committed this fix after user tested it
> for me.
> 
> Thanks Chris for reporting.
> 

Thank you for the quick resolution!