From e7d29f9c85b47fea5a96bdefc09e359ec1212209 Mon Sep 17 00:00:00 2001 From: Tony Vroon Date: Tue, 19 Jan 2016 10:31:39 +0000 Subject: net-misc/sipsak: GCC 5 compatibility patch by Thomas "whissi" D. in bug #568588. Package-Manager: portage-2.2.26 --- net-misc/sipsak/sipsak-0.9.6_p1-r2.ebuild | 38 +++++++++++++++++++++++++++++++ net-misc/sipsak/sipsak-0.9.6_p1.ebuild | 32 -------------------------- 2 files changed, 38 insertions(+), 32 deletions(-) create mode 100644 net-misc/sipsak/sipsak-0.9.6_p1-r2.ebuild delete mode 100644 net-misc/sipsak/sipsak-0.9.6_p1.ebuild diff --git a/net-misc/sipsak/sipsak-0.9.6_p1-r2.ebuild b/net-misc/sipsak/sipsak-0.9.6_p1-r2.ebuild new file mode 100644 index 000000000000..9810ba98e8e9 --- /dev/null +++ b/net-misc/sipsak/sipsak-0.9.6_p1-r2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils flag-o-matic + +DESCRIPTION="small command line tool for testing SIP applications and devices" +HOMEPAGE="http://sourceforge.net/projects/sipsak.berlios/" +SRC_URI="mirror://sourceforge/sipsak.berlios/${P/_p/-}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd" +IUSE="gnutls" + +RDEPEND="gnutls? ( net-libs/gnutls ) + net-dns/c-ares" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${P/_p1} + +src_prepare() { + epatch "${FILESDIR}/${PV}-callback.patch" +} + +src_configure() { + append-cflags -std=gnu89 + + econf \ + $(use_enable gnutls) +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog NEWS README TODO +} diff --git a/net-misc/sipsak/sipsak-0.9.6_p1.ebuild b/net-misc/sipsak/sipsak-0.9.6_p1.ebuild deleted file mode 100644 index 65671264e054..000000000000 --- a/net-misc/sipsak/sipsak-0.9.6_p1.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=2 - -DESCRIPTION="small command line tool for testing SIP applications and devices" -HOMEPAGE="http://sipsak.org/" -#SRC_URI="mirror://berlios/sipsak/${P/_p/-}.tar.gz" -SRC_URI="mirror://gentoo/${P/_p/-}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~sparc x86 ~x86-fbsd" -IUSE="gnutls" - -RDEPEND="gnutls? ( net-libs/gnutls ) - net-dns/c-ares" -# ares? ( net-dns/c-ares )" -DEPEND="${RDEPEND}" - -S=${WORKDIR}/${P/_p1} - -src_configure() { - econf \ - $(use_enable gnutls) -} - -src_install() { - emake DESTDIR="${D}" install || die - dodoc AUTHORS ChangeLog NEWS README TODO -} -- cgit v1.2.3-65-gdbad