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/wmpasman/, x11-plugins/wmpasman/files/
Date: Sat, 02 Jan 2021 23:32:42
Message-Id: 1609630338.e69b37d280ac621a146d272f811907c2062bcbce.voyageur@gentoo
1 commit: e69b37d280ac621a146d272f811907c2062bcbce
2 Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 2 23:20:34 2021 +0000
4 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 2 23:32:18 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e69b37d2
7
8 x11-plugins/wmpasman: do not call ar directly
9
10 Closes: https://bugs.gentoo.org/759760
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/wmpasman/files/wmpasman-2.2-ar.patch | 11 +++++++++++
15 x11-plugins/wmpasman/wmpasman-2.2.ebuild | 10 +++++++++-
16 2 files changed, 20 insertions(+), 1 deletion(-)
17
18 diff --git a/x11-plugins/wmpasman/files/wmpasman-2.2-ar.patch b/x11-plugins/wmpasman/files/wmpasman-2.2-ar.patch
19 new file mode 100644
20 index 00000000000..8244fadd7c5
21 --- /dev/null
22 +++ b/x11-plugins/wmpasman/files/wmpasman-2.2-ar.patch
23 @@ -0,0 +1,11 @@
24 +diff -Naur wmpasman-2.2.orig/configure.ac wmpasman-2.2/configure.ac
25 +--- wmpasman-2.2.orig/configure.ac 2018-12-16 17:39:47.000000000 +0100
26 ++++ wmpasman-2.2/configure.ac 2021-01-03 00:17:27.934691093 +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/wmpasman/wmpasman-2.2.ebuild b/x11-plugins/wmpasman/wmpasman-2.2.ebuild
37 index fea3eb77032..04ba57ef095 100644
38 --- a/x11-plugins/wmpasman/wmpasman-2.2.ebuild
39 +++ b/x11-plugins/wmpasman/wmpasman-2.2.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="Password storage/retrieval in a dockapp"
49 HOMEPAGE="https://sourceforge.net/projects/wmpasman/"
50 @@ -18,3 +19,10 @@ DEPEND="${RDEPEND}
51 virtual/pkgconfig"
52
53 DOCS="ChangeLog WARNINGS"
54 +
55 +PATCHES=( "${FILESDIR}"/${P}-ar.patch )
56 +
57 +src_prepare() {
58 + default
59 + eautoreconf
60 +}