diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-06-12 17:32:10 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-23 11:43:40 +0100 |
commit | ace103370746b7d8ae38701d2ef472f53a68edfb (patch) | |
tree | 3db601c2584ef11cb870ded2022b6de6c0e6bab9 | |
parent | db31c837b579dc64bc86553cbc95736bfca97a90 (diff) | |
download | openembedded-core-ace103370746b7d8ae38701d2ef472f53a68edfb.tar.gz |
ffmpeg: Upgrade to 3.3.2 stable
* Fix mips/mips64 along the way, it was broken in 3.3 as well
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta/recipes-multimedia/ffmpeg/ffmpeg/0001-build-fix-for-mips.patch | 44 | ||||
-rw-r--r-- | meta/recipes-multimedia/ffmpeg/ffmpeg_3.3.2.bb (renamed from meta/recipes-multimedia/ffmpeg/ffmpeg_3.3.bb) | 5 |
2 files changed, 47 insertions, 2 deletions
diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg/0001-build-fix-for-mips.patch b/meta/recipes-multimedia/ffmpeg/ffmpeg/0001-build-fix-for-mips.patch new file mode 100644 index 0000000000..3f8224aa07 --- /dev/null +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg/0001-build-fix-for-mips.patch @@ -0,0 +1,44 @@ +From f34c567045bea5a7ded9bcfa8e785cfd24cc7dde Mon Sep 17 00:00:00 2001 +From: Shivraj Patil <shivraj.patil@imgtec.com> +Date: Tue, 4 Apr 2017 18:56:01 +0530 +Subject: [PATCH] build fix for mips + +Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com> +Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> +--- +Upstream-Status: Backport + + libavcodec/mips/hevcpred_init_mips.c | 3 ++- + libavcodec/mips/hevcpred_msa.c | 2 +- + 2 files changed, 3 insertions(+), 2 deletions(-) + +diff --git a/libavcodec/mips/hevcpred_init_mips.c b/libavcodec/mips/hevcpred_init_mips.c +index 331cfac115..e987698d66 100644 +--- a/libavcodec/mips/hevcpred_init_mips.c ++++ b/libavcodec/mips/hevcpred_init_mips.c +@@ -18,7 +18,8 @@ + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +-#include "libavcodec/hevc.h" ++#include "config.h" ++#include "libavutil/attributes.h" + #include "libavcodec/mips/hevcpred_mips.h" + + #if HAVE_MSA +diff --git a/libavcodec/mips/hevcpred_msa.c b/libavcodec/mips/hevcpred_msa.c +index 6a3b2815fd..963c64c861 100644 +--- a/libavcodec/mips/hevcpred_msa.c ++++ b/libavcodec/mips/hevcpred_msa.c +@@ -18,7 +18,7 @@ + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +-#include "libavcodec/hevc.h" ++#include "libavcodec/hevcdec.h" + #include "libavutil/mips/generic_macros_msa.h" + #include "hevcpred_mips.h" + +-- +2.13.1 + diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_3.3.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_3.3.2.bb index c2b570e85c..f4bb2ba1f5 100644 --- a/meta/recipes-multimedia/ffmpeg/ffmpeg_3.3.bb +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_3.3.2.bb @@ -25,9 +25,10 @@ LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ SRC_URI = "https://www.ffmpeg.org/releases/${BP}.tar.xz \ file://mips64_cpu_detection.patch \ + file://0001-build-fix-for-mips.patch \ " -SRC_URI[md5sum] = "368f1fff4bdadaf2823934cc0aadd71d" -SRC_URI[sha256sum] = "599e7f7c017221c22011c4037b88bdcd1c47cd40c1e466838bc3c465f3e9569d" +SRC_URI[md5sum] = "d6c09c84e3d0d9ca8a51f481da660603" +SRC_URI[sha256sum] = "1998de1ab32616cbf2ff86efc3f1f26e76805ec5dc51e24c041c79edd8262785" # Build fails when thumb is enabled: https://bugzilla.yoctoproject.org/show_bug.cgi?id=7717 ARM_INSTRUCTION_SET = "arm" |