Skip to content

Commit

Permalink
app-office/libreoffice: Fix build with USE="gtk3 -gtk"
Browse files Browse the repository at this point in the history
Thanks-to: Ostashevskyi Viktor <[email protected]>
Closes: https://bugs.gentoo.org/641812
Package-Manager: Portage-2.3.19, Repoman-2.3.6
  • Loading branch information
a17r committed Dec 21, 2017
1 parent 25d7116 commit 7226ed9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Fix build with USE="gtk3 -gtk"
https://bugs.gentoo.org/641812

--- a/vcl/unx/gtk3/gtk3gtkframe.cxx 2017-12-12 18:45:07.000000000 +0100
+++ b/vcl/unx/gtk3/gtk3gtkframe.cxx 2017-12-21 13:20:31.935843032 +0100
@@ -21,6 +21,7 @@
#include <unx/gtk/gtkdata.hxx>
#include <unx/gtk/gtkinst.hxx>
#include <unx/gtk/gtkgdi.hxx>
+#include <unx/gtk/gtksalmenu.hxx>
#include <vcl/help.hxx>
#include <vcl/keycodes.hxx>
#include <vcl/layout.hxx>
1 change: 1 addition & 0 deletions app-office/libreoffice/libreoffice-5.4.4.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ PATCHES=(

# TODO: upstream
"${FILESDIR}/${PN}-5.2.5.1-glibc-2.24.patch"
"${FILESDIR}/${P}-gtk3-no-gtk-build.patch" # bug 641812
)

pkg_pretend() {
Expand Down

0 comments on commit 7226ed9

Please sign in to comment.