From ba52664450b90eed666ef0c7312ba666a96880c9 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Wed, 8 Feb 2017 17:47:56 +0100 Subject: 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(-) create mode 100644 media-sound/traverso/files/traverso-0.49.3-gcc6.patch 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() { -- cgit v1.2.3-65-gdbad