void-packages/srcpkgs/lxappearance-obconf/patches/gtk3-cairo-segfault.patch

25 lines
605 B
Diff

https://github.com/lxde/lxappearance-obconf/pull/1
From b31c69d41c80e92762ffe17addeb238d9df2c62b Mon Sep 17 00:00:00 2001
From: bill-auger <mr.j.spam.me@gmail.com>
Date: Thu, 29 Oct 2020 21:15:54 -0400
Subject: [PATCH] fix GTK3/cairo segfault (closes sf#933)
---
src/preview.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/preview.c b/src/preview.c
index ada6eb3..a2fc63d 100644
--- a/src/preview.c
+++ b/src/preview.c
@@ -30,6 +30,8 @@
#include <obrender/theme.h>
#if GTK_CHECK_VERSION(3, 0, 0)
+#include <cairo/cairo.h>
+#include <cairo/cairo-xlib.h>
#include <gdk/gdkx.h>
#endif