diff options
author | Samuli Suominen <drac@gentoo.org> | 2008-04-14 18:20:00 +0000 |
---|---|---|
committer | Samuli Suominen <drac@gentoo.org> | 2008-04-14 18:20:00 +0000 |
commit | d56c3e8f8e4ccd1e21ece2b590ef4916e3d9088e (patch) | |
tree | 67f4f42473f2a9542eeaaf625ff956022f4206c3 /media-libs/libspiff | |
parent | Stable on ppc64; bug #217408 (diff) | |
download | gentoo-2-d56c3e8f8e4ccd1e21ece2b590ef4916e3d9088e.tar.gz gentoo-2-d56c3e8f8e4ccd1e21ece2b590ef4916e3d9088e.tar.bz2 gentoo-2-d56c3e8f8e4ccd1e21ece2b590ef4916e3d9088e.zip |
Fix test suite to build with GCC 4.3.
(Portage version: 2.1.5_rc3)
Diffstat (limited to 'media-libs/libspiff')
-rw-r--r-- | media-libs/libspiff/ChangeLog | 6 | ||||
-rw-r--r-- | media-libs/libspiff/files/libspiff-0.8.3-cstring-test-suite.patch | 11 | ||||
-rw-r--r-- | media-libs/libspiff/libspiff-0.8.3.ebuild | 10 |
3 files changed, 25 insertions, 2 deletions
diff --git a/media-libs/libspiff/ChangeLog b/media-libs/libspiff/ChangeLog index 74ba77c3e839..7ad92f8b8925 100644 --- a/media-libs/libspiff/ChangeLog +++ b/media-libs/libspiff/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/libspiff # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libspiff/ChangeLog,v 1.18 2008/04/14 15:59:30 drac Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libspiff/ChangeLog,v 1.19 2008/04/14 18:19:59 drac Exp $ + + 14 Apr 2008; Samuli Suominen <drac@gentoo.org> + +files/libspiff-0.8.3-cstring-test-suite.patch, libspiff-0.8.3.ebuild: + Fix test suite to build with GCC 4.3. *libspiff-0.8.3 (14 Apr 2008) diff --git a/media-libs/libspiff/files/libspiff-0.8.3-cstring-test-suite.patch b/media-libs/libspiff/files/libspiff-0.8.3-cstring-test-suite.patch new file mode 100644 index 000000000000..4b460cff3cdc --- /dev/null +++ b/media-libs/libspiff/files/libspiff-0.8.3-cstring-test-suite.patch @@ -0,0 +1,11 @@ +diff -ur libspiff-0.8.3.orig/test/ChunkCallbackSuite.cpp libspiff-0.8.3/test/ChunkCallbackSuite.cpp +--- libspiff-0.8.3.orig/test/ChunkCallbackSuite.cpp 2007-09-17 02:43:41.000000000 +0300 ++++ libspiff-0.8.3/test/ChunkCallbackSuite.cpp 2008-04-14 21:15:18.000000000 +0300 +@@ -23,6 +23,7 @@ + #include "ChunkCallbackSuite.h"
+ #include <spiff/SpiffReader.h>
+ #include <memory>
++#include <cstring>
+ using namespace Spiff;
+ using namespace std;
+
diff --git a/media-libs/libspiff/libspiff-0.8.3.ebuild b/media-libs/libspiff/libspiff-0.8.3.ebuild index 89f07195150e..10e331cdf02d 100644 --- a/media-libs/libspiff/libspiff-0.8.3.ebuild +++ b/media-libs/libspiff/libspiff-0.8.3.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libspiff/libspiff-0.8.3.ebuild,v 1.1 2008/04/14 15:59:30 drac Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libspiff/libspiff-0.8.3.ebuild,v 1.2 2008/04/14 18:19:59 drac Exp $ + +inherit eutils DESCRIPTION="Library for XSPF playlist reading and writing" HOMEPAGE="http://libspiff.sourceforge.net" @@ -16,6 +18,12 @@ RDEPEND="dev-libs/expat DEPEND="${RDEPEND} doc? ( app-doc/doxygen )" +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-cstring-test-suite.patch +} + src_compile() { econf --disable-dependency-tracking emake || die "emake failed." |