mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
lxappearance-obconf: fix segfault with lxappearance
This commit is contained in:
parent
d28ff28b3a
commit
5626572c38
2 changed files with 25 additions and 1 deletions
|
@ -0,0 +1,24 @@
|
||||||
|
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
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'lxappearance-obconf'
|
# Template file for 'lxappearance-obconf'
|
||||||
pkgname=lxappearance-obconf
|
pkgname=lxappearance-obconf
|
||||||
version=0.2.3
|
version=0.2.3
|
||||||
revision=3
|
revision=4
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static --enable-gtk3"
|
configure_args="--disable-static --enable-gtk3"
|
||||||
hostmakedepends="pkg-config intltool"
|
hostmakedepends="pkg-config intltool"
|
||||||
|
|
Loading…
Add table
Reference in a new issue