commit:     79727ad00ac71ce71ac34358526174cbd088985f
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 16 10:17:14 2017 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Jul 16 10:17:14 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79727ad0

media-sound/terminatorx: Fix build failure, bug #604288

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 .../files/terminatorx-4.0.1-gtkcombotext.patch          | 17 +++++++++++++++++
 media-sound/terminatorx/terminatorx-4.0.1.ebuild        |  6 ++++++
 2 files changed, 23 insertions(+)

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
index 00000000000..566dfecc210
--- /dev/null
+++ b/media-sound/terminatorx/files/terminatorx-4.0.1-gtkcombotext.patch
@@ -0,0 +1,17 @@
+Description: Fix build failure on kfreebsd
+Author: Sebastian Ramacher <[email protected]>
+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
+ 

diff --git a/media-sound/terminatorx/terminatorx-4.0.1.ebuild 
b/media-sound/terminatorx/terminatorx-4.0.1.ebuild
index 2909714a688..745580ace2d 100644
--- a/media-sound/terminatorx/terminatorx-4.0.1.ebuild
+++ b/media-sound/terminatorx/terminatorx-4.0.1.ebuild
@@ -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) \

Reply via email to