diff options
author | Bernhard Froehlich <decke@FreeBSD.org> | 2011-01-04 17:45:25 +0000 |
---|---|---|
committer | Bernhard Froehlich <decke@FreeBSD.org> | 2011-01-04 17:45:25 +0000 |
commit | 966c4738ffe156238ed721204f3e8bc2c62e5780 (patch) | |
tree | eb94f05d3cce506adab199acacbc27d1b58c734f /multimedia/mythtv/files/patch-external__FFmpeg__configure | |
parent | 03d3844e8ad11a757a3d5db8cc347f1d461da420 (diff) | |
download | ports-966c4738ffe156238ed721204f3e8bc2c62e5780.tar.gz ports-966c4738ffe156238ed721204f3e8bc2c62e5780.zip |
Notes
Diffstat (limited to 'multimedia/mythtv/files/patch-external__FFmpeg__configure')
-rw-r--r-- | multimedia/mythtv/files/patch-external__FFmpeg__configure | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/multimedia/mythtv/files/patch-external__FFmpeg__configure b/multimedia/mythtv/files/patch-external__FFmpeg__configure new file mode 100644 index 000000000000..8fe0073fafd3 --- /dev/null +++ b/multimedia/mythtv/files/patch-external__FFmpeg__configure @@ -0,0 +1,31 @@ +--- external/FFmpeg/configure.orig 2010-08-23 18:54:20.000000000 +0200 ++++ external/FFmpeg/configure 2010-11-01 21:13:19.000000000 +0100 +@@ -1528,8 +1528,8 @@ + nm_opts='-g' + + # machine +-arch_default=$(uname -m) +-cpu="generic" ++arch_default=$(uname -p) ++cpu="i686" + + # OS + target_os_default=$(tolower $(uname -s)) +@@ -2108,7 +2108,7 @@ + i686|pentiumpro|pentium[23]|pentium-m|athlon|athlon-tbird|athlon-4|athlon-[mx]p|athlon64|k8|opteron|athlon-fx|core2|amdfam10|barcelona) + cpuflags="-march=$cpu" + enable cmov +- enable fast_cmov ++ disable fast_cmov + ;; + # targets that do support conditional mov but on which it's slow + pentium4|pentium4m|prescott|nocona) +@@ -3063,7 +3063,7 @@ + SRC_PATH_BARE=$source_path + BUILD_ROOT="$PWD" + CC_IDENT=$cc_ident +-ARCH=$arch ++FFMPEG_ARCH=$arch + CC=$cc + AS=$as + LD=$ld |