summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Gurr <tgurr@gentoo.org>2010-02-02 01:17:43 +0000
committerTimo Gurr <tgurr@gentoo.org>2010-02-02 01:17:43 +0000
commitd6bb8bbe3c0084132b899025a4ad5bf6f1a98281 (patch)
treea0a8dc04bafc70598d524327e40d76bd9b290f3e /media-sound/mumble
parentrevision bump with fix for CVE-2010-0295, straight to stable on amd64 (diff)
downloadgentoo-2-d6bb8bbe3c0084132b899025a4ad5bf6f1a98281.tar.gz
gentoo-2-d6bb8bbe3c0084132b899025a4ad5bf6f1a98281.tar.bz2
gentoo-2-d6bb8bbe3c0084132b899025a4ad5bf6f1a98281.zip
Fix usage of newer celt versions wrt bug #293300. Thanks to Dennis Schridde again.
(Portage version: 2.2_rc62/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/mumble')
-rw-r--r--media-sound/mumble/ChangeLog9
-rw-r--r--media-sound/mumble/files/mumble-1.2.1-celt-libnaming.patch52
-rw-r--r--media-sound/mumble/mumble-1.2.1-r1.ebuild (renamed from media-sound/mumble/mumble-1.2.1.ebuild)6
3 files changed, 65 insertions, 2 deletions
diff --git a/media-sound/mumble/ChangeLog b/media-sound/mumble/ChangeLog
index 97174b3a5bc1..b88b79d8653f 100644
--- a/media-sound/mumble/ChangeLog
+++ b/media-sound/mumble/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-sound/mumble
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mumble/ChangeLog,v 1.25 2010/01/08 21:00:44 tgurr Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mumble/ChangeLog,v 1.26 2010/02/02 01:17:42 tgurr Exp $
+
+*mumble-1.2.1-r1 (02 Feb 2010)
+
+ 02 Feb 2010; Timo Gurr <tgurr@gentoo.org> -mumble-1.2.1.ebuild,
+ +mumble-1.2.1-r1.ebuild, +files/mumble-1.2.1-celt-libnaming.patch:
+ Fix usage of newer celt versions wrt bug #293300. Thanks to Dennis
+ Schridde again.
*mumble-1.2.1 (08 Jan 2010)
diff --git a/media-sound/mumble/files/mumble-1.2.1-celt-libnaming.patch b/media-sound/mumble/files/mumble-1.2.1-celt-libnaming.patch
new file mode 100644
index 000000000000..98639d151e45
--- /dev/null
+++ b/media-sound/mumble/files/mumble-1.2.1-celt-libnaming.patch
@@ -0,0 +1,52 @@
+From d10991031021d6d1836f1d36044455a28444b8b9 Mon Sep 17 00:00:00 2001
+From: Thorvald Natvig <slicer@users.sourceforge.net>
+Date: Sat, 16 Jan 2010 18:03:38 +0100
+Subject: [PATCH] Update to new naming for libcelt0
+
+---
+ celt-0.7.0-build/celt-0.7.0-build.pro | 2 +-
+ installer/Mumble.nsi | 4 ++--
+ src/mumble/Audio.cpp | 15 +++++++++------
+ 3 files changed, 12 insertions(+), 9 deletions(-)
+
+diff --git a/src/mumble/Audio.cpp b/src/mumble/Audio.cpp
+index 91462bb..4bf8538 100644
+--- a/src/mumble/Audio.cpp
++++ b/src/mumble/Audio.cpp
+@@ -104,25 +104,28 @@ CELTCodec::CELTCodec(const QString &version) {
+
+ QStringList alternatives;
+ #if defined(Q_OS_MAC)
+- alternatives << QString::fromLatin1("celt.%1.dylib").arg(version);
++ alternatives << QString::fromLatin1("libcelt0.%1.dylib").arg(version);
++ alternatives << QString::fromLatin1("celt0.%1.dylib").arg(version);
+ alternatives << QString::fromLatin1("libcelt.%1.dylib").arg(version);
++ alternatives << QString::fromLatin1("celt.%1.dylib").arg(version);
+ #elif defined(Q_OS_UNIX)
+- alternatives << QString::fromLatin1("celt.so.%1").arg(version);
++ alternatives << QString::fromLatin1("libcelt0.so.%1").arg(version);
+ alternatives << QString::fromLatin1("libcelt.so.%1").arg(version);
++ alternatives << QString::fromLatin1("celt.so.%1").arg(version);
+ #else
+ int cpuinfo[4];
+ __cpuid(cpuinfo, 1);
+ if (cpuinfo[3] & 0x02000000) {
+ if (cpuinfo[3] & 0x04000000) {
+ if (cpuinfo[2] & 0x00000001) {
+- alternatives << QString::fromLatin1("celt.%1.sse3.dll").arg(version);
++ alternatives << QString::fromLatin1("celt0.%1.sse3.dll").arg(version);
+ }
+- alternatives << QString::fromLatin1("celt.%1.sse2.dll").arg(version);
++ alternatives << QString::fromLatin1("celt0.%1.sse2.dll").arg(version);
+ }
+- alternatives << QString::fromLatin1("celt.%1.sse.dll").arg(version);
++ alternatives << QString::fromLatin1("celt0.%1.sse.dll").arg(version);
+ }
+
+- alternatives << QString::fromLatin1("celt.%1.dll").arg(version);
++ alternatives << QString::fromLatin1("celt0.%1.dll").arg(version);
+ #endif
+ foreach(const QString &lib, alternatives) {
+ qlCELT.setFileName(QApplication::instance()->applicationDirPath() + QLatin1String("/") + lib);
+--
+1.6.3
diff --git a/media-sound/mumble/mumble-1.2.1.ebuild b/media-sound/mumble/mumble-1.2.1-r1.ebuild
index 44c6b646ba76..985807ef5f27 100644
--- a/media-sound/mumble/mumble-1.2.1.ebuild
+++ b/media-sound/mumble/mumble-1.2.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mumble/mumble-1.2.1.ebuild,v 1.1 2010/01/08 21:00:44 tgurr Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mumble/mumble-1.2.1-r1.ebuild,v 1.1 2010/02/02 01:17:42 tgurr Exp $
EAPI="2"
@@ -42,6 +42,10 @@ DEPEND="${RDEPEND}
S="${WORKDIR}/${MY_P}"
+src_prepare() {
+ epatch "${FILESDIR}/${P}-celt-libnaming.patch"
+}
+
src_configure() {
local conf_add