kumquat-buildroot/package/kodi-screensaver-pingpong/0001-Backport-Add-missing-cstddef-includes.patch
Bernd Kuhls f03ea1d7d4 package/kodi-screensaver-*: mass version bump
Most screensaver repos were moved to the xbmc project:
57b8ed5fb9
29c23f8e0c
98e7131502
994b0d5b73
21b0c96d7f

Add patches to fix missing cstddef include.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2020-01-23 01:04:02 +01:00

33 lines
765 B
Diff

From 6ca75e7d421a49b6124d0e1cd37a529c66a701cb Mon Sep 17 00:00:00 2001
From: Bernd Kuhls <bernd.kuhls@t-online.de>
Date: Sat, 18 Jan 2020 20:01:21 +0100
Subject: [PATCH] [Backport] Add missing cstddef includes
Fixes build error with gcc 5.5.0.
Backported from https://github.com/xbmc/screensaver.pingpong/pull/21
Patch sent upstream:
https://github.com/xbmc/screensaver.pingpong/pull/22
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
src/pingpong.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/pingpong.cpp b/src/pingpong.cpp
index e1df353..9cd9fb5 100644
--- a/src/pingpong.cpp
+++ b/src/pingpong.cpp
@@ -24,6 +24,7 @@
#include "main.h"
#include "pingpong.h"
+#include <cstddef>
#include <vector>
#define NUMQUADS 3
--
2.20.1