commit:     5582b9fc1dc658e8920c30827df01789bc470d91
Author:     Alexander Miller <alex.miller <AT> gmx <DOT> de>
AuthorDate: Fri Apr 30 20:40:07 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Jun  3 07:01:11 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5582b9fc

x11-misc/rss-glx: Add missing #include for GCC 11

Closes: https://bugs.gentoo.org/787119
Signed-off-by: Alexander Miller <alex.miller <AT> gmx.de>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 x11-misc/rss-glx/files/rss-glx-0.9.1-missing-include.patch | 10 ++++++++++
 x11-misc/rss-glx/rss-glx-0.9.1-r3.ebuild                   |  1 +
 2 files changed, 11 insertions(+)

diff --git a/x11-misc/rss-glx/files/rss-glx-0.9.1-missing-include.patch 
b/x11-misc/rss-glx/files/rss-glx-0.9.1-missing-include.patch
new file mode 100644
index 00000000000..6a6e286f873
--- /dev/null
+++ b/x11-misc/rss-glx/files/rss-glx-0.9.1-missing-include.patch
@@ -0,0 +1,10 @@
+--- a/src/Implicit/impSurface.h
++++ b/src/Implicit/impSurface.h
+@@ -25,6 +25,7 @@
+ #ifdef WIN32
+       #include <windows.h>
+ #endif
++#include <cstddef>
+ #include <vector>
+ #include <GL/gl.h>
+ 

diff --git a/x11-misc/rss-glx/rss-glx-0.9.1-r3.ebuild 
b/x11-misc/rss-glx/rss-glx-0.9.1-r3.ebuild
index 28f3cef7b41..592380db37f 100644
--- a/x11-misc/rss-glx/rss-glx-0.9.1-r3.ebuild
+++ b/x11-misc/rss-glx/rss-glx-0.9.1-r3.ebuild
@@ -42,6 +42,7 @@ PATCHES=(
        "${FILESDIR}"/${P}-c++11-narrowing.patch
        "${FILESDIR}"/${P}-hang.patch
        "${FILESDIR}"/${P}-matrixview-copy-font.patch
+       "${FILESDIR}"/${P}-missing-include.patch
 )
 
 src_prepare() {

Reply via email to