1 |
commit: b2f9af7650de22e118bed4f9d4aaf7a327b89437 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 7 05:04:29 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 7 05:04:56 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2f9af76 |
7 |
|
8 |
sys-libs/libavc1394: fix build on musl |
9 |
|
10 |
Closes: https://bugs.gentoo.org/713174 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
sys-libs/libavc1394/libavc1394-0.5.4-r2.ebuild | 8 ++++++-- |
14 |
1 file changed, 6 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/sys-libs/libavc1394/libavc1394-0.5.4-r2.ebuild b/sys-libs/libavc1394/libavc1394-0.5.4-r2.ebuild |
17 |
index 2bd1328cadf..ecc3bbed45e 100644 |
18 |
--- a/sys-libs/libavc1394/libavc1394-0.5.4-r2.ebuild |
19 |
+++ b/sys-libs/libavc1394/libavc1394-0.5.4-r2.ebuild |
20 |
@@ -3,7 +3,7 @@ |
21 |
|
22 |
EAPI=7 |
23 |
|
24 |
-inherit multilib-minimal |
25 |
+inherit flag-o-matic multilib-minimal |
26 |
|
27 |
DESCRIPTION="Library for the 1394 AV/C (Audio/Video Control) Digital Interface Command Set" |
28 |
HOMEPAGE="https://sourceforge.net/projects/libavc1394/" |
29 |
@@ -14,10 +14,14 @@ SLOT="0" |
30 |
KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 ~riscv sparc x86" |
31 |
|
32 |
BDEPEND="virtual/pkgconfig" |
33 |
-DEPEND=">=sys-libs/libraw1394-2.1.0-r1[${MULTILIB_USEDEP}]" |
34 |
+DEPEND=">=sys-libs/libraw1394-2.1.0-r1[${MULTILIB_USEDEP}] |
35 |
+ elibc_musl? ( sys-libs/argp-standalone )" |
36 |
RDEPEND="${DEPEND}" |
37 |
|
38 |
multilib_src_configure() { |
39 |
+ # bug #713174 |
40 |
+ use elibc_musl && append-libs -largp |
41 |
+ |
42 |
ECONF_SOURCE="${S}" econf --disable-static |
43 |
} |