summaryrefslogtreecommitdiffstats
path: root/desktop/openbox-menu/openbox-menu-0.8.1-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/openbox-menu/openbox-menu-0.8.1-build.patch')
-rw-r--r--desktop/openbox-menu/openbox-menu-0.8.1-build.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/desktop/openbox-menu/openbox-menu-0.8.1-build.patch b/desktop/openbox-menu/openbox-menu-0.8.1-build.patch
new file mode 100644
index 0000000000..ea66efb129
--- /dev/null
+++ b/desktop/openbox-menu/openbox-menu-0.8.1-build.patch
@@ -0,0 +1,20 @@
+From e3989a504d9713d0de8b236b1f8d21c74d1fcd00 Mon Sep 17 00:00:00 2001
+From: "Azamat H. Hackimov" <azamat.hackimov@gmail.com>
+Date: Thu, 11 Feb 2021 21:12:52 +0300
+Subject: [PATCH 1/2] Fix compilation
+
+icon_theme is needed in menu.c
+--- a/src/openbox-menu.h
++++ b/src/openbox-menu.h
+@@ -82,4 +82,8 @@ gboolean context_get_persistent (OB_Menu*);
+
+ void context_free(OB_Menu *);
+
++#ifdef WITH_ICONS
++extern GtkIconTheme *icon_theme;
++#endif
++
+ #endif // __OPENBOXMENU_APP__
+--
+2.26.2
+