diff --git a/media-video/ffmpeg/patches/ffmpeg-0.10-gcc2.patch b/media-video/ffmpeg/patches/ffmpeg-0.10-gcc2.patch index 84adee792..935cd7276 100644 --- a/media-video/ffmpeg/patches/ffmpeg-0.10-gcc2.patch +++ b/media-video/ffmpeg/patches/ffmpeg-0.10-gcc2.patch @@ -210,8 +210,8 @@ index e1ba799..3820056 100644 av_log(c, AV_LOG_ERROR, "unsupported planar RGB conversion %s -> %s\n", av_get_pix_fmt_name(c->srcFormat), av_get_pix_fmt_name(c->dstFormat)); diff --git a/configure b/configure ---- ffmpeg-0.10/configure 2012-01-26 22:15:59.035389440 +0000 -+++ ffmpeg-0.10/configure 2012-03-20 00:55:05.090963968 +0000 +--- ffmpeg-0.10/configure 2012-01-26 22:15:59.047710208 +0000 ++++ ffmpeg-0.10-haiku/configure 2012-03-28 22:30:34.330563584 +0000 @@ -1359,7 +1359,6 @@ aligned_stack_if_any="ppc x86" @@ -220,6 +220,15 @@ diff --git a/configure b/configure fast_unaligned_if_any="armv6 ppc x86" inline_asm_deps="!tms470" +@@ -1866,7 +1865,7 @@ + CC_O='-o $@' + CXX_O='-o $@' + +-host_cflags='-D_ISOC99_SOURCE -O3 -g' ++host_cflags='-D_ISOC99_SOURCE -O2 -g' + host_libs='-lm' + + target_path='$(CURDIR)' @@ -1948,6 +1947,7 @@ done @@ -228,6 +237,15 @@ diff --git a/configure b/configure die_unknown(){ echo "Unknown option \"$1\"." +@@ -2144,7 +2144,7 @@ + CC_DEPFLAGS='-MMD -MF $(@:.o=.d) -MT $@' + AS_DEPFLAGS='-MMD -MF $(@:.o=.d) -MT $@' + fi +- speed_cflags='-O3' ++ speed_cflags='-O2' + size_cflags='-Os' + elif $cc --version 2>/dev/null | grep -q Intel; then + cc_type=icc @@ -2831,10 +2831,6 @@ struct { int x; } __attribute__((packed)) x; EOF