All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/5] package/intel-mediasdk: fix build with gcc-13
@ 2023-05-07 21:43 Bernd Kuhls
  2023-05-07 21:43 ` [Buildroot] [PATCH 2/5] package/kodi: " Bernd Kuhls
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Bernd Kuhls @ 2023-05-07 21:43 UTC (permalink / raw)
  To: buildroot
  Cc: Louis-Paul Cordier, Romain Naour, Giulio Benetti,
	Thomas Petazzoni, Thomas De Schampheleire

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 ...dd-missing-stdint.h-to-mfxparser-cpp.patch | 31 +++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 package/intel-mediasdk/0002-add-missing-stdint.h-to-mfxparser-cpp.patch

diff --git a/package/intel-mediasdk/0002-add-missing-stdint.h-to-mfxparser-cpp.patch b/package/intel-mediasdk/0002-add-missing-stdint.h-to-mfxparser-cpp.patch
new file mode 100644
index 0000000000..d2a095c39a
--- /dev/null
+++ b/package/intel-mediasdk/0002-add-missing-stdint.h-to-mfxparser-cpp.patch
@@ -0,0 +1,31 @@
+From 8fb9f5feaf738f69b278d2cac15baada1447aae8 Mon Sep 17 00:00:00 2001
+From: Sergei Trofimovich <slyich@gmail.com>
+Date: Mon, 28 Nov 2022 23:31:29 +0000
+Subject: [PATCH] add missing <stdint.h> to mfxparser.cpp
+
+Without the change build fails on `gcc-13` as:
+
+    MediaSDK/api/mfx_dispatch/linux/mfxparser.cpp: In function 'std::string MFX::printCodecId(mfxU32)':
+    MediaSDK/api/mfx_dispatch/linux/mfxparser.cpp:60:3: error: 'uint8_t' was not declared in this scope
+       60 |   uint8_t* data = reinterpret_cast<uint8_t*>(&id);
+          |   ^~~~~~~
+
+Upstream: https://github.com/Intel-Media-SDK/MediaSDK/pull/2998
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+---
+ api/mfx_dispatch/linux/mfxparser.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+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>
+ 
-- 
2.39.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-07-29 22:00 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-07 21:43 [Buildroot] [PATCH 1/5] package/intel-mediasdk: fix build with gcc-13 Bernd Kuhls
2023-05-07 21:43 ` [Buildroot] [PATCH 2/5] package/kodi: " Bernd Kuhls
2023-05-07 21:43 ` [Buildroot] [PATCH 3/5] package/kodi-inputstream-adaptive: " Bernd Kuhls
2023-07-29 21:59   ` Thomas Petazzoni via buildroot
2023-05-07 21:43 ` [Buildroot] [PATCH 4/5] package/kodi-inputstream-ffmpeg: " Bernd Kuhls
2023-07-29 21:59   ` Thomas Petazzoni via buildroot
2023-05-07 21:43 ` [Buildroot] [PATCH 5/5] package/gcc: add support for gcc 13 Bernd Kuhls
2023-05-16 13:08   ` Bagas Sanjaya
2023-05-16 13:54     ` Romain Naour
2023-05-17  6:45   ` Bagas Sanjaya
2023-07-29 21:59 ` [Buildroot] [PATCH 1/5] package/intel-mediasdk: fix build with gcc-13 Thomas Petazzoni via buildroot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.