summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2022-01-31 12:18:34 -0600
committerWilliam Hubbs <williamh@gentoo.org>2022-01-31 12:20:22 -0600
commit0124d8e4919c9dc3d6bacd69a392a740e1135fc4 (patch)
tree4aa54feb66ec51479bf8960b78259f0f86d65635 /app-accessibility/brltty
parentdev-python/ansi2html: 1.7.0 (diff)
downloadgentoo-0124d8e4919c9dc3d6bacd69a392a740e1135fc4.tar.gz
gentoo-0124d8e4919c9dc3d6bacd69a392a740e1135fc4.tar.bz2
gentoo-0124d8e4919c9dc3d6bacd69a392a740e1135fc4.zip
app-accessibility/brltty: add new patch to respect AR
Closes: https://bugs.gentoo.org/832411 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'app-accessibility/brltty')
-rw-r--r--app-accessibility/brltty/brltty-6.4-r1.ebuild4
-rw-r--r--app-accessibility/brltty/files/brltty-6.4-respect-AR.patch13
2 files changed, 17 insertions, 0 deletions
diff --git a/app-accessibility/brltty/brltty-6.4-r1.ebuild b/app-accessibility/brltty/brltty-6.4-r1.ebuild
index a6dc3d8e15d6..2805474e8b9a 100644
--- a/app-accessibility/brltty/brltty-6.4-r1.ebuild
+++ b/app-accessibility/brltty/brltty-6.4-r1.ebuild
@@ -74,6 +74,10 @@ BDEPEND="
HTML_DOCS=( "${S}"/Documents/Manual-BrlAPI/. )
+PATCHES=(
+ "${FILESDIR}"/${P}-respect-AR.patch
+)
+
src_prepare() {
default
diff --git a/app-accessibility/brltty/files/brltty-6.4-respect-AR.patch b/app-accessibility/brltty/files/brltty-6.4-respect-AR.patch
new file mode 100644
index 000000000000..1c647cfad53b
--- /dev/null
+++ b/app-accessibility/brltty/files/brltty-6.4-respect-AR.patch
@@ -0,0 +1,13 @@
+diff --git a/Programs/Makefile.in b/Programs/Makefile.in
+index f1dc9aeb5..811a73a11 100644
+--- a/Programs/Makefile.in
++++ b/Programs/Makefile.in
+@@ -687,7 +687,7 @@ $(API_DLL): $(API_CLIENT_OBJECTS)
+ [ ! -f lib.def ] || mv lib.def $(API_DEF)
+
+ $(API_ARC): $(API_CLIENT_OBJECTS)
+- ar rc $@ $(API_CLIENT_OBJECTS)
++ $(AR) rc $@ $(API_CLIENT_OBJECTS)
+ $(RANLIB) $@
+
+ brlapi_client.$O: