Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-accessibility/brltty/, app-accessibility/brltty/files/
Date: Mon, 31 Jan 2022 18:21:00
Message-Id: 1643653222.0124d8e4919c9dc3d6bacd69a392a740e1135fc4.williamh@gentoo
1 commit: 0124d8e4919c9dc3d6bacd69a392a740e1135fc4
2 Author: William Hubbs <williamh <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 31 18:18:34 2022 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 31 18:20:22 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0124d8e4
7
8 app-accessibility/brltty: add new patch to respect AR
9
10 Closes: https://bugs.gentoo.org/832411
11 Package-Manager: Portage-3.0.30, Repoman-3.0.3
12 Signed-off-by: William Hubbs <williamh <AT> gentoo.org>
13
14 app-accessibility/brltty/brltty-6.4-r1.ebuild | 4 ++++
15 app-accessibility/brltty/files/brltty-6.4-respect-AR.patch | 13 +++++++++++++
16 2 files changed, 17 insertions(+)
17
18 diff --git a/app-accessibility/brltty/brltty-6.4-r1.ebuild b/app-accessibility/brltty/brltty-6.4-r1.ebuild
19 index a6dc3d8e15d6..2805474e8b9a 100644
20 --- a/app-accessibility/brltty/brltty-6.4-r1.ebuild
21 +++ b/app-accessibility/brltty/brltty-6.4-r1.ebuild
22 @@ -74,6 +74,10 @@ BDEPEND="
23
24 HTML_DOCS=( "${S}"/Documents/Manual-BrlAPI/. )
25
26 +PATCHES=(
27 + "${FILESDIR}"/${P}-respect-AR.patch
28 +)
29 +
30 src_prepare() {
31 default
32
33
34 diff --git a/app-accessibility/brltty/files/brltty-6.4-respect-AR.patch b/app-accessibility/brltty/files/brltty-6.4-respect-AR.patch
35 new file mode 100644
36 index 000000000000..1c647cfad53b
37 --- /dev/null
38 +++ b/app-accessibility/brltty/files/brltty-6.4-respect-AR.patch
39 @@ -0,0 +1,13 @@
40 +diff --git a/Programs/Makefile.in b/Programs/Makefile.in
41 +index f1dc9aeb5..811a73a11 100644
42 +--- a/Programs/Makefile.in
43 ++++ b/Programs/Makefile.in
44 +@@ -687,7 +687,7 @@ $(API_DLL): $(API_CLIENT_OBJECTS)
45 + [ ! -f lib.def ] || mv lib.def $(API_DEF)
46 +
47 + $(API_ARC): $(API_CLIENT_OBJECTS)
48 +- ar rc $@ $(API_CLIENT_OBJECTS)
49 ++ $(AR) rc $@ $(API_CLIENT_OBJECTS)
50 + $(RANLIB) $@
51 +
52 + brlapi_client.$O: