commit: ba52664450b90eed666ef0c7312ba666a96880c9
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 8 16:47:56 2017 +0000
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Wed Feb 8 16:47:56 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba526644
media-sound/traverso: Fix build with gcc6, bug #602390
Package-Manager: Portage-2.3.3, Repoman-2.3.1
media-sound/traverso/files/traverso-0.49.3-gcc6.patch | 12 ++++++++++++
media-sound/traverso/traverso-0.49.3.ebuild | 3 ++-
2 files changed, 14 insertions(+), 1 deletion(-)
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 0000000000..d8ce1e581c
--- /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 35a04adf5f..51bfcf50de 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() {