--- ffmpeg-0.4.9_p20070616-r2.ebuild.orig 2008-04-20 09:36:30.000000000 +0200 +++ ffmpeg-0.4.9_p20070616-r2.ebuild 2008-05-24 03:44:06.000000000 +0200 @@ -46,13 +46,6 @@ unpack ${A} || die cd "${S}" - #Append -DBROKEN_RELOCATIONS to build for bug 179872. - #Pretty please fix me if you can. - append-flags "-DBROKEN_RELOCATIONS" - - #Append -fomit-frame-pointer to avoid some common issues - use debug || append-flags "-fomit-frame-pointer" - # for some reason it tries to #include , but doesn't use it sed -i s:\#define\ HAVE_X11:\#define\ HAVE_LINUX: ffplay.c @@ -76,6 +69,13 @@ } src_compile() { + #Append -DBROKEN_RELOCATIONS to build for bug 179872. + #Pretty please fix me if you can. + append-flags "-DBROKEN_RELOCATIONS" + + #Append -fomit-frame-pointer to avoid some common issues + use debug || append-flags "-fomit-frame-pointer" + replace-flags -O0 -O2 #x86, what a wonderful arch.... replace-flags -O1 -O2