commit:     a96a257e0e3856f454539f264fecbecf664ad06b
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  2 23:24:48 2021 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Sat Jan  2 23:32:19 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a96a257e

x11-plugins/wmsystemtray: do not call ar directly

Closes: https://bugs.gentoo.org/726224
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>

 x11-plugins/wmsystemtray/files/wmsystemtray-1.4-ar.patch | 11 +++++++++++
 x11-plugins/wmsystemtray/wmsystemtray-1.4-r2.ebuild      | 10 +++++++++-
 2 files changed, 20 insertions(+), 1 deletion(-)

diff --git a/x11-plugins/wmsystemtray/files/wmsystemtray-1.4-ar.patch 
b/x11-plugins/wmsystemtray/files/wmsystemtray-1.4-ar.patch
new file mode 100644
index 00000000000..785893a989f
--- /dev/null
+++ b/x11-plugins/wmsystemtray/files/wmsystemtray-1.4-ar.patch
@@ -0,0 +1,11 @@
+diff -Naur wmsystemtray-1.4.orig/configure.ac wmsystemtray-1.4/configure.ac
+--- wmsystemtray-1.4.orig/configure.ac 2014-02-23 03:14:09.000000000 +0100
++++ wmsystemtray-1.4/configure.ac      2021-01-03 00:23:12.004713692 +0100
+@@ -9,6 +9,7 @@
+ AC_SUBST(VERSION)
+ 
+ # Checks for programs.
++AM_PROG_AR
+ AC_PROG_AWK
+ AC_PROG_CC
+ AC_PROG_CC_STDC

diff --git a/x11-plugins/wmsystemtray/wmsystemtray-1.4-r2.ebuild 
b/x11-plugins/wmsystemtray/wmsystemtray-1.4-r2.ebuild
index 568d2c1936e..47d0230996a 100644
--- a/x11-plugins/wmsystemtray/wmsystemtray-1.4-r2.ebuild
+++ b/x11-plugins/wmsystemtray/wmsystemtray-1.4-r2.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
+inherit autotools
 
 DESCRIPTION="a system tray dockapp with the ability to display more than just 
four tray icons"
 HOMEPAGE="https://sourceforge.net/projects/wmsystemtray/";
@@ -16,3 +17,10 @@ DEPEND="x11-libs/libXext
        x11-libs/libXmu
        x11-libs/libXpm"
 RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}"/${P}-ar.patch )
+
+src_prepare() {
+       default
+       eautoreconf
+}

Reply via email to