summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Knoblich <stkn@gentoo.org>2005-12-21 21:09:00 +0000
committerStefan Knoblich <stkn@gentoo.org>2005-12-21 21:09:00 +0000
commit998ef47e37822b8f20e6fae0005352017b168c71 (patch)
treec468427ba1cb486458d9d4d02261a815bbd4ba56 /net-misc/asterisk-chan_capi-cm/asterisk-chan_capi-cm-0.6.1.ebuild
parentrepoman: Trim trailing whitespace (diff)
downloadhistorical-998ef47e37822b8f20e6fae0005352017b168c71.tar.gz
historical-998ef47e37822b8f20e6fae0005352017b168c71.tar.bz2
historical-998ef47e37822b8f20e6fae0005352017b168c71.zip
Fix compiling with asterisk-1.2.x on uclibc systems.
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'net-misc/asterisk-chan_capi-cm/asterisk-chan_capi-cm-0.6.1.ebuild')
-rw-r--r--net-misc/asterisk-chan_capi-cm/asterisk-chan_capi-cm-0.6.1.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/net-misc/asterisk-chan_capi-cm/asterisk-chan_capi-cm-0.6.1.ebuild b/net-misc/asterisk-chan_capi-cm/asterisk-chan_capi-cm-0.6.1.ebuild
index 4f9e96744e51..60a1cd21a9bf 100644
--- a/net-misc/asterisk-chan_capi-cm/asterisk-chan_capi-cm-0.6.1.ebuild
+++ b/net-misc/asterisk-chan_capi-cm/asterisk-chan_capi-cm-0.6.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_capi-cm/asterisk-chan_capi-cm-0.6.1.ebuild,v 1.1 2005/11/20 21:26:09 stkn Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_capi-cm/asterisk-chan_capi-cm-0.6.1.ebuild,v 1.2 2005/12/21 21:09:00 stkn Exp $
IUSE=""
@@ -27,6 +27,12 @@ src_unpack() {
cd ${S}
epatch ${FILESDIR}/chan_capi-0.6.0-gentoo.diff
+
+ # put system includes before asterisk ones, use ast_mutex_init instead
+ # of ast_pthread_mutex_init
+ if has_version ">=net-misc/asterisk-1.1.0"; then
+ epatch ${FILESDIR}/chan_capi-cm-0.6.1-asterisk-1.2.diff
+ fi
}
src_compile() {