Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/lightdm/
Date: Wed, 28 Sep 2016 17:27:26
Message-Id: 1475083628.982352bbef9975f795c521bea2f06bf2771ecf06.kensington@gentoo
1 commit: 982352bbef9975f795c521bea2f06bf2771ecf06
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 28 17:22:41 2016 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 28 17:27:08 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=982352bb
7
8 x11-misc/lightdm: fix build with Qt 5.7
9
10 Gentoo-bug: 585378
11
12 Package-Manager: portage-2.3.1
13
14 x11-misc/lightdm/lightdm-1.18.2.ebuild | 4 +++-
15 x11-misc/lightdm/lightdm-1.19.4.ebuild | 4 +++-
16 2 files changed, 6 insertions(+), 2 deletions(-)
17
18 diff --git a/x11-misc/lightdm/lightdm-1.18.2.ebuild b/x11-misc/lightdm/lightdm-1.18.2.ebuild
19 index 198bbfc..4d381c3 100644
20 --- a/x11-misc/lightdm/lightdm-1.18.2.ebuild
21 +++ b/x11-misc/lightdm/lightdm-1.18.2.ebuild
22 @@ -3,7 +3,7 @@
23 # $Id$
24
25 EAPI=6
26 -inherit autotools eutils pam qmake-utils readme.gentoo-r1 systemd versionator xdg-utils
27 +inherit autotools eutils flag-o-matic pam qmake-utils readme.gentoo-r1 systemd versionator xdg-utils
28
29 TRUNK_VERSION="$(get_version_component_range 1-2)"
30 DESCRIPTION="A lightweight display manager"
31 @@ -87,6 +87,8 @@ src_configure() {
32 einfo "Default session: ${_session}"
33 einfo "Greeter user: ${_user}"
34
35 + use qt5 && append-cxxflags -std=c++11
36 +
37 # also disable tests because libsystem.c does not build. Tests are
38 # restricted so it does not matter anyway.
39 econf \
40
41 diff --git a/x11-misc/lightdm/lightdm-1.19.4.ebuild b/x11-misc/lightdm/lightdm-1.19.4.ebuild
42 index 198bbfc..4d381c3 100644
43 --- a/x11-misc/lightdm/lightdm-1.19.4.ebuild
44 +++ b/x11-misc/lightdm/lightdm-1.19.4.ebuild
45 @@ -3,7 +3,7 @@
46 # $Id$
47
48 EAPI=6
49 -inherit autotools eutils pam qmake-utils readme.gentoo-r1 systemd versionator xdg-utils
50 +inherit autotools eutils flag-o-matic pam qmake-utils readme.gentoo-r1 systemd versionator xdg-utils
51
52 TRUNK_VERSION="$(get_version_component_range 1-2)"
53 DESCRIPTION="A lightweight display manager"
54 @@ -87,6 +87,8 @@ src_configure() {
55 einfo "Default session: ${_session}"
56 einfo "Greeter user: ${_user}"
57
58 + use qt5 && append-cxxflags -std=c++11
59 +
60 # also disable tests because libsystem.c does not build. Tests are
61 # restricted so it does not matter anyway.
62 econf \