From d8a42d13525e0b48048cdd3dc0d536fe5d29cc03 Mon Sep 17 00:00:00 2001 From: Ryan Hill Date: Sun, 15 Feb 2009 22:08:49 +0000 Subject: Fix building with gcc-4.3. Patch by Arttu Valo in bug #251625. (Portage version: 2.2_rc23/cvs/Linux x86_64) --- sci-electronics/gspeakers/ChangeLog | 8 +++- .../gspeakers/files/gspeakers-0.11-gcc43.patch | 50 ++++++++++++++++++++++ sci-electronics/gspeakers/gspeakers-0.11.ebuild | 11 +++-- 3 files changed, 64 insertions(+), 5 deletions(-) create mode 100644 sci-electronics/gspeakers/files/gspeakers-0.11-gcc43.patch (limited to 'sci-electronics') diff --git a/sci-electronics/gspeakers/ChangeLog b/sci-electronics/gspeakers/ChangeLog index 8c371e0c6c21..9a272002d10d 100644 --- a/sci-electronics/gspeakers/ChangeLog +++ b/sci-electronics/gspeakers/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-electronics/gspeakers -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gspeakers/ChangeLog,v 1.7 2007/05/19 14:52:14 calchan Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gspeakers/ChangeLog,v 1.8 2009/02/15 22:08:49 dirtyepic Exp $ + + 15 Feb 2009; Ryan Hill + +files/gspeakers-0.11-gcc43.patch, gspeakers-0.11.ebuild: + Fix building with gcc-4.3. Patch by Arttu Valo in bug #251625. 19 May 2007; Denis Dupeyron gspeakers-0.11.ebuild: Dependencies cleaned up a bit. diff --git a/sci-electronics/gspeakers/files/gspeakers-0.11-gcc43.patch b/sci-electronics/gspeakers/files/gspeakers-0.11-gcc43.patch new file mode 100644 index 000000000000..47576fd9a23d --- /dev/null +++ b/sci-electronics/gspeakers/files/gspeakers-0.11-gcc43.patch @@ -0,0 +1,50 @@ +--- gspeakers-0.11-orig/src/filterlinkframe.cc ++++ gspeakers-0.11/src/filterlinkframe.cc +@@ -22,6 +22,7 @@ + #include + #include + #include ++#include + #include "filterlinkframe.h" + #include "gspeakersplot.h" + #include "common.h" +--- gspeakers-0.11-orig/src/freqrespeditor.cc ++++ gspeakers-0.11/src/freqrespeditor.cc +@@ -20,6 +20,7 @@ + #include "freqrespeditor.h" + #include + #include ++#include + #include + #include + #include +--- gspeakers-0.11-orig/src/popupentry.cc ++++ gspeakers-0.11/src/popupentry.cc +@@ -26,6 +26,7 @@ + #include + #include /* see XXX below */ + #include ++#include + + using namespace std; + +--- gspeakers-0.11-orig/src/speakereditor.cc ++++ gspeakers-0.11/src/speakereditor.cc +@@ -18,6 +18,7 @@ + */ + + #include ++#include + #include + #include "speakereditor.h" + #include "common.h" +--- gspeakers-0.11-orig/src/summedfreqrespplot.cc ++++ gspeakers-0.11/src/summedfreqrespplot.cc +@@ -20,6 +20,7 @@ + */ + + #include ++#include + #include + #include "summedfreqrespplot.h" + #include "net.h" diff --git a/sci-electronics/gspeakers/gspeakers-0.11.ebuild b/sci-electronics/gspeakers/gspeakers-0.11.ebuild index 7361a11b1f3c..995880820a1d 100644 --- a/sci-electronics/gspeakers/gspeakers-0.11.ebuild +++ b/sci-electronics/gspeakers/gspeakers-0.11.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gspeakers/gspeakers-0.11.ebuild,v 1.5 2007/05/19 14:52:14 calchan Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gspeakers/gspeakers-0.11.ebuild,v 1.6 2009/02/15 22:08:49 dirtyepic Exp $ -inherit gnome2 +inherit eutils gnome2 DESCRIPTION="GTK based loudspeaker enclosure and crossovernetwork designer" HOMEPAGE="http://gspeakers.sourceforge.net/" @@ -23,3 +23,8 @@ RDEPEND="${RDEPEND} sci-electronics/spice )" DOCS="README* INSTALL Changelog AUTHORS NEWS ABOUT" + +src_unpack() { + gnome2_src_unpack + epatch "${FILESDIR}"/${P}-gcc43.patch +} -- cgit v1.2.3-65-gdbad