[Buildroot] [PATCH 1/1] package/kodi-screensaver-rsxs: fix build with gcc11

Bernd Kuhls bernd.kuhls at t-online.de
Sun Sep 26 14:08:26 UTC 2021


Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
---
 ...01-impSurface.h-fix-build-with-gcc11.patch | 30 +++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 package/kodi-screensaver-rsxs/0001-impSurface.h-fix-build-with-gcc11.patch

diff --git a/package/kodi-screensaver-rsxs/0001-impSurface.h-fix-build-with-gcc11.patch b/package/kodi-screensaver-rsxs/0001-impSurface.h-fix-build-with-gcc11.patch
new file mode 100644
index 0000000000..4bc127b860
--- /dev/null
+++ b/package/kodi-screensaver-rsxs/0001-impSurface.h-fix-build-with-gcc11.patch
@@ -0,0 +1,30 @@
+From fb23e136f88a94aa497e8eb4369bb06435c2aaf8 Mon Sep 17 00:00:00 2001
+From: Bernd Kuhls <bernd.kuhls at t-online.de>
+Date: Sun, 26 Sep 2021 15:59:29 +0200
+Subject: [PATCH] impSurface.h: fix build with gcc11
+
+lib/Implicit/impSurface.h:44:9: error: 'size_t' does not name a type
+   44 |         size_t vertex_data_size;
+
+Patch sent upstream as PR 52.
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
+---
+ lib/Implicit/impSurface.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/lib/Implicit/impSurface.h b/lib/Implicit/impSurface.h
+index 388701aa..3319820e 100644
+--- a/lib/Implicit/impSurface.h
++++ b/lib/Implicit/impSurface.h
+@@ -21,6 +21,7 @@
+ #ifndef IMPSURFACE_H
+ #define IMPSURFACE_H
+ 
++#include <cstddef>
+ #include <functional>
+ 
+ #ifdef WIN32
+-- 
+2.30.2
+
-- 
2.30.2



More information about the buildroot mailing list