summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2012-11-24 15:18:07 +0000
committerAlexis Ballier <aballier@gentoo.org>2012-11-24 15:18:07 +0000
commitf4ce959a932bd5d706e546c5b36581331a044a93 (patch)
tree36d7f0a1cb82ccb1e3aed101297b6dc0306909fa /media-sound
parentRemove old. (diff)
downloadgentoo-2-f4ce959a932bd5d706e546c5b36581331a044a93.tar.gz
gentoo-2-f4ce959a932bd5d706e546c5b36581331a044a93.tar.bz2
gentoo-2-f4ce959a932bd5d706e546c5b36581331a044a93.zip
fix build with gcc 4.7 bug #424075
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/qjackctl/ChangeLog6
-rw-r--r--media-sound/qjackctl/files/qjackctl-0.3.9-gcc47.patch12
-rw-r--r--media-sound/qjackctl/qjackctl-0.3.9.ebuild4
3 files changed, 20 insertions, 2 deletions
diff --git a/media-sound/qjackctl/ChangeLog b/media-sound/qjackctl/ChangeLog
index eb4ae33f2343..d810bd5cc6ce 100644
--- a/media-sound/qjackctl/ChangeLog
+++ b/media-sound/qjackctl/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/qjackctl
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/qjackctl/ChangeLog,v 1.75 2012/05/21 15:24:00 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/qjackctl/ChangeLog,v 1.76 2012/11/24 15:18:07 aballier Exp $
+
+ 24 Nov 2012; Alexis Ballier <aballier@gentoo.org> qjackctl-0.3.9.ebuild,
+ +files/qjackctl-0.3.9-gcc47.patch:
+ fix build with gcc 4.7 bug #424075
*qjackctl-0.3.9 (21 May 2012)
diff --git a/media-sound/qjackctl/files/qjackctl-0.3.9-gcc47.patch b/media-sound/qjackctl/files/qjackctl-0.3.9-gcc47.patch
new file mode 100644
index 000000000000..fd6a2dedf646
--- /dev/null
+++ b/media-sound/qjackctl/files/qjackctl-0.3.9-gcc47.patch
@@ -0,0 +1,12 @@
+Index: qjackctl-0.3.9/src/qjackctl.cpp
+===================================================================
+--- qjackctl-0.3.9.orig/src/qjackctl.cpp
++++ qjackctl-0.3.9/src/qjackctl.cpp
+@@ -27,6 +27,7 @@
+ #include <QLibraryInfo>
+ #include <QTranslator>
+ #include <QLocale>
++#include <unistd.h>
+
+ #if QT_VERSION < 0x040300
+ #define lighter(x) light(x)
diff --git a/media-sound/qjackctl/qjackctl-0.3.9.ebuild b/media-sound/qjackctl/qjackctl-0.3.9.ebuild
index b884a4f284d2..08833614a4cc 100644
--- a/media-sound/qjackctl/qjackctl-0.3.9.ebuild
+++ b/media-sound/qjackctl/qjackctl-0.3.9.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/qjackctl/qjackctl-0.3.9.ebuild,v 1.1 2012/05/21 15:24:00 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/qjackctl/qjackctl-0.3.9.ebuild,v 1.2 2012/11/24 15:18:07 aballier Exp $
EAPI=4
@@ -27,6 +27,8 @@ DEPEND="${RDEPEND}"
DOCS="AUTHORS ChangeLog README TODO TRANSLATORS"
+PATCHES=( "${FILESDIR}/${P}-gcc47.patch" )
+
src_configure() {
econf \
$(use_enable alsa alsa-seq) \