summaryrefslogtreecommitdiff
path: root/x11-misc/slop/files/slop-7.5-missing-header.patch
blob: f77fe8f9cf8807e83363028dc88bfd9409180b3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 ) {