summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir Lamouri <volkmar@gentoo.org>2009-05-17 11:43:11 +0000
committerMounir Lamouri <volkmar@gentoo.org>2009-05-17 11:43:11 +0000
commit22fde0ac2c6a23ecad8fe3ac7a184e177da7c97d (patch)
treed1186669892264002f798d2860c4630a84d65345 /net-misc
parentAdd ~arm/~ia64/~sh wrt #268529 (diff)
downloadgentoo-2-22fde0ac2c6a23ecad8fe3ac7a184e177da7c97d.tar.gz
gentoo-2-22fde0ac2c6a23ecad8fe3ac7a184e177da7c97d.tar.bz2
gentoo-2-22fde0ac2c6a23ecad8fe3ac7a184e177da7c97d.zip
fix an 'implicit declaration warning' fixing bug 269778
(Portage version: 2.1.6.11/cvs/Linux ppc)
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/kiax/ChangeLog6
-rw-r--r--net-misc/kiax/files/kiax-0.8.51-missing-header.patch12
-rw-r--r--net-misc/kiax/kiax-0.8.51-r1.ebuild9
3 files changed, 25 insertions, 2 deletions
diff --git a/net-misc/kiax/ChangeLog b/net-misc/kiax/ChangeLog
index 918ffef14f71..9a96c2db68d7 100644
--- a/net-misc/kiax/ChangeLog
+++ b/net-misc/kiax/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/kiax
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/kiax/ChangeLog,v 1.16 2009/02/25 21:40:11 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/kiax/ChangeLog,v 1.17 2009/05/17 11:43:11 volkmar Exp $
+
+ 17 May 2009; Mounir Lamouri <volkmar@gentoo.org>
+ +files/kiax-0.8.51-missing-header.patch, kiax-0.8.51-r1.ebuild:
+ Fix an 'implicit declaration' warning fixing bug 269778
25 Feb 2009; Markus Meier <maekke@gentoo.org> -files/configure.patch,
-kiax-0.8.5_p1.ebuild:
diff --git a/net-misc/kiax/files/kiax-0.8.51-missing-header.patch b/net-misc/kiax/files/kiax-0.8.51-missing-header.patch
new file mode 100644
index 000000000000..81bf185c7e97
--- /dev/null
+++ b/net-misc/kiax/files/kiax-0.8.51-missing-header.patch
@@ -0,0 +1,12 @@
+--- lib/audio_encode.c.old 2009-05-17 13:28:41.000000000 +0200
++++ lib/audio_encode.c 2009-05-17 13:29:11.000000000 +0200
+@@ -19,6 +19,9 @@
+ #include "codec_ulaw.h"
+ #include "codec_alaw.h"
+ #include "codec_speex.h"
++#ifdef CODEC_ILBC
++#include "codec_ilbc.h"
++#endif // CODEC_ILBC
+
+ double iaxc_silence_threshold = -9e99;
+
diff --git a/net-misc/kiax/kiax-0.8.51-r1.ebuild b/net-misc/kiax/kiax-0.8.51-r1.ebuild
index bd1eacf68017..9a63a7b96de1 100644
--- a/net-misc/kiax/kiax-0.8.51-r1.ebuild
+++ b/net-misc/kiax/kiax-0.8.51-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/kiax/kiax-0.8.51-r1.ebuild,v 1.2 2009/02/25 21:36:06 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/kiax/kiax-0.8.51-r1.ebuild,v 1.3 2009/05/17 11:43:11 volkmar Exp $
EAPI="2"
@@ -21,10 +21,17 @@ RDEPEND="${DEPEND}"
S="${WORKDIR}/${P}-src"
+# TODO:
+# using a lot of internal libs (see debian patch)
+# using ilbc (license issues)
+
src_prepare() {
# fix compile with glibc-2.8, see bug #246131
epatch "${FILESDIR}"/${P}-h_addr_list.patch
+ # fix install_qa_check with amd64, see bug 269778
+ epatch "${FILESDIR}"/${P}-missing-header.patch
+
# add prefix for make install
sed -i -e "s:\(\$(DEST_PATH)\):\${INSTALL_ROOT}\1:" \
bin/Makefile || die "patching bin/Makefile failed"