summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2007-11-14 16:04:20 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2007-11-14 16:04:20 +0000
commitdd2bb0043536c64a1e81baadec2ff1dc8ed8914a (patch)
tree8764397b4fbe850775066519bf429ba97c888bb9 /media-sound
parentStable for HPPA (bug #198561). (diff)
downloadgentoo-2-dd2bb0043536c64a1e81baadec2ff1dc8ed8914a.tar.gz
gentoo-2-dd2bb0043536c64a1e81baadec2ff1dc8ed8914a.tar.bz2
gentoo-2-dd2bb0043536c64a1e81baadec2ff1dc8ed8914a.zip
Fix building without alsa in USE, see bug #199149.
(Portage version: 2.1.3.19)
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/jack-rack/ChangeLog6
-rw-r--r--media-sound/jack-rack/files/jack-rack-1.4.6-noalsa.patch23
-rw-r--r--media-sound/jack-rack/jack-rack-1.4.6.ebuild3
3 files changed, 30 insertions, 2 deletions
diff --git a/media-sound/jack-rack/ChangeLog b/media-sound/jack-rack/ChangeLog
index d875a04a5d15..e010311851de 100644
--- a/media-sound/jack-rack/ChangeLog
+++ b/media-sound/jack-rack/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/jack-rack
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/jack-rack/ChangeLog,v 1.28 2007/11/13 07:55:32 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/jack-rack/ChangeLog,v 1.29 2007/11/14 16:04:19 flameeyes Exp $
+
+ 14 Nov 2007; Diego Pettenò <flameeyes@gentoo.org>
+ +files/jack-rack-1.4.6-noalsa.patch, jack-rack-1.4.6.ebuild:
+ Fix building without alsa in USE, see bug #199149.
13 Nov 2007; Christian Faulhammer <opfer@gentoo.org>
jack-rack-1.4.6.ebuild:
diff --git a/media-sound/jack-rack/files/jack-rack-1.4.6-noalsa.patch b/media-sound/jack-rack/files/jack-rack-1.4.6-noalsa.patch
new file mode 100644
index 000000000000..32edf9adf708
--- /dev/null
+++ b/media-sound/jack-rack/files/jack-rack-1.4.6-noalsa.patch
@@ -0,0 +1,23 @@
+This patch allows to build jack-rack with ALSA support disabled.
+See bug #135966.
+
+Index: jack-rack-1.4.6/src/plugin_slot_callbacks.c
+===================================================================
+--- jack-rack-1.4.6.orig/src/plugin_slot_callbacks.c
++++ jack-rack-1.4.6/src/plugin_slot_callbacks.c
+@@ -99,6 +99,7 @@ slot_ablise_cb (GtkWidget * button, GdkE
+
+ return TRUE;
+ }
++#ifdef HAVE_ALSA
+ case 3:
+ {
+ ui_t * ui;
+@@ -119,6 +120,7 @@ slot_ablise_cb (GtkWidget * button, GdkE
+
+ return TRUE;
+ }
++#endif
+ }
+ }
+
diff --git a/media-sound/jack-rack/jack-rack-1.4.6.ebuild b/media-sound/jack-rack/jack-rack-1.4.6.ebuild
index c033e1ef7fb6..16086dddf9dc 100644
--- a/media-sound/jack-rack/jack-rack-1.4.6.ebuild
+++ b/media-sound/jack-rack/jack-rack-1.4.6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/jack-rack/jack-rack-1.4.6.ebuild,v 1.3 2007/11/13 07:55:32 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/jack-rack/jack-rack-1.4.6.ebuild,v 1.4 2007/11/14 16:04:19 flameeyes Exp $
WANT_AUTOMAKE="1.9"
@@ -45,6 +45,7 @@ src_unpack() {
epatch "${FILESDIR}/${PN}-1.4.5-asneeded.patch"
epatch "${FILESDIR}/${P}-no-disable-deprecated.patch"
+ epatch "${FILESDIR}/${P}-noalsa.patch"
eautomake
}