1 |
commit: c10ce9aacc9ffcf1be2c9789ab03e21a59f6c5aa |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 29 11:02:20 2020 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 29 11:32:06 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c10ce9aa |
7 |
|
8 |
x11-misc/xnee: Set CFLAGS=-fcommon |
9 |
|
10 |
Package-Manager: Portage-2.3.86, Repoman-2.3.20 |
11 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=706868 |
12 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
13 |
|
14 |
x11-misc/xnee/xnee-3.19-r1.ebuild | 17 +++++++++++------ |
15 |
1 file changed, 11 insertions(+), 6 deletions(-) |
16 |
|
17 |
diff --git a/x11-misc/xnee/xnee-3.19-r1.ebuild b/x11-misc/xnee/xnee-3.19-r1.ebuild |
18 |
index 9e2f128b15f..7b673eb0484 100644 |
19 |
--- a/x11-misc/xnee/xnee-3.19-r1.ebuild |
20 |
+++ b/x11-misc/xnee/xnee-3.19-r1.ebuild |
21 |
@@ -1,11 +1,11 @@ |
22 |
-# Copyright 1999-2018 Gentoo Foundation |
23 |
+# Copyright 1999-2020 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
-EAPI=5 |
27 |
-inherit autotools eutils |
28 |
+EAPI=7 |
29 |
+inherit autotools desktop flag-o-matic |
30 |
|
31 |
DESCRIPTION="Program suite to record, replay and distribute user actions" |
32 |
-HOMEPAGE="http://www.sandklef.com/xnee/" |
33 |
+HOMEPAGE="https://xnee.wordpress.com/" |
34 |
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" |
35 |
|
36 |
LICENSE="GPL-3" |
37 |
@@ -27,7 +27,8 @@ RDEPEND=" |
38 |
>=gnome-base/gconf-2 |
39 |
) |
40 |
" |
41 |
-DEPEND="${RDEPEND} |
42 |
+DEPEND=" |
43 |
+ ${RDEPEND} |
44 |
x11-base/xorg-proto |
45 |
virtual/pkgconfig |
46 |
sys-devel/gettext |
47 |
@@ -37,13 +38,17 @@ DEPEND="${RDEPEND} |
48 |
# This needs RECORD extension from X.org server which isn't necessarily |
49 |
# enabled. Xlib: extension "RECORD" missing on display ":0.0". |
50 |
RESTRICT="test" |
51 |
+PATCHES=( |
52 |
+ "${FILESDIR}"/${PN}-3.18-linker.patch |
53 |
+) |
54 |
|
55 |
src_prepare() { |
56 |
- epatch "${FILESDIR}"/${PN}-3.18-linker.patch |
57 |
+ default |
58 |
eautoreconf |
59 |
} |
60 |
|
61 |
src_configure() { |
62 |
+ append-cflags -fcommon |
63 |
econf \ |
64 |
$(use_enable gnome gui) \ |
65 |
$(use_enable static-libs static) \ |