summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authororbea <orbea@riseup.net>2022-07-11 19:28:05 -0700
committerSam James <sam@gentoo.org>2022-07-12 03:32:15 +0100
commit48b7cc4daf05dd7e5d5dc550b4972d4550fbe356 (patch)
treed85da89252118383bc70603486cb8260ab01fb70 /lxde-base/lxappearance-obconf
parentwww-apache/mod_musicindex: update HOMEPAGE (diff)
downloadgentoo-48b7cc4daf05dd7e5d5dc550b4972d4550fbe356.tar.gz
gentoo-48b7cc4daf05dd7e5d5dc550b4972d4550fbe356.tar.bz2
gentoo-48b7cc4daf05dd7e5d5dc550b4972d4550fbe356.zip
lxde-base/lxappearance: Fix patch
Fixes: https://github.com/gentoo/gentoo/commit/26734c3900e4e41aa7820b6f4afcf30bec26a441 Signed-off-by: orbea <orbea@riseup.net> Closes: https://github.com/gentoo/gentoo/pull/26359 Signed-off-by: Sam James <sam@gentoo.org>
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)