summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lxde-base/lxappearance-obconf')
-rw-r--r--lxde-base/lxappearance-obconf/files/lxappearance-obconf-0.2.3-cairo-xlib.patch12
1 files changed, 10 insertions, 2 deletions
diff --git a/lxde-base/lxappearance-obconf/files/lxappearance-obconf-0.2.3-cairo-xlib.patch b/lxde-base/lxappearance-obconf/files/lxappearance-obconf-0.2.3-cairo-xlib.patch
index ae61c3b35f82..7098f98ca50f 100644
--- a/lxde-base/lxappearance-obconf/files/lxappearance-obconf-0.2.3-cairo-xlib.patch
+++ b/lxde-base/lxappearance-obconf/files/lxappearance-obconf-0.2.3-cairo-xlib.patch
@@ -22,8 +22,6 @@ src/preview.c:146:15: warning: implicit declaration of function ‘cairo_xlib_su
$(OPENBOX_LIBS) \
$(GTK_LIBS) \
$(LXAPPEARANCE_LIBS) \
-diff --git a/configure.ac b/configure.ac
-index 9042f7f..84de1c7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -89,6 +89,10 @@ PKG_CHECK_MODULES(OPENBOX, [obrender-3.5 >= 3.5 obt-3.5 >= 3.5])
@@ -37,3 +35,13 @@ index 9042f7f..84de1c7 100644
if test "x$enable_gtk3" = "xyes" ; then
CFLAGS="$CFLAGS -DENABLE_GTK3"
gtk_modules="gtk+-3.0 >= 3.0.0"
+--- a/src/preview.c
++++ b/src/preview.c
+@@ -27,6 +27,7 @@
+
+ #include <string.h>
+
++#include <cairo/cairo-xlib.h>
+ #include <obrender/theme.h>
+
+ #if GTK_CHECK_VERSION(3, 0, 0)