From 2b370f0ab230e57b0003ca318f7cbefc662fe3ba Mon Sep 17 00:00:00 2001
From: Martin Kelly <mkelly@xevo.com>
Date: Mon, 11 Sep 2017 14:10:03 -0700
Subject: libwebp: update ARM neon patch for pyro

With a new version of libwebp in pyro, the current patch does not apply,
so update it.

Change-Id: If7456e0c50eb23d9a904961655fd87360bf78935
Signed-off-by: Martin Kelly <mkelly@xevo.com>
---
 .../recipes-multimedia/webp/libwebp/disabled_arm_neon.diff       | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

(limited to 'meta-rcar-gen3/recipes-multimedia')

diff --git a/meta-rcar-gen3/recipes-multimedia/webp/libwebp/disabled_arm_neon.diff b/meta-rcar-gen3/recipes-multimedia/webp/libwebp/disabled_arm_neon.diff
index 80b1811..e8523df 100644
--- a/meta-rcar-gen3/recipes-multimedia/webp/libwebp/disabled_arm_neon.diff
+++ b/meta-rcar-gen3/recipes-multimedia/webp/libwebp/disabled_arm_neon.diff
@@ -1,12 +1,13 @@
 diff --git a/src/dsp/dsp.h b/src/dsp/dsp.h
-index 95f1ce0..fc20ffe 100644
+index 1faac27..8aae380 100644
 --- a/src/dsp/dsp.h
 +++ b/src/dsp/dsp.h
-@@ -73,7 +73,6 @@ extern "C" {
- // inline assembly would need to be modified for use with Native Client.
+@@ -77,7 +77,7 @@ extern "C" {
  #if (defined(__ARM_NEON__) || defined(WEBP_ANDROID_NEON) || \
-      defined(__aarch64__)) && !defined(__native_client__)
+      defined(__aarch64__) || defined(WEBP_HAVE_NEON)) && \
+     !defined(__native_client__)
 -#define WEBP_USE_NEON
++//#define WEBP_USE_NEON
  #endif
  
  #if defined(_MSC_VER) && _MSC_VER >= 1700 && defined(_M_ARM)
-- 
cgit 1.2.3-korg