Skip to content

Commit

Permalink
net-misc/x2goclient: Fixed compilation with qt-5.11
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.41, Repoman-2.3.9
  • Loading branch information
Lars Wendler committed Jul 5, 2018
1 parent 97eca49 commit ad2967e
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
20 changes: 20 additions & 0 deletions net-misc/x2goclient/files/x2goclient-4.1.2.1-qt511.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
From: Mihai Moldovan <[email protected]>
Date: Thu, 5 Jul 2018 06:52:18 +0000 (+0200)
Subject: src/printwidget.cpp: add QButtonGroup include, fixes compile errors with Qt 5.11+.
X-Git-Url: https://code.x2go.org/gitweb?p=x2goclient.git;a=commitdiff_plain;h=ce14cfda34175b6456a8cc7d1e336dce2b0b0682

src/printwidget.cpp: add QButtonGroup include, fixes compile errors with Qt 5.11+.
---

diff --git a/src/printwidget.cpp b/src/printwidget.cpp
index 58a8af7..131d340 100644
--- a/src/printwidget.cpp
+++ b/src/printwidget.cpp
@@ -23,6 +23,7 @@
#include "x2gosettings.h"
#include "x2gologdebug.h"
#include <QDir>
+#include <QButtonGroup>
#ifdef Q_OS_WIN
#include "wapi.h"
#endif
6 changes: 5 additions & 1 deletion net-misc/x2goclient/x2goclient-4.1.2.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI=6

inherit eutils gnome2-utils qmake-utils
inherit desktop gnome2-utils qmake-utils

DESCRIPTION="The X2Go Qt client"
HOMEPAGE="http://www.x2go.org"
Expand Down Expand Up @@ -32,6 +32,10 @@ RDEPEND="${COMMON_DEPEND}
CLIENT_BUILD="${WORKDIR}"/${P}.client_build
PLUGIN_BUILD="${WORKDIR}"/${P}.plugin_build

PATCHES=(
"${FILESDIR}/${P}-qt511.patch"
)

src_prepare() {
default

Expand Down

0 comments on commit ad2967e

Please sign in to comment.