Gentoo Archives: gentoo-commits

From: Bernard Cafarelli <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmsystemtray/, x11-plugins/wmsystemtray/files/
Date: Sat, 02 Jan 2021 23:32:42
Message-Id: 1609630339.a96a257e0e3856f454539f264fecbecf664ad06b.voyageur@gentoo
1 commit: a96a257e0e3856f454539f264fecbecf664ad06b
2 Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 2 23:24:48 2021 +0000
4 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 2 23:32:19 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a96a257e
7
8 x11-plugins/wmsystemtray: do not call ar directly
9
10 Closes: https://bugs.gentoo.org/726224
11 Package-Manager: Portage-3.0.12, Repoman-3.0.2
12 Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>
13
14 x11-plugins/wmsystemtray/files/wmsystemtray-1.4-ar.patch | 11 +++++++++++
15 x11-plugins/wmsystemtray/wmsystemtray-1.4-r2.ebuild | 10 +++++++++-
16 2 files changed, 20 insertions(+), 1 deletion(-)
17
18 diff --git a/x11-plugins/wmsystemtray/files/wmsystemtray-1.4-ar.patch b/x11-plugins/wmsystemtray/files/wmsystemtray-1.4-ar.patch
19 new file mode 100644
20 index 00000000000..785893a989f
21 --- /dev/null
22 +++ b/x11-plugins/wmsystemtray/files/wmsystemtray-1.4-ar.patch
23 @@ -0,0 +1,11 @@
24 +diff -Naur wmsystemtray-1.4.orig/configure.ac wmsystemtray-1.4/configure.ac
25 +--- wmsystemtray-1.4.orig/configure.ac 2014-02-23 03:14:09.000000000 +0100
26 ++++ wmsystemtray-1.4/configure.ac 2021-01-03 00:23:12.004713692 +0100
27 +@@ -9,6 +9,7 @@
28 + AC_SUBST(VERSION)
29 +
30 + # Checks for programs.
31 ++AM_PROG_AR
32 + AC_PROG_AWK
33 + AC_PROG_CC
34 + AC_PROG_CC_STDC
35
36 diff --git a/x11-plugins/wmsystemtray/wmsystemtray-1.4-r2.ebuild b/x11-plugins/wmsystemtray/wmsystemtray-1.4-r2.ebuild
37 index 568d2c1936e..47d0230996a 100644
38 --- a/x11-plugins/wmsystemtray/wmsystemtray-1.4-r2.ebuild
39 +++ b/x11-plugins/wmsystemtray/wmsystemtray-1.4-r2.ebuild
40 @@ -1,7 +1,8 @@
41 -# Copyright 1999-2020 Gentoo Authors
42 +# Copyright 1999-2021 Gentoo Authors
43 # Distributed under the terms of the GNU General Public License v2
44
45 EAPI=7
46 +inherit autotools
47
48 DESCRIPTION="a system tray dockapp with the ability to display more than just four tray icons"
49 HOMEPAGE="https://sourceforge.net/projects/wmsystemtray/"
50 @@ -16,3 +17,10 @@ DEPEND="x11-libs/libXext
51 x11-libs/libXmu
52 x11-libs/libXpm"
53 RDEPEND="${DEPEND}"
54 +
55 +PATCHES=( "${FILESDIR}"/${P}-ar.patch )
56 +
57 +src_prepare() {
58 + default
59 + eautoreconf
60 +}