diff options
author | Stefan Knoblich <stkn@gentoo.org> | 2005-07-28 20:54:31 +0000 |
---|---|---|
committer | Stefan Knoblich <stkn@gentoo.org> | 2005-07-28 20:54:31 +0000 |
commit | 92d7b8a86b58174caa0953fbe85900e58b02f13c (patch) | |
tree | cbd19ce638833b061da2f3482c1d1659db334b83 /net-misc/yate | |
parent | Made qt dep qt3 explicity per bug #100235 (diff) | |
download | gentoo-2-92d7b8a86b58174caa0953fbe85900e58b02f13c.tar.gz gentoo-2-92d7b8a86b58174caa0953fbe85900e58b02f13c.tar.bz2 gentoo-2-92d7b8a86b58174caa0953fbe85900e58b02f13c.zip |
Added patch from yate cvs to fix compiling with >=gcc-3.4
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-misc/yate')
-rw-r--r-- | net-misc/yate/ChangeLog | 6 | ||||
-rw-r--r-- | net-misc/yate/files/yate-0.8.7-gcc34.patch | 16 | ||||
-rw-r--r-- | net-misc/yate/yate-0.8.7.ebuild | 10 |
3 files changed, 30 insertions, 2 deletions
diff --git a/net-misc/yate/ChangeLog b/net-misc/yate/ChangeLog index de7fa3c8a317..920f5ca36d6c 100644 --- a/net-misc/yate/ChangeLog +++ b/net-misc/yate/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-misc/yate # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/yate/ChangeLog,v 1.4 2005/03/22 15:37:22 stkn Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/yate/ChangeLog,v 1.5 2005/07/28 20:54:31 stkn Exp $ + + 28 Jul 2005; <stkn@gentoo.org> +files/yate-0.8.7-gcc34.patch, + yate-0.8.7.ebuild: + Patch from yate cvs fixes compiling with >=gcc-3.4. 22 Mar 2005; Stefan Knoblich <stkn@gentoo.org> +files/yate.confd, +files/yate.rc6: diff --git a/net-misc/yate/files/yate-0.8.7-gcc34.patch b/net-misc/yate/files/yate-0.8.7-gcc34.patch new file mode 100644 index 000000000000..c7d62ae23f09 --- /dev/null +++ b/net-misc/yate/files/yate-0.8.7-gcc34.patch @@ -0,0 +1,16 @@ +=================================================================== +RCS file: /var/lib/cvsd/home/cvsroot/telecom/yate/modules/zapchan.cpp,v +retrieving revision 1.26 +retrieving revision 1.27 +diff -u -p -r1.26 -r1.27 +--- yate/modules/zapchan.cpp 2005/01/16 04:39:36 1.26 ++++ yate/modules/zapchan.cpp 2005/01/24 08:37:37 1.27 +@@ -590,7 +590,7 @@ PriSpan::PriSpan(struct pri *_pri, int s + m_restart(0), m_chans(0), m_ok(false) + { + Debug(DebugAll,"PriSpan::PriSpan(%p,%d,%d,%d) [%p]",_pri,span,chans,fd,this); +- ZapChan **ch = new (ZapChan *)[chans]; ++ ZapChan **ch = new ZapChan* [chans]; + for (int i = 1; i <= chans; i++) + ch[i-1] = (i == dchan) ? 0 : new ZapChan(this,i,s_buflen); + m_chans = ch; diff --git a/net-misc/yate/yate-0.8.7.ebuild b/net-misc/yate/yate-0.8.7.ebuild index e952829fe3b0..996dc9ba46c2 100644 --- a/net-misc/yate/yate-0.8.7.ebuild +++ b/net-misc/yate/yate-0.8.7.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/yate/yate-0.8.7.ebuild,v 1.3 2005/03/22 15:32:52 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/yate/yate-0.8.7.ebuild,v 1.4 2005/07/28 20:54:31 stkn Exp $ IUSE="h323 postgres zaptel fax qt gtk gsm ortp" @@ -27,6 +27,14 @@ DEPEND="media-sound/sox gsm? ( media-sound/gsm ) ortp? ( net-libs/ortp )" +src_unpack() { + unpack ${A} + + cd ${S} + # patch for gcc3.4 + epatch ${FILESDIR}/${P}-gcc34.patch +} + src_compile() { econf \ $(use_with postgres libpq /usr) \ |