--- ffmpeg-1.2.6.ebuild 2014-03-06 20:11:25.000000000 +0100 +++ ffmpeg-1.2.6-r1.ebuild 2014-04-05 00:19:19.871218508 +0200 @@ -31,7 +31,7 @@ fi IUSE=" aac aacplus alsa amr bindist bluray +bzip2 cdio celt cpudetection debug doc +encode examples faac fdk flite fontconfig frei0r - gnutls gsm +hardcoded-tables +iconv iec61883 ieee1394 jack jpeg2k libass + gnutls gsm +hardcoded-tables hardened +iconv iec61883 ieee1394 jack jpeg2k libass libcaca libsoxr libv4l modplug mp3 +network openal openssl opus oss pic pulseaudio rtmp schroedinger sdl speex static-libs test theora threads truetype twolame v4l vaapi vdpau vorbis vpx X x264 xvid +zlib @@ -250,6 +250,9 @@ src_configure() { esac fi + # If we're using hardened-x86, we need to remove stack-check on gcc-4.8.2 (Bug #506206) + use hardened && use x86 && append-flags "-fstack-check=no" + "${S}/configure" \ --prefix="${EPREFIX}/usr" \ --libdir="${EPREFIX}/usr/$(get_libdir)" \