aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Hughes <davidhughes205@gmail.com>2021-04-29 15:27:21 -0400
committerDave Hughes <davidhughes205@gmail.com>2021-04-29 15:27:21 -0400
commit01f57e5d8f4a5a84b1282d76170799d62f7c899c (patch)
tree5a53c65967fbd5d274bf2351f1545824a7c1e24c /dev-libs/libgamin/libgamin-0.1.10-r6.ebuild
parentapp-emulation/libvirt: fix whitespace (diff)
downloadmusl-01f57e5d8f4a5a84b1282d76170799d62f7c899c.tar.gz
musl-01f57e5d8f4a5a84b1282d76170799d62f7c899c.tar.bz2
musl-01f57e5d8f4a5a84b1282d76170799d62f7c899c.zip
dev-libs/libgamin: move patch behind elibc_musl
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Dave Hughes <davidhughes205@gmail.com>
Diffstat (limited to 'dev-libs/libgamin/libgamin-0.1.10-r6.ebuild')
-rw-r--r--dev-libs/libgamin/libgamin-0.1.10-r6.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/dev-libs/libgamin/libgamin-0.1.10-r6.ebuild b/dev-libs/libgamin/libgamin-0.1.10-r6.ebuild
index 74ec6d9..f8315d4 100644
--- a/dev-libs/libgamin/libgamin-0.1.10-r6.ebuild
+++ b/dev-libs/libgamin/libgamin-0.1.10-r6.ebuild
@@ -59,8 +59,10 @@ src_prepare() {
# Fix possible server deadlock in ih_sub_cancel, upstream bug #667230
epatch "${FILESDIR}/${PN}-0.1.10-deadlock.patch"
- # Fix build on musl
- epatch "${FILESDIR}"/${PN}-0.1.10-fix-pthread-mutex.patch
+ # Fix build on musl
+ if use elibc_musl ; then
+ epatch "${FILESDIR}"/${PN}-0.1.10-fix-pthread-mutex.patch
+ fi
# Drop DEPRECATED flags
sed -i -e 's:-DG_DISABLE_DEPRECATED:$(NULL):g' server/Makefile.am || die