commit:     d18d89cdd674b7eb62619f8cc4b583e358ee7a43
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 22 09:53:37 2015 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Sat Aug 22 09:53:37 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d18d89cd

media-video/ffmpeg: Check for -mcpu, then -march and finally -mtune for 
determining cpu type.

Should fix https://bugs.gentoo.org/show_bug.cgi?id=553632

Package-Manager: portage-2.2.20.1

 media-video/ffmpeg/ffmpeg-2.6.3.ebuild | 2 +-
 media-video/ffmpeg/ffmpeg-2.6.4.ebuild | 2 +-
 media-video/ffmpeg/ffmpeg-2.7.2.ebuild | 2 +-
 media-video/ffmpeg/ffmpeg-9999.ebuild  | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/media-video/ffmpeg/ffmpeg-2.6.3.ebuild 
b/media-video/ffmpeg/ffmpeg-2.6.3.ebuild
index fb7c820..2f513ba 100644
--- a/media-video/ffmpeg/ffmpeg-2.6.3.ebuild
+++ b/media-video/ffmpeg/ffmpeg-2.6.3.ebuild
@@ -364,7 +364,7 @@ multilib_src_configure() {
        # We need to do this so that features of that CPU will be better used
        # If they contain an unknown CPU it will not hurt since ffmpeg's 
configure
        # will just ignore it.
-       for i in $(get-flag mcpu) $(get-flag mtune) $(get-flag march) ; do
+       for i in $(get-flag mcpu) $(get-flag march) $(get-flag mtune) ; do
                [[ ${i} = native ]] && i="host" # bug #273421
                myconf+=( --cpu=${i} )
                break

diff --git a/media-video/ffmpeg/ffmpeg-2.6.4.ebuild 
b/media-video/ffmpeg/ffmpeg-2.6.4.ebuild
index c970d54..f4e269c 100644
--- a/media-video/ffmpeg/ffmpeg-2.6.4.ebuild
+++ b/media-video/ffmpeg/ffmpeg-2.6.4.ebuild
@@ -364,7 +364,7 @@ multilib_src_configure() {
        # We need to do this so that features of that CPU will be better used
        # If they contain an unknown CPU it will not hurt since ffmpeg's 
configure
        # will just ignore it.
-       for i in $(get-flag mcpu) $(get-flag mtune) $(get-flag march) ; do
+       for i in $(get-flag mcpu) $(get-flag march) $(get-flag mtune) ; do
                [[ ${i} = native ]] && i="host" # bug #273421
                myconf+=( --cpu=${i} )
                break

diff --git a/media-video/ffmpeg/ffmpeg-2.7.2.ebuild 
b/media-video/ffmpeg/ffmpeg-2.7.2.ebuild
index 280e101..c568a8f 100644
--- a/media-video/ffmpeg/ffmpeg-2.7.2.ebuild
+++ b/media-video/ffmpeg/ffmpeg-2.7.2.ebuild
@@ -364,7 +364,7 @@ multilib_src_configure() {
        # We need to do this so that features of that CPU will be better used
        # If they contain an unknown CPU it will not hurt since ffmpeg's 
configure
        # will just ignore it.
-       for i in $(get-flag mcpu) $(get-flag mtune) $(get-flag march) ; do
+       for i in $(get-flag mcpu) $(get-flag march) $(get-flag mtune) ; do
                [[ ${i} = native ]] && i="host" # bug #273421
                myconf+=( --cpu=${i} )
                break

diff --git a/media-video/ffmpeg/ffmpeg-9999.ebuild 
b/media-video/ffmpeg/ffmpeg-9999.ebuild
index ca8ee9f..fa8dea8 100644
--- a/media-video/ffmpeg/ffmpeg-9999.ebuild
+++ b/media-video/ffmpeg/ffmpeg-9999.ebuild
@@ -366,7 +366,7 @@ multilib_src_configure() {
        # We need to do this so that features of that CPU will be better used
        # If they contain an unknown CPU it will not hurt since ffmpeg's 
configure
        # will just ignore it.
-       for i in $(get-flag mcpu) $(get-flag mtune) $(get-flag march) ; do
+       for i in $(get-flag mcpu) $(get-flag march) $(get-flag mtune) ; do
                [[ ${i} = native ]] && i="host" # bug #273421
                myconf+=( --cpu=${i} )
                break

Reply via email to