summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-02-08 17:47:56 +0100
committerAlexis Ballier <aballier@gentoo.org>2017-02-08 17:47:56 +0100
commitba52664450b90eed666ef0c7312ba666a96880c9 (patch)
tree39770630513ed7a6820a993b23059d0ffa915c82
parentdev-tex/tex4ht: Another revbump to update texmf files from texlive 2016, fixi... (diff)
downloadgentoo-ba52664450b90eed666ef0c7312ba666a96880c9.tar.gz
gentoo-ba52664450b90eed666ef0c7312ba666a96880c9.tar.bz2
gentoo-ba52664450b90eed666ef0c7312ba666a96880c9.zip
media-sound/traverso: Fix build with gcc6, bug #602390
Package-Manager: Portage-2.3.3, Repoman-2.3.1
-rw-r--r--media-sound/traverso/files/traverso-0.49.3-gcc6.patch12
-rw-r--r--media-sound/traverso/traverso-0.49.3.ebuild3
2 files changed, 14 insertions, 1 deletions
diff --git a/media-sound/traverso/files/traverso-0.49.3-gcc6.patch b/media-sound/traverso/files/traverso-0.49.3-gcc6.patch
new file mode 100644
index 000000000000..d8ce1e581c8d
--- /dev/null
+++ b/media-sound/traverso/files/traverso-0.49.3-gcc6.patch
@@ -0,0 +1,12 @@
+Index: traverso-0.49.3/src/common/Tsar.h
+===================================================================
+--- traverso-0.49.3.orig/src/common/Tsar.h
++++ traverso-0.49.3/src/common/Tsar.h
+@@ -63,7 +63,6 @@ struct TsarEvent {
+ QObject* caller;
+ void* argument;
+ int slotindex;
+- void* _a[];
+
+ // Used for the signal emiting stuff
+ int signalindex;
diff --git a/media-sound/traverso/traverso-0.49.3.ebuild b/media-sound/traverso/traverso-0.49.3.ebuild
index 35a04adf5f2e..51bfcf50de33 100644
--- a/media-sound/traverso/traverso-0.49.3.ebuild
+++ b/media-sound/traverso/traverso-0.49.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -36,6 +36,7 @@ DOCS=( AUTHORS ChangeLog README resources/help.text )
PATCHES=(
"${FILESDIR}"/${PN}-0.49.2-desktop.patch
+ "${FILESDIR}"/${PN}-0.49.3-gcc6.patch
)
src_configure() {