Created and submitted a patch to fix header path.

Signed-off-by: Naveen Saini <[email protected]>
---
 ...-test-soft-image.cpp-fix-header-path.patch | 37 +++++++++++++++++++
 .../{libxcam_1.3.0.bb => libxcam_1.4.0.bb}    |  6 +--
 2 files changed, 40 insertions(+), 3 deletions(-)
 create mode 100644 
recipes-core/libxcam/libxcam/0001-test-soft-image.cpp-fix-header-path.patch
 rename recipes-core/libxcam/{libxcam_1.3.0.bb => libxcam_1.4.0.bb} (88%)

diff --git 
a/recipes-core/libxcam/libxcam/0001-test-soft-image.cpp-fix-header-path.patch 
b/recipes-core/libxcam/libxcam/0001-test-soft-image.cpp-fix-header-path.patch
new file mode 100644
index 00000000..67db3e4c
--- /dev/null
+++ 
b/recipes-core/libxcam/libxcam/0001-test-soft-image.cpp-fix-header-path.patch
@@ -0,0 +1,37 @@
+From 8f8a1d131a05aa1494825f0fae32580cbed680e5 Mon Sep 17 00:00:00 2001
+From: Naveen Saini <[email protected]>
+Date: Thu, 25 Jun 2020 14:22:59 +0800
+Subject: [PATCH] test-soft-image.cpp: fix header path
+
+throw compilation error:
+ | ../../git/tests/test-soft-image.cpp:31:10: fatal error: 
xcore/fisheye_dewarp.h: No such file or directory
+|    31 | #include <xcore/fisheye_dewarp.h>
+|       |          ^~~~~~~~~~~~~~~~~~~~~~~~
+| compilation terminated.
+
+TEST_BASE_CXXFLAGS already includes -I$(top_srcdir)/xcore
+
+Ref: https://github.com/intel/libxcam/blob/1.4.0/tests/Makefile.am#L48
+
+Upstream-Status: Submitted [https://github.com/intel/libxcam/pull/734]
+Signed-off-by: Naveen Saini <[email protected]>
+---
+ tests/test-soft-image.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/test-soft-image.cpp b/tests/test-soft-image.cpp
+index a9e02d8..1c687e5 100644
+--- a/tests/test-soft-image.cpp
++++ b/tests/test-soft-image.cpp
+@@ -28,7 +28,7 @@
+ #include <interface/blender.h>
+ #include <interface/geo_mapper.h>
+ #include <interface/stitcher.h>
+-#include <xcore/fisheye_dewarp.h>
++#include <fisheye_dewarp.h>
+ 
+ #define MAP_WIDTH 3
+ #define MAP_HEIGHT 4
+-- 
+2.17.1
+
diff --git a/recipes-core/libxcam/libxcam_1.3.0.bb 
b/recipes-core/libxcam/libxcam_1.4.0.bb
similarity index 88%
rename from recipes-core/libxcam/libxcam_1.3.0.bb
rename to recipes-core/libxcam/libxcam_1.4.0.bb
index 7bfcacde..987f94ee 100644
--- a/recipes-core/libxcam/libxcam_1.3.0.bb
+++ b/recipes-core/libxcam/libxcam_1.4.0.bb
@@ -7,9 +7,9 @@ SECTION = "lib"
 inherit autotools pkgconfig
 
 S = "${WORKDIR}/git"
-SRCREV = "90f386c44fdfc550d0c81697cf070b3249bef4dd"
-SRC_URI = "git://github.com/intel/libxcam.git;branch=1.3.0 \
-           "
+SRCREV = "e0d740f0706f7902d4f262b649d42b1b48c5e4e3"
+SRC_URI = "git://github.com/intel/libxcam.git;branch=1.4.0; \
+            file://0001-test-soft-image.cpp-fix-header-path.patch"
 
 COMPATIBLE_HOST_libc-musl = "null"
 
-- 
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#6619): 
https://lists.yoctoproject.org/g/meta-intel/message/6619
Mute This Topic: https://lists.yoctoproject.org/mt/75117220/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to