1 |
commit: b91b343c74192ab54cffa339a44b791232aea1a2 |
2 |
Author: Marek Szuba <marecki <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 6 14:39:06 2021 +0000 |
4 |
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 6 14:59:38 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b91b343c |
7 |
|
8 |
media-libs/lsp-plugins: fix arm-on-arm64 build failure |
9 |
|
10 |
Build profile armv8a, which is what upstream makefiles use when building |
11 |
lsp-plugins on an arm64 system in 32-bit mode and which at least for the |
12 |
time being is functionally the same as the profile armv8a, does not |
13 |
compile Arm-specific implementation of DSP code. This is currently also |
14 |
the case on upstream Git master branch, and by extension in version |
15 |
1.1.30. |
16 |
|
17 |
Fix tested in a 32-bit chroot on kamaji. |
18 |
|
19 |
Closes: https://bugs.gentoo.org/824102 |
20 |
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> |
21 |
|
22 |
.../lsp-plugins/files/lsp-plugins-1.1.29_armv8a-dsp.patch | 12 ++++++++++++ |
23 |
media-libs/lsp-plugins/lsp-plugins-1.1.29.ebuild | 4 ++++ |
24 |
2 files changed, 16 insertions(+) |
25 |
|
26 |
diff --git a/media-libs/lsp-plugins/files/lsp-plugins-1.1.29_armv8a-dsp.patch b/media-libs/lsp-plugins/files/lsp-plugins-1.1.29_armv8a-dsp.patch |
27 |
new file mode 100644 |
28 |
index 000000000000..2603b4c8a4c7 |
29 |
--- /dev/null |
30 |
+++ b/media-libs/lsp-plugins/files/lsp-plugins-1.1.29_armv8a-dsp.patch |
31 |
@@ -0,0 +1,12 @@ |
32 |
+--- a/src/dsp/Makefile |
33 |
++++ b/src/dsp/Makefile |
34 |
+@@ -44,6 +44,9 @@ endif |
35 |
+ ifeq ($(BUILD_PROFILE), armv7ve) |
36 |
+ LINK_OBJECTS += $(ARM_IMPL) $(NEON_D32_IMPL) |
37 |
+ endif |
38 |
++ifeq ($(BUILD_PROFILE), armv8a) |
39 |
++LINK_OBJECTS += $(ARM_IMPL) $(NEON_D32_IMPL) |
40 |
++endif |
41 |
+ ifeq ($(BUILD_PROFILE), arm32) |
42 |
+ LINK_OBJECTS += $(ARM_IMPL) $(NEON_D32_IMPL) |
43 |
+ endif |
44 |
|
45 |
diff --git a/media-libs/lsp-plugins/lsp-plugins-1.1.29.ebuild b/media-libs/lsp-plugins/lsp-plugins-1.1.29.ebuild |
46 |
index 0247cef3a961..38269a16bc11 100644 |
47 |
--- a/media-libs/lsp-plugins/lsp-plugins-1.1.29.ebuild |
48 |
+++ b/media-libs/lsp-plugins/lsp-plugins-1.1.29.ebuild |
49 |
@@ -41,6 +41,10 @@ DEPEND=" |
50 |
RDEPEND="${DEPEND}" |
51 |
BDEPEND="" |
52 |
|
53 |
+PATCHES=( |
54 |
+ "${FILESDIR}"/${PN}-1.1.29_armv8a-dsp.patch |
55 |
+) |
56 |
+ |
57 |
src_compile() { |
58 |
use doc && MODULES+="doc" |
59 |
use jack && MODULES+=" jack" |