summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <rhill@gentoo.org>2009-02-15 22:08:49 +0000
committerRyan Hill <rhill@gentoo.org>2009-02-15 22:08:49 +0000
commit1ac04ecb6300c925645884de9e2632b6f9aa1100 (patch)
treead248868d12037fdea662ae06159217f5fd86739 /sci-electronics
parentVersion bump (diff)
downloadhistorical-1ac04ecb6300c925645884de9e2632b6f9aa1100.tar.gz
historical-1ac04ecb6300c925645884de9e2632b6f9aa1100.tar.bz2
historical-1ac04ecb6300c925645884de9e2632b6f9aa1100.zip
Fix building with gcc-4.3. Patch by Arttu Valo in bug #251625.
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/gspeakers/ChangeLog8
-rw-r--r--sci-electronics/gspeakers/Manifest15
-rw-r--r--sci-electronics/gspeakers/files/gspeakers-0.11-gcc43.patch50
-rw-r--r--sci-electronics/gspeakers/gspeakers-0.11.ebuild11
4 files changed, 77 insertions, 7 deletions
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 <dirtyepic@gentoo.org>
+ +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 <calchan@gentoo.org> gspeakers-0.11.ebuild:
Dependencies cleaned up a bit.
diff --git a/sci-electronics/gspeakers/Manifest b/sci-electronics/gspeakers/Manifest
index f26f3b276ce1..cd4f31e6d0a9 100644
--- a/sci-electronics/gspeakers/Manifest
+++ b/sci-electronics/gspeakers/Manifest
@@ -1,4 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX gspeakers-0.11-gcc43.patch 1224 RMD160 4a31f107ec6125e581688f8fe3414c47bff52dbd SHA1 9eff3f3a2131846fad58121b8790daee75fb95e3 SHA256 9db7df395329c5aa056c561026c3de5b188d3b73ffe4bb69c92e69367e9b7677
DIST gspeakers-0.11.tar.gz 546406 RMD160 54b6675f045b5a791131e2c292b23e7c0e7f3bde SHA1 ec2e71c94bbab6daf8409920e249103c054152ce SHA256 fe5941f9e17b57d47581b56afb47c35957bc1c1e254a2675a2ad913a9625dc3f
-EBUILD gspeakers-0.11.ebuild 739 RMD160 8fcb076af13d81e695a35841735df43d582444af SHA1 e5cc2efb8e042cc75c61bc30b18a20a2fee0b57a SHA256 c6b1bdf216af4841564052a654a6a8bdb5b2fe3e2cfaeecc4f08ac3f1fed3fc3
-MISC ChangeLog 1022 RMD160 06e45c464396c2b9f32f274fea22c553d3b17ddb SHA1 2221baa8805932871e4511706488b924293a925f SHA256 2c22adacbe18207995afc96a78da5430de930b7d4cf18fe940951e34a14f69a3
+EBUILD gspeakers-0.11.ebuild 824 RMD160 adfed6f2a8a2f56fe50b5cb1d26fae5ae1e7d2e6 SHA1 55edd8c82f0c868451627162217635c7fbf6d8d5 SHA256 0252038ca7981b7a75adbd7f4a0b0ac4864ee75b0e452d99ab72340d914d649b
+MISC ChangeLog 1198 RMD160 8dc7d0eb2f456ca94248943f560454d3e25c8f01 SHA1 e525ca9a4383c7ce2703a805c566623738ef5198 SHA256 1b5d25e2ddcfd8fb257bcd8a6b405a9c6eb3500592e4d43c9c6afedfb93f9d82
MISC metadata.xml 356 RMD160 1f6625cc9764314bc737bc80c15922492ada7eb2 SHA1 e94ac16f7ca8e9e066508ef664862ac163d1879c SHA256 debb0771e69e79335bea2c23ef2802fd5f6fdba822c7ee6f4cfccaec6a6548eb
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.10 (GNU/Linux)
+
+iEYEARECAAYFAkmYkscACgkQiqiDRvmkBmI3XQCg6Cb06rX4yu0BUgY98C6qo9n6
+jm8AnRr65XKr5caSttcNwCil+1Kz+lJA
+=nXpI
+-----END PGP SIGNATURE-----
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 <stdio.h>
+ #include <fstream>
+ #include <sstream>
++#include <cstring>
+ #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 <fstream>
+ #include <stdio.h>
++#include <cstring>
+ #include <gtkmm/stock.h>
+ #include <gtkmm/frame.h>
+ #include <gtkmm/messagedialog.h>
+--- gspeakers-0.11-orig/src/popupentry.cc
++++ gspeakers-0.11/src/popupentry.cc
+@@ -26,6 +26,7 @@
+ #include <gtkmm.h>
+ #include <gtk/gtkentry.h> /* see XXX below */
+ #include <iostream>
++#include <cstring>
+
+ using namespace std;
+
+--- gspeakers-0.11-orig/src/speakereditor.cc
++++ gspeakers-0.11/src/speakereditor.cc
+@@ -18,6 +18,7 @@
+ */
+
+ #include <fstream>
++#include <cstring>
+ #include <math.h>
+ #include "speakereditor.h"
+ #include "common.h"
+--- gspeakers-0.11-orig/src/summedfreqrespplot.cc
++++ gspeakers-0.11/src/summedfreqrespplot.cc
+@@ -20,6 +20,7 @@
+ */
+
+ #include <fstream>
++#include <cstring>
+ #include <math.h>
+ #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
+}