commit:     f712611c6f04468ae39086048324adcef92b453a
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 17 09:16:31 2021 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Oct 17 09:16:31 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f712611c

app-emulation/fs-uae: Fix 3.1.35 to not call ar directly

Closes: https://bugs.gentoo.org/818487
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 app-emulation/fs-uae/files/fs-uae-3.1.35-ar.patch | 25 +++++++++++++++++++++++
 app-emulation/fs-uae/fs-uae-3.1.35.ebuild         |  1 +
 2 files changed, 26 insertions(+)

diff --git a/app-emulation/fs-uae/files/fs-uae-3.1.35-ar.patch 
b/app-emulation/fs-uae/files/fs-uae-3.1.35-ar.patch
new file mode 100644
index 00000000000..9075723da74
--- /dev/null
+++ b/app-emulation/fs-uae/files/fs-uae-3.1.35-ar.patch
@@ -0,0 +1,25 @@
+From 4e6295094978817ba02e16ac5404ac9c9e287c82 Mon Sep 17 00:00:00 2001
+From: James Le Cuirot <ch...@gentoo.org>
+Date: Sun, 17 Oct 2021 09:54:24 +0100
+Subject: [PATCH] Have configure respect the AR variable instead of setting it
+ to "ar"
+
+---
+ configure.ac | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/configure.ac b/configure.ac
+index bb2c69de..6e41d68e 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -66,6 +66,7 @@ AC_PROG_INSTALL
+ AC_PROG_LN_S
+ AC_PROG_MAKE_SET
+ AC_PROG_RANLIB
++AM_PROG_AR
+ AM_PROG_CC_C_O
+ # AC_PATH_TOOL(OBJCOPY, objcopy)
+ AC_PATH_PROG([MSGFMT], [msgfmt], [not found])
+-- 
+2.32.0
+

diff --git a/app-emulation/fs-uae/fs-uae-3.1.35.ebuild 
b/app-emulation/fs-uae/fs-uae-3.1.35.ebuild
index 0df1e65c2b8..d60ff90041d 100644
--- a/app-emulation/fs-uae/fs-uae-3.1.35.ebuild
+++ b/app-emulation/fs-uae/fs-uae-3.1.35.ebuild
@@ -40,6 +40,7 @@ BDEPEND="
 PATCHES=(
        "${FILESDIR}"/${PN}-3.0.0-libmpeg2.patch
        "${FILESDIR}"/${PN}-3.0.0-Xatom.h.patch
+       "${FILESDIR}"/${PN}-3.1.35-ar.patch
 )
 
 src_prepare() {

Reply via email to