summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2017-07-16 12:17:14 +0200
committerPacho Ramos <pacho@gentoo.org>2017-07-16 12:17:14 +0200
commit79727ad00ac71ce71ac34358526174cbd088985f (patch)
treeaa44bbdd6905ee39c9f69002116569c8941fa3dc /media-sound
parentsys-cluster/zetcd: Version bump to 0.0.3 (diff)
downloadgentoo-79727ad00ac71ce71ac34358526174cbd088985f.tar.gz
gentoo-79727ad00ac71ce71ac34358526174cbd088985f.tar.bz2
gentoo-79727ad00ac71ce71ac34358526174cbd088985f.zip
media-sound/terminatorx: Fix build failure, bug #604288
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/terminatorx/files/terminatorx-4.0.1-gtkcombotext.patch17
-rw-r--r--media-sound/terminatorx/terminatorx-4.0.1.ebuild6
2 files changed, 23 insertions, 0 deletions
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 000000000000..566dfecc210b
--- /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 <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
+
diff --git a/media-sound/terminatorx/terminatorx-4.0.1.ebuild b/media-sound/terminatorx/terminatorx-4.0.1.ebuild
index 2909714a688b..745580ace2d4 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) \