Fixes:

11:08:59  | 
/build/poky/build/tmp/work/corei7-64-poky-linux/intel-mediasdk/23.2.1-r0/git/api/mfx_dispatch/linux/mfxparser.cpp:60:36:
 error: 'uint8_t' does not name a type
11:08:59  |    60 |   uint8_t* data = reinterpret_cast<uint8_t*>(&id);
11:08:59  |       |                                    ^~~~~~~
11:08:59  | 
/build/poky/build/tmp/work/corei7-64-poky-linux/intel-mediasdk/23.2.1-r0/git/api/mfx_dispatch/linux/mfxparser.cpp:60:36:
 note: 'uint8_t' is defined in header '<cstdint>'; did you forget to '#include 
<cstdint>'?

Signed-off-by: Anuj Mittal <[email protected]>
---
 recipes-multimedia/mediasdk/files/fix-gcc13.patch | 15 +++++++++++++++
 .../mediasdk/intel-mediasdk_23.2.1.bb             |  1 +
 2 files changed, 16 insertions(+)
 create mode 100644 recipes-multimedia/mediasdk/files/fix-gcc13.patch

diff --git a/recipes-multimedia/mediasdk/files/fix-gcc13.patch 
b/recipes-multimedia/mediasdk/files/fix-gcc13.patch
new file mode 100644
index 00000000..fb973870
--- /dev/null
+++ b/recipes-multimedia/mediasdk/files/fix-gcc13.patch
@@ -0,0 +1,15 @@
+Upstream-Status: Inactive-Upstream
+Signed-off-by: Anuj Mittal <[email protected]>
+
+diff --git a/api/mfx_dispatch/linux/mfxparser.cpp 
b/api/mfx_dispatch/linux/mfxparser.cpp
+index 9d3823ec3e..12e46d1881 100644
+--- a/api/mfx_dispatch/linux/mfxparser.cpp
++++ b/api/mfx_dispatch/linux/mfxparser.cpp
+@@ -20,6 +20,7 @@
+ 
+ #include <ctype.h>
+ #include <stdio.h>
++#include <stdint.h>
+ #include <stdlib.h>
+ #include <string.h>
+ 
diff --git a/recipes-multimedia/mediasdk/intel-mediasdk_23.2.1.bb 
b/recipes-multimedia/mediasdk/intel-mediasdk_23.2.1.bb
index 4bca7193..302229a2 100644
--- a/recipes-multimedia/mediasdk/intel-mediasdk_23.2.1.bb
+++ b/recipes-multimedia/mediasdk/intel-mediasdk_23.2.1.bb
@@ -35,6 +35,7 @@ PACKAGECONFIG[wayland]        = "-DENABLE_WAYLAND=ON, 
-DENABLE_WAYLAND=OFF, wayland way
 
 SRC_URI = 
"git://github.com/Intel-Media-SDK/MediaSDK.git;protocol=https;nobranch=1;lfs=0 \
            file://0001-FindITT.cmake-fix-detection-of-header-library.patch \
+           file://fix-gcc13.patch \
            "
 
 SRCREV = "e507e23470f1fc0f01395c10c97bd7b31acf0bce"
-- 
2.40.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7977): 
https://lists.yoctoproject.org/g/meta-intel/message/7977
Mute This Topic: https://lists.yoctoproject.org/mt/99194254/21656
Group Owner: [email protected]
Unsubscribe: 
https://lists.yoctoproject.org/g/meta-intel/leave/6694807/21656/1869269227/xyzzy
 [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to