Fixes errors like:

 | 
/build/poky/build/tmp/work/x86-64-v3-poky-linux/lms/2245.0.0.0-r0/git/MEIClient/Include/MEIparser.h:11:1:
 note: 'uint8_t' is defined in header '<cstdint>'; did you forget to '#include 
<cstdint>'?
 |    10 | #include <vector>
 |   +++ |+#include <cstdint>

Signed-off-by: Anuj Mittal <[email protected]>
---
 .../recipes-bsp/amt/lms/fix-gcc13.patch       | 46 +++++++++++++++++++
 .../recipes-bsp/amt/lms_2245.0.0.0.bb         |  1 +
 2 files changed, 47 insertions(+)
 create mode 100644 
dynamic-layers/openembedded-layer/recipes-bsp/amt/lms/fix-gcc13.patch

diff --git 
a/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms/fix-gcc13.patch 
b/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms/fix-gcc13.patch
new file mode 100644
index 00000000..7e5e3bee
--- /dev/null
+++ b/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms/fix-gcc13.patch
@@ -0,0 +1,46 @@
+Upstream-Status: Pending
+Signed-off-by: Anuj Mittal <[email protected]>
+
+diff --git a/MEIClient/AMTHIClient/Include/AmtAnsiString.h 
b/MEIClient/AMTHIClient/Include/AmtAnsiString.h
+index 23114c9..deef61b 100644
+--- a/MEIClient/AMTHIClient/Include/AmtAnsiString.h
++++ b/MEIClient/AMTHIClient/Include/AmtAnsiString.h
+@@ -12,6 +12,7 @@
+ 
+ #include <string>
+ #include <vector>
++#include <cstdint>
+ 
+ namespace Intel
+ {
+diff --git a/MEIClient/Include/MEIparser.h b/MEIClient/Include/MEIparser.h
+index 0d47bb9..d4ffcd8 100644
+--- a/MEIClient/Include/MEIparser.h
++++ b/MEIClient/Include/MEIparser.h
+@@ -8,6 +8,7 @@
+ #include "MEIClientException.h"
+ #include <cstring>
+ #include <vector>
++#include <cstdint>
+ 
+ namespace Intel
+ {
+diff --git a/UNS/GMS_COMMON/FuncEntryExit.h b/UNS/GMS_COMMON/FuncEntryExit.h
+index 21862ab..7165906 100644
+--- a/UNS/GMS_COMMON/FuncEntryExit.h
++++ b/UNS/GMS_COMMON/FuncEntryExit.h
+@@ -5,6 +5,7 @@
+ #ifndef FUNCENTRYEXIT_H
+ #define FUNCENTRYEXIT_H
+ #include "GMSCommonDllExport.h"
++#include <cstdint>
+ 
+ GMS_COMMON_EXPORT void FlowLog(const wchar_t *name, const wchar_t *pref, 
const wchar_t *func);
+ GMS_COMMON_EXPORT void FuncEntry(const wchar_t *name, const wchar_t *func);
+@@ -48,4 +49,4 @@ private:
+       const wchar_t * name_;
+       const wchar_t * func_;
+ };
+-#endif // FUNCENTRYEXIT_H
+\ No newline at end of file
++#endif // FUNCENTRYEXIT_H
diff --git 
a/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_2245.0.0.0.bb 
b/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_2245.0.0.0.bb
index 36e45dd5..7f339c8f 100644
--- a/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_2245.0.0.0.bb
+++ b/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_2245.0.0.0.bb
@@ -30,6 +30,7 @@ S = "${WORKDIR}/git"
 SYSTEMD_SERVICE:${PN} = "lms.service"
 
 SRC_URI = "git://github.com/intel/lms.git;branch=master;protocol=https \
+           file://fix-gcc13.patch \
            "
 SRCREV = "4db4ceb3f70cd1b907747646dda6785db7b247d7"
 
-- 
2.40.1

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

Reply via email to