Tried to emerge media-video/ffmpeg-0.4.9_p20081014 on a clean prefix. It fails with ld complaining about "undefined reference to `nanosleep'"
Created attachment 169166 [details] Buildlog
NAME nanosleep - high resolution sleep SYNOPSIS cc [ flag... ] file... -lrt [ library... ] #include <time.h> int nanosleep(const struct timespec *rqtp, struct timespec *rmtp); (missing -lrt in ldflags somehow, probably needs configure fix) CC-ing diego as he's been having fun with ffmpeg, so maybe he has some valuable input on this here.
I fixed it in the tree.
patch: http://overlays.gentoo.org/proj/alt/browser/trunk/prefix-overlay/media-video/ffmpeg/files/ffmpeg-0.4.9_p20081014-solaris.patch?rev=32708 <yngwin> you want aballier for ffmpeg @aballier: do you have contacts/account upstream, they may not like the patch but then they know what to solve ;)
(In reply to comment #4) > patch: > http://overlays.gentoo.org/proj/alt/browser/trunk/prefix-overlay/media-video/ffmpeg/files/ffmpeg-0.4.9_p20081014-solaris.patch?rev=32708 > > <yngwin> you want aballier for ffmpeg > > @aballier: do you have contacts/account upstream, they may not like the patch > but then they know what to solve ;) I think you really want Diego for ffmpeg@solaris; he's been filling a good bunch of fixes for this lately. Anyway if you can mail the patch to ffmpeg-devel@mplayerhq.hu explaining why its needed it'll probably get applied (but expect the due flames if its wrong :p just don't take it personal :) ). I could do this myself too but if there is more discussion/info needed I'm afraid I won't be able to provide it :(
ok :) I got another patch necessary for x64-solaris. http://overlays.gentoo.org/proj/alt/browser/trunk/prefix-overlay/media-video/ffmpeg/files/ffmpeg-0.4.9_p20081014-solaris64.patch?rev=32710 (see the comments in the files that Trac doesn't show)