summaryrefslogtreecommitdiff
path: root/package/ffmpeg/patches/patch-configure
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2022-02-27 11:57:31 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2022-02-27 11:59:23 +0100
commit92ab1f5a9b8413e15b8cc6f5a896354f88a47f87 (patch)
tree54e6013ba9d35ad4b1b60eb87be1f90e6741aa98 /package/ffmpeg/patches/patch-configure
parent884e156e1db5f92555b04bd150f64392d4c47c1c (diff)
kodi: update to Matrix with all dependencies
Diffstat (limited to 'package/ffmpeg/patches/patch-configure')
-rw-r--r--package/ffmpeg/patches/patch-configure15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/ffmpeg/patches/patch-configure b/package/ffmpeg/patches/patch-configure
new file mode 100644
index 000000000..645eb4d6a
--- /dev/null
+++ b/package/ffmpeg/patches/patch-configure
@@ -0,0 +1,15 @@
+--- ffmpeg-4.4.1.orig/configure 2021-10-24 22:47:11.000000000 +0200
++++ ffmpeg-4.4.1/configure 2022-02-25 12:51:17.554887194 +0100
+@@ -4984,9 +4984,10 @@ elif enabled arm; then
+ fi
+ }
+
+- [ "$cpu" = generic ] && cpu=$(probe_arm_arch)
+-
+ case $cpu in
++ generic)
++ subarch=$(probe_arm_arch | sed 's/[^a-z0-9]//g')
++ ;;
+ armv*)
+ cpuflags="-march=$cpu"
+ subarch=$(echo $cpu | sed 's/[^a-z0-9]//g')