diff options
Diffstat (limited to 'x11-misc/openbox-menu/files/openbox-menu-0.8.1-build.patch')
-rw-r--r-- | x11-misc/openbox-menu/files/openbox-menu-0.8.1-build.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/x11-misc/openbox-menu/files/openbox-menu-0.8.1-build.patch b/x11-misc/openbox-menu/files/openbox-menu-0.8.1-build.patch new file mode 100644 index 000000000000..b1130c85d864 --- /dev/null +++ b/x11-misc/openbox-menu/files/openbox-menu-0.8.1-build.patch @@ -0,0 +1,26 @@ +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 +--- + src/openbox-menu.h | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/src/openbox-menu.h b/src/openbox-menu.h +index 88ab2bf..e3dee22 100644 +--- 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 + |