summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-12-19 09:23:45 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-12-19 09:23:45 +0000
commit19a89b96f64ceaa20e67f9e78a605154ce687ca3 (patch)
tree75aaf4b10e96705d726c13fbee03f405b9315711 /media-sound/qjackctl
parentBackported ffmpeg fixup and use flag cleanup (see bug #250850). (diff)
downloadgentoo-2-19a89b96f64ceaa20e67f9e78a605154ce687ca3.tar.gz
gentoo-2-19a89b96f64ceaa20e67f9e78a605154ce687ca3.tar.bz2
gentoo-2-19a89b96f64ceaa20e67f9e78a605154ce687ca3.zip
Fix build with gcc 4.3 and use=-alsa, bug #251247
(Portage version: 2.2_rc17/cvs/Linux 2.6.27.8 x86_64)
Diffstat (limited to 'media-sound/qjackctl')
-rw-r--r--media-sound/qjackctl/ChangeLog6
-rw-r--r--media-sound/qjackctl/files/qjackctl-0.3.4-noalsagcc4.3.patch12
-rw-r--r--media-sound/qjackctl/qjackctl-0.3.4.ebuild6
3 files changed, 22 insertions, 2 deletions
diff --git a/media-sound/qjackctl/ChangeLog b/media-sound/qjackctl/ChangeLog
index aa26431a55a5..56200466f115 100644
--- a/media-sound/qjackctl/ChangeLog
+++ b/media-sound/qjackctl/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/qjackctl
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/qjackctl/ChangeLog,v 1.59 2008/12/08 08:56:36 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/qjackctl/ChangeLog,v 1.60 2008/12/19 09:23:45 aballier Exp $
+
+ 19 Dec 2008; Alexis Ballier <aballier@gentoo.org>
+ +files/qjackctl-0.3.4-noalsagcc4.3.patch, qjackctl-0.3.4.ebuild:
+ Fix build with gcc 4.3 and use=-alsa, bug #251247
*qjackctl-0.3.4 (08 Dec 2008)
diff --git a/media-sound/qjackctl/files/qjackctl-0.3.4-noalsagcc4.3.patch b/media-sound/qjackctl/files/qjackctl-0.3.4-noalsagcc4.3.patch
new file mode 100644
index 000000000000..f6d2c736b91e
--- /dev/null
+++ b/media-sound/qjackctl/files/qjackctl-0.3.4-noalsagcc4.3.patch
@@ -0,0 +1,12 @@
+Index: qjackctl-0.3.4/src/qjackctlPatchbayRack.cpp
+===================================================================
+--- qjackctl-0.3.4.orig/src/qjackctlPatchbayRack.cpp
++++ qjackctl-0.3.4/src/qjackctlPatchbayRack.cpp
+@@ -30,6 +30,7 @@
+ //
+
+ #include <QHash>
++#include <cstdlib>
+
+ class qjackctlPatchbaySnapshot
+ {
diff --git a/media-sound/qjackctl/qjackctl-0.3.4.ebuild b/media-sound/qjackctl/qjackctl-0.3.4.ebuild
index a6a97aca4b79..de1191bbb6d9 100644
--- a/media-sound/qjackctl/qjackctl-0.3.4.ebuild
+++ b/media-sound/qjackctl/qjackctl-0.3.4.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/media-sound/qjackctl/qjackctl-0.3.4.ebuild,v 1.1 2008/12/08 08:56:36 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/qjackctl/qjackctl-0.3.4.ebuild,v 1.2 2008/12/19 09:23:45 aballier Exp $
EAPI=2
@@ -23,6 +23,10 @@ DEPEND="alsa? ( media-libs/alsa-lib[midi] )
) =x11-libs/qt-4.3*:4 )
media-sound/jack-audio-connection-kit"
+src_prepare() {
+ epatch "${FILESDIR}/${P}-noalsagcc4.3.patch"
+}
+
src_configure() {
econf \
$(use_enable alsa alsa-seq) \