summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-06-24 21:11:43 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-06-24 21:11:43 +0000
commit76932d0e3c0646c6582927b66ab52eef6db69116 (patch)
tree9ea26e5e4f4628775e7f969b81e4a725737a82c0 /games-fps
parentAdd flex and bison dependency atoms (#221401). (diff)
downloadgentoo-2-76932d0e3c0646c6582927b66ab52eef6db69116.tar.gz
gentoo-2-76932d0e3c0646c6582927b66ab52eef6db69116.tar.bz2
gentoo-2-76932d0e3c0646c6582927b66ab52eef6db69116.zip
add upstream patch to fix building with newer speex (bug #209199)
(Portage version: 2.1.4.4)
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/alephone/ChangeLog6
-rw-r--r--games-fps/alephone/alephone-20071103.ebuild4
-rw-r--r--games-fps/alephone/files/alephone-20071103-speex.patch12
3 files changed, 20 insertions, 2 deletions
diff --git a/games-fps/alephone/ChangeLog b/games-fps/alephone/ChangeLog
index ee045303fbe2..36d39a0d5869 100644
--- a/games-fps/alephone/ChangeLog
+++ b/games-fps/alephone/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-fps/alephone
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/alephone/ChangeLog,v 1.21 2008/02/04 22:32:29 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/alephone/ChangeLog,v 1.22 2008/06/24 21:11:43 mr_bones_ Exp $
+
+ 24 Jun 2008; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/alephone-20071103-speex.patch, alephone-20071103.ebuild:
+ add upstream patch to fix building with newer speex (bug #209199)
*alephone-20071103 (04 Feb 2008)
diff --git a/games-fps/alephone/alephone-20071103.ebuild b/games-fps/alephone/alephone-20071103.ebuild
index fecc415bd387..b28e16454099 100644
--- a/games-fps/alephone/alephone-20071103.ebuild
+++ b/games-fps/alephone/alephone-20071103.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/alephone/alephone-20071103.ebuild,v 1.1 2008/02/04 22:32:29 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/alephone/alephone-20071103.ebuild,v 1.2 2008/06/24 21:11:43 mr_bones_ Exp $
inherit autotools eutils games
@@ -34,6 +34,8 @@ src_unpack() {
sed "s:GAMES_DATADIR:${GAMES_DATADIR}:g" \
"${FILESDIR}"/${PN}.sh > "${T}"/${PN}.sh \
|| die "sed failed"
+ epatch "${FILESDIR}/${P}-speex.patch"
+ eautoreconf
}
src_compile() {
diff --git a/games-fps/alephone/files/alephone-20071103-speex.patch b/games-fps/alephone/files/alephone-20071103-speex.patch
new file mode 100644
index 000000000000..7f9ec8c94142
--- /dev/null
+++ b/games-fps/alephone/files/alephone-20071103-speex.patch
@@ -0,0 +1,12 @@
+--- configure.ac 2007/12/02 04:13:53 1.56
++++ configure.ac 2008/01/30 03:56:31 1.57
+@@ -163,6 +163,9 @@
+ LIBS="-lspeex $LIBS"
+ AC_DEFINE(SPEEX, 1, [Speex support is enabled])
+ ])
++ AC_CHECK_LIB(speexdsp, speex_preprocess_state_init, [
++ LIBS="-lspeexdsp $LIBS"
++])
+ ])
+ fi
+