summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Miller <alex.miller@gmx.de>2021-04-30 22:40:07 +0200
committerJoonas Niilola <juippis@gentoo.org>2021-06-03 10:01:11 +0300
commit5582b9fc1dc658e8920c30827df01789bc470d91 (patch)
tree95d9382fe4041825aa31a6da3fc7ad3a030220cd /x11-misc
parentnet-wireless/wavemon: revbump due to previous runtime patch (diff)
downloadgentoo-5582b9fc1dc658e8920c30827df01789bc470d91.tar.gz
gentoo-5582b9fc1dc658e8920c30827df01789bc470d91.tar.bz2
gentoo-5582b9fc1dc658e8920c30827df01789bc470d91.zip
x11-misc/rss-glx: Add missing #include for GCC 11
Closes: https://bugs.gentoo.org/787119 Signed-off-by: Alexander Miller <alex.miller@gmx.de> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/rss-glx/files/rss-glx-0.9.1-missing-include.patch10
-rw-r--r--x11-misc/rss-glx/rss-glx-0.9.1-r3.ebuild1
2 files changed, 11 insertions, 0 deletions
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 000000000000..6a6e286f873c
--- /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 28f3cef7b41c..592380db37fa 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() {