diff options
author | Peter Alfredsen <loki_val@gentoo.org> | 2009-02-15 01:20:52 +0000 |
---|---|---|
committer | Peter Alfredsen <loki_val@gentoo.org> | 2009-02-15 01:20:52 +0000 |
commit | 3083b2cdc12aa86dcbed2845644950be30df2780 (patch) | |
tree | e5792a91cde6fe810e6c7fe545ce9859f2ede49e /media-sound/sonik | |
parent | Add gcc-4.3 patch, bug 251773. Thanks to Gene Seto <geneseto@hotmail.com> for... (diff) | |
download | gentoo-2-3083b2cdc12aa86dcbed2845644950be30df2780.tar.gz gentoo-2-3083b2cdc12aa86dcbed2845644950be30df2780.tar.bz2 gentoo-2-3083b2cdc12aa86dcbed2845644950be30df2780.zip |
Fix compilation with gcc-4.3, bug 251252. Thanks to Gene Seto <geneseto@hotmail.com> for the patch.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/sonik')
-rw-r--r-- | media-sound/sonik/ChangeLog | 9 | ||||
-rw-r--r-- | media-sound/sonik/files/sonik-1.0.0-gcc43.patch | 12 | ||||
-rw-r--r-- | media-sound/sonik/sonik-1.0.0.ebuild | 12 |
3 files changed, 28 insertions, 5 deletions
diff --git a/media-sound/sonik/ChangeLog b/media-sound/sonik/ChangeLog index 8b9e81f72806..20d8b0e2700d 100644 --- a/media-sound/sonik/ChangeLog +++ b/media-sound/sonik/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-sound/sonik -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/sonik/ChangeLog,v 1.5 2008/03/12 09:44:36 phreak Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/sonik/ChangeLog,v 1.6 2009/02/15 01:20:51 loki_val Exp $ + + 15 Feb 2009; Peter Alfredsen <loki_val@gentoo.org> + +files/sonik-1.0.0-gcc43.patch, sonik-1.0.0.ebuild: + Fix compilation with gcc-4.3, bug 251252. Thanks to Gene Seto + <geneseto@hotmail.com> for the patch. 12 Mar 2008; Christian Heim <phreak@gentoo.org> metadata.xml: Removing Eldad Zack (eldad, #53978) from metadata.xml. diff --git a/media-sound/sonik/files/sonik-1.0.0-gcc43.patch b/media-sound/sonik/files/sonik-1.0.0-gcc43.patch new file mode 100644 index 000000000000..57464fe40e0e --- /dev/null +++ b/media-sound/sonik/files/sonik-1.0.0-gcc43.patch @@ -0,0 +1,12 @@ +--- sonik-1.0.0b/base/sonik_sigproc.h 2009-01-23 19:10:07.000000000 -0400 ++++ sonik-1.0.0/base/sonik_sigproc.h 2009-01-23 19:09:35.000000000 -0400 +@@ -26,7 +26,8 @@ + + #include <qstring.h> + +-#include <cmath> ++#include <cmath> //fabs ++#include <cstdlib> //abs + + namespace Sonik + { diff --git a/media-sound/sonik/sonik-1.0.0.ebuild b/media-sound/sonik/sonik-1.0.0.ebuild index e11236034863..8053000682f3 100644 --- a/media-sound/sonik/sonik-1.0.0.ebuild +++ b/media-sound/sonik/sonik-1.0.0.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/sonik/sonik-1.0.0.ebuild,v 1.2 2006/10/21 14:02:54 carlo Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/sonik/sonik-1.0.0.ebuild,v 1.3 2009/02/15 01:20:51 loki_val Exp $ ARTS_REQUIRED="yes" -inherit kde +inherit kde eutils DESCRIPTION="KDE Audio Editor" HOMEPAGE="http://sonik.sourceforge.net/" @@ -20,6 +20,12 @@ RDEPEND="media-libs/liblrdf media-libs/audiofile" need-kde 3.3 +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-gcc43.patch" +} + src_compile() { myconf="$(use_enable ladspa)" kde_src_compile |