summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2008-04-14 18:20:00 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2008-04-14 18:20:00 +0000
commiteb7d7cbc49d3c638da81aaabace34198696688ae (patch)
tree0708a45e14e7da23984da9c4e45d1f86124166cf /media-libs
parentStable on ppc64; bug #217408 (diff)
downloadhistorical-eb7d7cbc49d3c638da81aaabace34198696688ae.tar.gz
historical-eb7d7cbc49d3c638da81aaabace34198696688ae.tar.bz2
historical-eb7d7cbc49d3c638da81aaabace34198696688ae.zip
Fix test suite to build with GCC 4.3.
Package-Manager: portage-2.1.5_rc3
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libspiff/ChangeLog6
-rw-r--r--media-libs/libspiff/Manifest5
-rw-r--r--media-libs/libspiff/files/libspiff-0.8.3-cstring-test-suite.patch11
-rw-r--r--media-libs/libspiff/libspiff-0.8.3.ebuild10
4 files changed, 28 insertions, 4 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/Manifest b/media-libs/libspiff/Manifest
index 960c7b006919..e29a22e3bda7 100644
--- a/media-libs/libspiff/Manifest
+++ b/media-libs/libspiff/Manifest
@@ -1,6 +1,7 @@
+AUX libspiff-0.8.3-cstring-test-suite.patch 448 RMD160 ae3a0df3b3896cbdd3b40c80cc4d73ef2dd3cfa2 SHA1 06959da8aa53b95e4b95f7f1a2fdcbf66b71cd32 SHA256 b5a6c5ab4770215a52c648229313be97215e75eb463b0bf451779b8f955750be
DIST libspiff-0.8.0.tar.bz2 502877 RMD160 fcfac1f2263c5aa416696ca7c1b41c1922fe3f29 SHA1 f056a8854cb66ab9dacd1d13162d79e353448f0a SHA256 81b1cf8ff8d3dd1f8c0b7390ead86192b3439875ce1516d6f786f955878f3a34
DIST libspiff-0.8.3.tar.bz2 510030 RMD160 1def8c41ad656b3fee53adbb7bb153063962448d SHA1 c07302788685490ca8aebef7536618401e204182 SHA256 8b4ebd22dcfa7511109c2f6fa9e304c2ef3acaa492d55423cdf9a6f54a2fdb22
EBUILD libspiff-0.8.0.ebuild 1027 RMD160 f5fa995b2fb913c96c0ac3a3765834f68dc2eefe SHA1 93237df4af6e82192cf467213e9888e7f62808b9 SHA256 abb95084af1733bfe8e6faf2fbdb1788ed86cf0db67d38687dfc3dde4ebb8d16
-EBUILD libspiff-0.8.3.ebuild 882 RMD160 c243db4eb01acbffb05904a2976e84a65d3b9716 SHA1 7e50c81cb5cfe613f965569212b9d3088264d5a7 SHA256 a332da4efd93d3eedfd5af1e0ee552340f01b5e91b5103a48b1cb6c486e61146
-MISC ChangeLog 2795 RMD160 108ab3bb75e9ebcee5f915c20824d67c11f584cb SHA1 780a8fa78fdabea5f7935826b43e0cd31be226df SHA256 2313ed5f837074879312fb441a847ce42918db18bb3e0a6a8794369ba7a4af32
+EBUILD libspiff-0.8.3.ebuild 992 RMD160 ea9b1a407f911ad4bb5106a00f53cc292dda8171 SHA1 e2876bfd12d4386a4c0861479759663947d477c1 SHA256 0568a7978984db6c02af839d8d94a4e0207f6499c7491a72b4ed2b24f341a8d2
+MISC ChangeLog 2958 RMD160 2b7bc91c800eac29f5c70309fadb758e1c612034 SHA1 f96a965f13ab80557832d812b269cdad1a16ae2d SHA256 a86b63c3fd7cb6f52f5f449f7b23a2cb8d1e96818f5f6ba1634625bb597f43a3
MISC metadata.xml 339 RMD160 07dae93aca43a44cce298b029e5652b682e017ff SHA1 dfd6e74c95bd519ce6c0f752f3f0e308bdfcd959 SHA256 580c5a401a0f735565b02b39de27402e3a116193bdd12349838d5799c1912d1a
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."