0.17 and 0.18 included a patch (mythmusic-0.17-sample_rate_type.patch) 0.18.1 needs to include it as well... Reproducible: Always Steps to Reproduce: 1.Build 2.Smack head and say, doh! 3.include the old patch into the build and watch it work.
I was having problems emerging mythmusic-0.18.1, to the effect of the: g++ -c -pipe -Wall -W -O3 -march=athlon-xp -mtune=athlon-xp -fforce-addr -fomit-frame-pointer -ftracer -fweb -pipe -fvisibility-inlines-hidden -I/usr/include/SDL -D_REENTRANT -D_REENTRANT -fPIC -D_GNU_SOURCE -DPREFIX=\"/usr\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include -I/usr/include/cdda -I/usr/qt/3/include -I/usr/include -o aacdecoder.o aacdecoder.cpp aacdecoder.cpp: In member function `bool aacDecoder::initializeMP4()': aacdecoder.cpp:298: error: invalid conversion from `long unsigned int*' to `uint32_t*' aacdecoder.cpp:298: error: initializing argument 4 of `int8_t faacDecInit2(void*, uint8_t*, uint32_t, uint32_t*, uint8_t*)' make[2]: *** [aacdecoder.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/mythmusic-0.18.1/work/mythplugins-0.18.1/mythmusic/mythmusic' make[1]: *** [sub-mythmusic] Error 2 make[1]: Leaving directory `/var/tmp/portage/mythmusic-0.18.1/work/mythplugins-0.18.1/mythmusic' It does seem to be related to this bug, because including the patch fixes the problem.
what version of faad2 do you have?
I'm using faad2-2.0-r6.
I can confirm this bug on AMD64. I added the following to the end of src_unpack() in the ebuild: cd ${S}/mythmusic epatch ${FILESDIR}/${P}-sample_rate_type.patch and renamed the patch to 0.18.1 instead of 0.17 Now it compiles fine.
I've got to have some package different then you guys. Cause with the patch it fails for me. It works for me without the patch. I can confirm that the faad2 headers are updated properly for me. I assumed it was faad2 versions.
In fact, I just figured it out. They put the fix into faad2-r6 but never rev bumped it. rev -r7 should be the fix.
Fixed InCVS. Just emerge sync... and suddently mythmusic should compile. Please test.
*** Bug 94490 has been marked as a duplicate of this bug. ***