summaryrefslogtreecommitdiff
path: root/multimedia/mythtv/files/patch-external_FFmpeg_configure
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2018-03-02 14:20:03 +0000
committerJason E. Hale <jhale@FreeBSD.org>2018-03-02 14:20:03 +0000
commitea56c3f287a7440a665e5e32b4710f94bc73e73a (patch)
treeae4c538c3eace0e70059afd3874ee62db5d1ed9b /multimedia/mythtv/files/patch-external_FFmpeg_configure
parentUpdate to 4.16.43 (diff)
Rename and update patches per current convention ahead of new version update
to make community testing of new version a little easier and eliminate potential confusion. PR: 225652
Diffstat (limited to 'multimedia/mythtv/files/patch-external_FFmpeg_configure')
-rw-r--r--multimedia/mythtv/files/patch-external_FFmpeg_configure22
1 files changed, 22 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..37b011404223
--- /dev/null
+++ b/multimedia/mythtv/files/patch-external_FFmpeg_configure
@@ -0,0 +1,22 @@
+--- external/FFmpeg/configure.orig 2015-06-16 16:03:30 UTC
++++ external/FFmpeg/configure
+@@ -2167,8 +2167,8 @@ yasmexe_default="yasm"
+ nogas=":"
+
+ # machine
+-arch_default=$(uname -m)
+-cpu="generic"
++arch_default=$(uname -p)
++cpu="i686"
+
+ # OS
+ target_os_default=$(tolower $(uname -s))
+@@ -3137,7 +3137,7 @@ elif enabled x86; then
+ i686|pentiumpro|pentium[23]|pentium-m|athlon|athlon-tbird|athlon-4|athlon-[mx]p|athlon64*|k8*|opteron*|athlon-fx|core2|corei7*|amdfam10|barcelona|atom|bdver*)
+ 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)