media-sound/traverso: Fix build with gcc6, bug #602390
authorAlexis Ballier <aballier@gentoo.org>
Wed, 8 Feb 2017 16:47:56 +0000 (17:47 +0100)
committerAlexis Ballier <aballier@gentoo.org>
Wed, 8 Feb 2017 16:47:56 +0000 (17:47 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

media-sound/traverso/files/traverso-0.49.3-gcc6.patch [new file with mode: 0644]
media-sound/traverso/traverso-0.49.3.ebuild

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 (file)
index 0000000..d8ce1e5
--- /dev/null
@@ -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;
index 35a04adf5f2e2457247723429133d74bba8e8a48..51bfcf50de33870d4b48d4dd42186b80db527fea 100644 (file)
@@ -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() {