From 5bb9ff1ee56d2b5e75e01a7f066d8b0cec84ec02 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 20 Mar 2021 14:27:17 +0000 Subject: gentoo resync : 20.03.2021 --- .../files/openbox-menu-0.8.1-build.patch | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 x11-misc/openbox-menu/files/openbox-menu-0.8.1-build.patch (limited to 'x11-misc/openbox-menu/files/openbox-menu-0.8.1-build.patch') 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" +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 + -- cgit v1.2.3