summaryrefslogtreecommitdiff
path: root/x11-misc/slop/files/slop-7.5-missing-header.patch
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/slop/files/slop-7.5-missing-header.patch')
-rw-r--r--x11-misc/slop/files/slop-7.5-missing-header.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/x11-misc/slop/files/slop-7.5-missing-header.patch b/x11-misc/slop/files/slop-7.5-missing-header.patch
new file mode 100644
index 000000000000..f77fe8f9cf88
--- /dev/null
+++ b/x11-misc/slop/files/slop-7.5-missing-header.patch
@@ -0,0 +1,16 @@
+https://bugs.gentoo.org/810349
+
+https://github.com/naelstrof/slop/commit/5cbcb9e
+From: Drunkard Zhang <gongfan193@gmail.com>
+Date: Tue, 28 Sep 2021 12:20:25 +0800
+Subject: [PATCH] bugfix: add missed header
+
+XDestroyImage is included in <X11/Xutil.h> which belongs to libX11.
+Build fails without include this header on Gentoo.
+--- a/src/framebuffer.cpp
++++ b/src/framebuffer.cpp
+@@ -1,3 +1,4 @@
++#include <X11/Xutil.h>
+ #include "framebuffer.hpp"
+
+ slop::Framebuffer::Framebuffer( int w, int h ) {