Since INT64_C isn't defined by ffmpeg anymore it needs to be moved to stepmania code instead. And by looks of it tries to threat some C code as C++ (?!). I've tried patching it and will be attaching my attempt which eliminates some of these errors, but it still dies on "arch/MovieTexture/MovieTexture_FFMpeg.cpp:311: error: integer constant is too large for ‘long’ type" Original errors.. i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -finline-limit=300 -O2 -march=athlon-xp -pipe -c -o MovieTexture_FFMpeg.o `test -f 'arch/MovieTexture/MovieTexture_FFMpeg.cpp' || echo './'`arch/MovieTexture/MovieTexture_FFMpeg.cpp arch/MovieTexture/MovieTexture_FFMpeg.cpp:309: error: integer constant is too large for ‘long’ type i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -finline-limit=300 -O2 -march=athlon-xp -pipe -c -o LightsDriver.o `test -f 'arch/Lights/LightsDriver.cpp' || echo './'`arch/Lights/LightsDriver.cpp arch/MovieTexture/MovieTexture_FFMpeg.cpp: In member function ‘int FFMpeg_Helper::DecodePacket()’: arch/MovieTexture/MovieTexture_FFMpeg.cpp:309: error: ‘INT64_C’ was not declared in this scope arch/MovieTexture/MovieTexture_FFMpeg.cpp: In member function ‘void MovieTexture_FFMpeg::ConvertFrame()’: arch/MovieTexture/MovieTexture_FFMpeg.cpp:393: warning: ‘img_convert’ is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2399) arch/MovieTexture/MovieTexture_FFMpeg.cpp:395: warning: ‘img_convert’ is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2399) arch/MovieTexture/MovieTexture_FFMpeg.cpp: In function ‘CStdStringA averr_ssprintf(int, const char*, ...)’: arch/MovieTexture/MovieTexture_FFMpeg.cpp:518: error: duplicate case value arch/MovieTexture/MovieTexture_FFMpeg.cpp:515: error: previously used here make[2]: *** [MovieTexture_FFMpeg.o] Error 1 make[2]: *** Waiting for unfinished jobs....
Created attachment 123561 [details, diff] stepmania-3.9-recent-ffmpeg-unfinished-fix-attempt.patch
[ebuild N ] games-arcade/stepmania-3.9 USE="gtk jpeg mp3 mpeg vorbis -debug -force-oss" It fails on both x86 and amd64, I started working on it since amd64 user reported it to me on IRC. Using x86 myself here, and reproduced it.
ok, other issues are solved (and committed to tree) but it fails to link with ffmpeg because img_convert is obsolete. need a patch to replace it with functions from swscale, afaik.
Is this reported upstream? It would be better I think. If so, can anyone post a link to upstream bug report?
(In reply to comment #4) > Is this reported upstream? It would be better I think. If so, can anyone post a > link to upstream bug report? > I've mailed them but likely to a wrong address, and now we have even more patches.. They should show up in, http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/stepmania After a moment. And yes, upstream *needs* to be contacted since most of these bugs are still in their CVS(!) Anyway, this is now fixed in Portage.