mirror of
git://git.yoctoproject.org/meta-intel.git
synced 2025-07-19 12:39:02 +02:00
intel-mediasdk: fix build with gcc13
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 <anuj.mittal@intel.com>
This commit is contained in:
parent
5b78a9af8f
commit
068182dbcf
15
recipes-multimedia/mediasdk/files/fix-gcc13.patch
Normal file
15
recipes-multimedia/mediasdk/files/fix-gcc13.patch
Normal file
|
@ -0,0 +1,15 @@
|
|||
Upstream-Status: Inactive-Upstream
|
||||
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
|
||||
|
||||
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>
|
||||
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user