From patchwork Thu Sep 21 17:42:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 113922 Delivered-To: patch@linaro.org Received: by 10.80.163.150 with SMTP id s22csp2143266edb; Thu, 21 Sep 2017 10:42:29 -0700 (PDT) X-Received: by 10.99.186.81 with SMTP id l17mr6440818pgu.170.1506015748906; Thu, 21 Sep 2017 10:42:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506015748; cv=none; d=google.com; s=arc-20160816; b=s2vHB87obDKW4kYsUP7pnVEdIYboGZqqmT3EZso6+slKaasM8LEZXhtZSfkzU9S+O1 EFoO829abkgoBmNqQ1KL0ZBF3eoKw73GO5ICfXgedU+HK/1p2JQ++mjIAP0MyewPoO+E or4HVFkKP3bN4leiiWgpw9sJKD4YkksjHE+TzSw5IK7Q3QiG01+ojAFqMPJuqkNxrjrN fFi6WjVVjUqr2vuP+lQ7PjYYGkTYF93DF74neaQWO6JRE24yZDgiiA0kzxekiTMhGmtZ SSMTHVvcqRupaBU7KxAyjKP77NMcxJ3GzoGpuR89VuB1H/2Ad9aAyl4Gtx7X75UBdTH5 Gurw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=Z8YxfgzzHSDAEgurL8K6wlzuWKNAHpyyoxxHYDR95r8=; b=kqsxYVtpOV+erbLWhnbnlwTOSqRjO5ZLTgBLVT7HP0tP74nmjkS3+5dM9J0fVNsmYx Yx+MeHxtnntwF2fAdXBUd7pgYP5XovVlkmP5A12iK9ZysK2SequYNHCRYV8XfyMj2Kh7 mw5sUuPCcpX8L+78ohio2+ywJDM2XIcivxOvclHS65oSM6ZbPDfPvbBS5HpuoHprZ/5c iqf8Uzw/MNGph0Qfbd8tqN21oQp7XL2Ttm3U/0gsVTI/1excS5W5TuXCk5R9jTJ6rmhM mPcDH1s8c0Z43cnwPmZdasnnlH+vLb+hElo7QpXb1zqpwwg8ag2ESaTznSIJIi8/8tMA ytMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=FiKRbQ8e; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id u19si1356736plj.135.2017.09.21.10.42.28; Thu, 21 Sep 2017 10:42:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=FiKRbQ8e; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id EB0B978289; Thu, 21 Sep 2017 17:42:22 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f43.google.com (mail-pg0-f43.google.com [74.125.83.43]) by mail.openembedded.org (Postfix) with ESMTP id 7CB8860685 for ; Thu, 21 Sep 2017 17:42:22 +0000 (UTC) Received: by mail-pg0-f43.google.com with SMTP id b11so3885127pgn.12 for ; Thu, 21 Sep 2017 10:42:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=VV4AY9nWJLU25Mo58+E6tQdSvMmPCRDATk0SB4sbCAQ=; b=FiKRbQ8e69O3bT+eus/+k5Cxsw7hvqegaJOAzwN/X1y0izUZ7M/BvbtjpF36fONDI8 Yxua6oBOe7j8W3uBjz407pW9wZSryWxvbFNxIurZKjgUAGk2oib9uBYzTjL3u33f+7Ax s10uGwo11DjPiJ7q4Bdg11vDQrYKtMQOQRks8Ww+CUGkSaTpWz1zoxjvdS5CO+uK+JVR X5P+HKqOHOGtdu6epZ9VYveyUBdIBQIO2yy3W1rF4QNWvSSxJGvIVewNV0P9pBdUSFci NqeP0Cu0N3Vlh+gFeEmLmE4H/D30y8wLyzn4rEfCuVLh6zKTwXLzciVqwC04/LLrt6d4 6b9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=VV4AY9nWJLU25Mo58+E6tQdSvMmPCRDATk0SB4sbCAQ=; b=ev0nh0L5r4WL6ttF6N2hbPXM7pHArcNOjyJIw2AIX0dNFiUF+aQTdSjuZ+4wvjcNuB HJjzalFgXSJJ3cwKJmoVi1/weSDIkhqt9nLVjLK8c9jBStAi+5AnhDR1N5YV2ogKyG3W tSOqr9YDt0Z0CrK5Ydam/OwTOrMii9Ur3QcxoTN7tfQmBzysNh6vfNACJCQYo+VhKoag WKhcuPCfjmFeViLSwSBjdJzG62BjgoVsuEK/J60QCbEXj260rzeuhYSVNahzBYcj1KYj msbxbkioM7ZXs+wQ/Gp9Y9GJjKwkHu/4jQ0cC6lQluMyD5PlSkIZ1hBZYQhEPs7qrtaR lFcA== X-Gm-Message-State: AHPjjUhF/2TBUmMsJx/9oWU+tNjb7QIasZONkS/3EYzK/WtLclSJHkOk WpOn/mBY/+CMUxLxFuxm/dYZAA== X-Google-Smtp-Source: AOwi7QAwZNpgfumodjjOyEnvwbyPmyMAKNdxaTKhR1q6vAWhfAsI6KjVWAm/9aLQewJ++pS9CUlQyw== X-Received: by 10.84.132.2 with SMTP id 2mr6277155ple.381.1506015743693; Thu, 21 Sep 2017 10:42:23 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::e57f]) by smtp.gmail.com with ESMTPSA id u20sm3241745pfh.171.2017.09.21.10.42.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Sep 2017 10:42:23 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Thu, 21 Sep 2017 10:42:15 -0700 Message-Id: <20170921174216.33386-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.14.1 Subject: [OE-core] [PATCH 1/2] gstreamer1.0-libav: Fix build on mips X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- ...a.c-Fix-build-by-Including-libavcodec-hev.patch | 33 ++++++++++++++++++++++ .../gstreamer/gstreamer1.0-libav_1.12.2.bb | 1 + 2 files changed, 34 insertions(+) create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-hevcpred_msa.c-Fix-build-by-Including-libavcodec-hev.patch -- 2.14.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-hevcpred_msa.c-Fix-build-by-Including-libavcodec-hev.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-hevcpred_msa.c-Fix-build-by-Including-libavcodec-hev.patch new file mode 100644 index 0000000000..afbfc84db5 --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-hevcpred_msa.c-Fix-build-by-Including-libavcodec-hev.patch @@ -0,0 +1,33 @@ +From b5226c096a0b7049874858e94a59d43e10ba3fd2 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Thu, 21 Sep 2017 10:22:56 -0700 +Subject: [PATCH] hevcpred_msa.c: Fix build by Including libavcodec/hevcdec.h + +src/libavcodec/mips/hevcpred_msa.c:1913:32: error: unknown type name 'HEVCContext'; did you mean 'HEVCPredContext'? + void ff_intra_pred_8_16x16_msa(HEVCContext *s, int x0, int y0, int c_idx) + ^~~~~~~~~~~ + HEVCPredContext + +Signed-off-by: Khem Raj +--- +Upstream-Status: Pending + + gst-libs/ext/libav/libavcodec/mips/hevcpred_msa.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/gst-libs/ext/libav/libavcodec/mips/hevcpred_msa.c b/gst-libs/ext/libav/libavcodec/mips/hevcpred_msa.c +index 6a3b281..963c64c 100644 +--- a/gst-libs/ext/libav/libavcodec/mips/hevcpred_msa.c ++++ b/gst-libs/ext/libav/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.14.1 + diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.12.2.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.12.2.bb index 6c5f779ebf..3b5bbd1507 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.12.2.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.12.2.bb @@ -13,6 +13,7 @@ SRC_URI = "http://gstreamer.freedesktop.org/src/gst-libav/gst-libav-${PV}.tar.xz file://workaround-to-build-gst-libav-for-i586-with-gcc.patch \ file://mips64_cpu_detection.patch \ file://0001-configure-check-for-armv7ve-variant.patch \ + file://0001-hevcpred_msa.c-Fix-build-by-Including-libavcodec-hev.patch \ " SRC_URI[md5sum] = "8788aecc032a287227b4bd239d1b998a" SRC_URI[sha256sum] = "5bb735b9bb218b652ae4071ea6f6be8eaae55e9d3233aec2f36b882a27542db3"