Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/fs-uae/, app-emulation/fs-uae/files/
Date: Sun, 17 Oct 2021 09:16:47
Message-Id: 1634462191.f712611c6f04468ae39086048324adcef92b453a.chewi@gentoo
1 commit: f712611c6f04468ae39086048324adcef92b453a
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 17 09:16:31 2021 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 17 09:16:31 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f712611c
7
8 app-emulation/fs-uae: Fix 3.1.35 to not call ar directly
9
10 Closes: https://bugs.gentoo.org/818487
11 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
12
13 app-emulation/fs-uae/files/fs-uae-3.1.35-ar.patch | 25 +++++++++++++++++++++++
14 app-emulation/fs-uae/fs-uae-3.1.35.ebuild | 1 +
15 2 files changed, 26 insertions(+)
16
17 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
18 new file mode 100644
19 index 00000000000..9075723da74
20 --- /dev/null
21 +++ b/app-emulation/fs-uae/files/fs-uae-3.1.35-ar.patch
22 @@ -0,0 +1,25 @@
23 +From 4e6295094978817ba02e16ac5404ac9c9e287c82 Mon Sep 17 00:00:00 2001
24 +From: James Le Cuirot <chewi@g.o>
25 +Date: Sun, 17 Oct 2021 09:54:24 +0100
26 +Subject: [PATCH] Have configure respect the AR variable instead of setting it
27 + to "ar"
28 +
29 +---
30 + configure.ac | 1 +
31 + 1 file changed, 1 insertion(+)
32 +
33 +diff --git a/configure.ac b/configure.ac
34 +index bb2c69de..6e41d68e 100644
35 +--- a/configure.ac
36 ++++ b/configure.ac
37 +@@ -66,6 +66,7 @@ AC_PROG_INSTALL
38 + AC_PROG_LN_S
39 + AC_PROG_MAKE_SET
40 + AC_PROG_RANLIB
41 ++AM_PROG_AR
42 + AM_PROG_CC_C_O
43 + # AC_PATH_TOOL(OBJCOPY, objcopy)
44 + AC_PATH_PROG([MSGFMT], [msgfmt], [not found])
45 +--
46 +2.32.0
47 +
48
49 diff --git a/app-emulation/fs-uae/fs-uae-3.1.35.ebuild b/app-emulation/fs-uae/fs-uae-3.1.35.ebuild
50 index 0df1e65c2b8..d60ff90041d 100644
51 --- a/app-emulation/fs-uae/fs-uae-3.1.35.ebuild
52 +++ b/app-emulation/fs-uae/fs-uae-3.1.35.ebuild
53 @@ -40,6 +40,7 @@ BDEPEND="
54 PATCHES=(
55 "${FILESDIR}"/${PN}-3.0.0-libmpeg2.patch
56 "${FILESDIR}"/${PN}-3.0.0-Xatom.h.patch
57 + "${FILESDIR}"/${PN}-3.1.35-ar.patch
58 )
59
60 src_prepare() {