ssuominen 14/03/15 19:04:18 Added: ffmpeg2theora-0.29-underlinking.patch Log: Fix underlinking by always linking against -lm -ldl wrt #504698 by "Guy" (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Revision Changes Path 1.1 media-video/ffmpeg2theora/files/ffmpeg2theora-0.29-underlinking.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/ffmpeg2theora/files/ffmpeg2theora-0.29-underlinking.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/ffmpeg2theora/files/ffmpeg2theora-0.29-underlinking.patch?rev=1.1&content-type=text/plain Index: ffmpeg2theora-0.29-underlinking.patch =================================================================== For example, pow() from mathlib is used directly in src/ffmpeg2theora.c: <snip> v = pow(v, g) * 255.0; // mplayer's vf_eq2.c multiplies with 256 here, strange... </snip> For build failure and log, see Gentoo bug #504698 --- SConstruct +++ SConstruct @@ -206,9 +206,8 @@ if env['crossmingw']: env.Append(CCFLAGS=['-Wl,-subsystem,windows']) env.Append(LIBS=['m']) - elif env['static']: - env.Append(LIBS=['m', 'dl']) + env.Append(LIBS=['m', 'dl']) env = conf.Finish()
