media-sound/terminatorx: Fix build failure, bug #604288
authorPacho Ramos <pacho@gentoo.org>
Sun, 16 Jul 2017 10:17:14 +0000 (12:17 +0200)
committerPacho Ramos <pacho@gentoo.org>
Sun, 16 Jul 2017 10:17:14 +0000 (12:17 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.2

media-sound/terminatorx/files/terminatorx-4.0.1-gtkcombotext.patch [new file with mode: 0644]
media-sound/terminatorx/terminatorx-4.0.1.ebuild

diff --git a/media-sound/terminatorx/files/terminatorx-4.0.1-gtkcombotext.patch b/media-sound/terminatorx/files/terminatorx-4.0.1-gtkcombotext.patch
new file mode 100644 (file)
index 0000000..566dfec
--- /dev/null
@@ -0,0 +1,17 @@
+Description: Fix build failure on kfreebsd
+Author: Sebastian Ramacher <sramacher@debian.org>
+Bug-Debian: https://bugs.debian.org/741623
+Forwarded: yes
+Last-Update: 2014-04-25
+
+--- a/src/tX_dialog.cc
++++ b/src/tX_dialog.cc
+@@ -244,7 +244,7 @@ void append_alsa_device_list(GtkComboBox
+       }
+ }
+ #else
+-void append_alsa_device_list(GtkComboBoxText *combo) {
++void append_alsa_device_list(GtkComboBoxText *combo, char* current) {
+ }
+ #endif
index 2909714a688b82d40e719882d330732f34e0a0c7..745580ace2d41c535df18039998c6860b753a60c 100644 (file)
@@ -44,6 +44,12 @@ DEPEND="${RDEPEND}
 
 S="${WORKDIR}/${MY_P}"
 
+PATCHES=(
+       # Fails to build with USE="X vorbis -alsa -debug -mad -pulseaudio
+       # -sox", bug #604288
+       "${FILESDIR}"/${P}-gtkcombotext.patch
+)
+
 src_configure() {
        gnome2_src_configure \
                $(use_enable alsa) \