diff options
Diffstat (limited to 'community/ffmpeg2theora/ffmpeg2theora-0.29-underlinking.patch')
-rw-r--r-- | community/ffmpeg2theora/ffmpeg2theora-0.29-underlinking.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/community/ffmpeg2theora/ffmpeg2theora-0.29-underlinking.patch b/community/ffmpeg2theora/ffmpeg2theora-0.29-underlinking.patch new file mode 100644 index 000000000..dc8776039 --- /dev/null +++ b/community/ffmpeg2theora/ffmpeg2theora-0.29-underlinking.patch @@ -0,0 +1,21 @@ +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() + |