source: build-files/ports-overlay/multimedia/mythtv/files/patch-external__FFmpeg__configure @ 1e102bd

9.2-releasereleng/10.0releng/10.0.1releng/10.0.2releng/10.0.3releng/10.1
Last change on this file since 1e102bd was 1e102bd, checked in by Kris Moore <kris@…>, 14 months ago

Add a bunch of modified ports for 10.0, so we can fix the building

  • Property mode set to 100644
File size: 879 bytes
Line 
1--- external/FFmpeg/configure.orig      2010-08-23 18:54:20.000000000 +0200
2+++ external/FFmpeg/configure   2010-11-01 21:13:19.000000000 +0100
3@@ -1528,8 +1528,8 @@
4 nm_opts='-g'
5 
6 # machine
7-arch_default=$(uname -m)
8-cpu="generic"
9+arch_default=$(uname -p)
10+cpu="i686"
11 
12 # OS
13 target_os_default=$(tolower $(uname -s))
14@@ -2108,7 +2108,7 @@
15         i686|pentiumpro|pentium[23]|pentium-m|athlon|athlon-tbird|athlon-4|athlon-[mx]p|athlon64|k8|opteron|athlon-fx|core2|amdfam10|barcelona)
16             cpuflags="-march=$cpu"
17             enable cmov
18-            enable fast_cmov
19+            disable fast_cmov
20         ;;
21         # targets that do support conditional mov but on which it's slow
22         pentium4|pentium4m|prescott|nocona)
23@@ -3063,7 +3063,7 @@
24 SRC_PATH_BARE=$source_path
25 BUILD_ROOT="$PWD"
26 CC_IDENT=$cc_ident
27-ARCH=$arch
28+FFMPEG_ARCH=$arch
29 CC=$cc
30 AS=$as
31 LD=$ld
Note: See TracBrowser for help on using the repository browser.