summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2008-04-24 17:34:13 +0000
committerSamuli Suominen <drac@gentoo.org>2008-04-24 17:34:13 +0000
commit8d91c5cb7ab50c9ee50b93fcb60f975b37506807 (patch)
treeacf2be2ae2da96f7ffdd65f225e14d30362fee6a /media-sound/soundkonverter
parentStable on ppc64; bug #217761 (diff)
downloadgentoo-2-8d91c5cb7ab50c9ee50b93fcb60f975b37506807.tar.gz
gentoo-2-8d91c5cb7ab50c9ee50b93fcb60f975b37506807.tar.bz2
gentoo-2-8d91c5cb7ab50c9ee50b93fcb60f975b37506807.zip
Fix building with GCC 4.3 wrt #219051, thanks to Holger Ackermann.
(Portage version: 2.1.5_rc6)
Diffstat (limited to 'media-sound/soundkonverter')
-rw-r--r--media-sound/soundkonverter/ChangeLog8
-rw-r--r--media-sound/soundkonverter/files/soundkonverter-0.3.6-gcc43.patch22
-rw-r--r--media-sound/soundkonverter/soundkonverter-0.3.6.ebuild5
3 files changed, 31 insertions, 4 deletions
diff --git a/media-sound/soundkonverter/ChangeLog b/media-sound/soundkonverter/ChangeLog
index aafe05583ddb..6fde4ccaf3da 100644
--- a/media-sound/soundkonverter/ChangeLog
+++ b/media-sound/soundkonverter/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/soundkonverter
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/soundkonverter/ChangeLog,v 1.4 2007/10/21 11:45:10 drac Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/soundkonverter/ChangeLog,v 1.5 2008/04/24 17:34:12 drac Exp $
+
+ 24 Apr 2008; Samuli Suominen <drac@gentoo.org>
+ +files/soundkonverter-0.3.6-gcc43.patch, soundkonverter-0.3.6.ebuild:
+ Fix building with GCC 4.3 wrt #219051, thanks to Holger Ackermann.
*soundkonverter-0.3.6 (21 Oct 2007)
diff --git a/media-sound/soundkonverter/files/soundkonverter-0.3.6-gcc43.patch b/media-sound/soundkonverter/files/soundkonverter-0.3.6-gcc43.patch
new file mode 100644
index 000000000000..fea5eaa8e018
--- /dev/null
+++ b/media-sound/soundkonverter/files/soundkonverter-0.3.6-gcc43.patch
@@ -0,0 +1,22 @@
+diff -urb src-orig/metadata/ape/taglib_monkeysaudiofiletyperesolver.cpp src/metadata/ape/taglib_monkeysaudiofiletyperesolver.cpp
+--- src-orig/metadata/ape/taglib_monkeysaudiofiletyperesolver.cpp 2008-04-23 19:46:24.000000000 +0200
++++ src/metadata/ape/taglib_monkeysaudiofiletyperesolver.cpp 2008-04-23 19:46:35.000000000 +0200
+@@ -4,6 +4,7 @@
+
+ #include "taglib_monkeysaudiofiletyperesolver.h"
+ #include <taglib/mpcfile.h>
++#include <cstring>
+
+ TagLib::File *MonkeysAudioFileTypeResolver::createFile(const char *fileName,
+ bool readProperties,
+diff -urb src-orig/metadata/optimfrog/taglib_optimfrogfiletyperesolver.cpp src/metadata/optimfrog/taglib_optimfrogfiletyperesolver.cpp
+--- src-orig/metadata/optimfrog/taglib_optimfrogfiletyperesolver.cpp 2008-04-23 19:46:24.000000000 +0200
++++ src/metadata/optimfrog/taglib_optimfrogfiletyperesolver.cpp 2008-04-23 19:47:08.000000000 +0200
+@@ -4,6 +4,7 @@
+
+ #include "taglib_optimfrogfiletyperesolver.h"
+ #include <taglib/mpcfile.h>
++#include <cstring>
+
+ TagLib::File *OptimFrogFileTypeResolver::createFile(const char *fileName,
+ bool readProperties,
diff --git a/media-sound/soundkonverter/soundkonverter-0.3.6.ebuild b/media-sound/soundkonverter/soundkonverter-0.3.6.ebuild
index 65dd2b90e04c..23a5dd6c9d87 100644
--- a/media-sound/soundkonverter/soundkonverter-0.3.6.ebuild
+++ b/media-sound/soundkonverter/soundkonverter-0.3.6.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/soundkonverter/soundkonverter-0.3.6.ebuild,v 1.2 2007/11/10 08:58:17 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/soundkonverter/soundkonverter-0.3.6.ebuild,v 1.3 2008/04/24 17:34:12 drac Exp $
inherit kde eutils qt3
@@ -27,6 +27,7 @@ need-kde 3.5
src_unpack() {
kde_src_unpack
+ epatch "${FILESDIR}"/${P}-gcc43.patch
}
src_compile() {