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/wmweather+/files/, x11-plugins/wmweather+/
Date: Sat, 02 Jan 2021 23:32:42
Message-Id: 1609630339.5c0943933f9e5a6875b801c2b9b3fd81585023c4.voyageur@gentoo
1 commit: 5c0943933f9e5a6875b801c2b9b3fd81585023c4
2 Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 2 23:27:09 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=5c094393
7
8 x11-plugins/wmweather+: do not call ar directly
9
10 Closes: https://bugs.gentoo.org/726248
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/wmweather+/files/wmweather+-2.18-ar.patch | 11 +++++++++++
15 x11-plugins/wmweather+/wmweather+-2.18.ebuild | 10 +++++++++-
16 2 files changed, 20 insertions(+), 1 deletion(-)
17
18 diff --git a/x11-plugins/wmweather+/files/wmweather+-2.18-ar.patch b/x11-plugins/wmweather+/files/wmweather+-2.18-ar.patch
19 new file mode 100644
20 index 00000000000..f87fdfa0ef0
21 --- /dev/null
22 +++ b/x11-plugins/wmweather+/files/wmweather+-2.18-ar.patch
23 @@ -0,0 +1,11 @@
24 +diff -Naur wmweather+-2.18.orig/configure.ac wmweather+-2.18/configure.ac
25 +--- wmweather+-2.18.orig/configure.ac 2020-04-24 20:31:43.000000000 +0200
26 ++++ wmweather+-2.18/configure.ac 2021-01-03 00:25:30.443705781 +0100
27 +@@ -18,6 +18,7 @@
28 + AC_SUBST(WMGENERAL_GUI)
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/wmweather+/wmweather+-2.18.ebuild b/x11-plugins/wmweather+/wmweather+-2.18.ebuild
37 index 01b450a84cc..7dffde689df 100644
38 --- a/x11-plugins/wmweather+/wmweather+-2.18.ebuild
39 +++ b/x11-plugins/wmweather+/wmweather+-2.18.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 dockapp for displaying data collected from METAR, AVN, ETA, and MRF forecasts"
49 HOMEPAGE="https://www.sourceforge.net/projects/wmweatherplus/"
50 @@ -19,3 +20,10 @@ DEPEND="dev-libs/libpcre
51 x11-libs/libX11
52 x11-wm/windowmaker"
53 RDEPEND="${DEPEND}"
54 +
55 +PATCHES=( "${FILESDIR}"/${P}-ar.patch )
56 +
57 +src_prepare() {
58 + default
59 + eautoreconf
60 +}