summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Brinkmann <luckyduck@gentoo.org>2005-04-04 17:00:34 +0000
committerJan Brinkmann <luckyduck@gentoo.org>2005-04-04 17:00:34 +0000
commitc4feb20728fc6d54832422a7b23913a0a5fcfa3b (patch)
treeb738338b814eada84fb356967a8359db14d449a5 /media-sound/splay
parentdigest recommit (diff)
downloadgentoo-2-c4feb20728fc6d54832422a7b23913a0a5fcfa3b.tar.gz
gentoo-2-c4feb20728fc6d54832422a7b23913a0a5fcfa3b.tar.bz2
gentoo-2-c4feb20728fc6d54832422a7b23913a0a5fcfa3b.zip
added patch to fix compilation problems if an id3lib is installed. fixes #87597
(Portage version: 2.0.51.19)
Diffstat (limited to 'media-sound/splay')
-rw-r--r--media-sound/splay/ChangeLog9
-rw-r--r--media-sound/splay/Manifest5
-rw-r--r--media-sound/splay/files/splay-0.9.5.2-external-id3lib.diff17
-rw-r--r--media-sound/splay/splay-0.9.5.2.ebuild16
4 files changed, 38 insertions, 9 deletions
diff --git a/media-sound/splay/ChangeLog b/media-sound/splay/ChangeLog
index 17bc955ce9f5..3ca627cf79d1 100644
--- a/media-sound/splay/ChangeLog
+++ b/media-sound/splay/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/splay
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/splay/ChangeLog,v 1.9 2004/09/14 07:43:59 eradicator Exp $
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/splay/ChangeLog,v 1.10 2005/04/04 17:00:34 luckyduck Exp $
+
+ 04 Apr 2005; Jan Brinkmann <luckyduck@gentoo.org>
+ +files/splay-0.9.5.2-external-id3lib.diff, splay-0.9.5.2.ebuild:
+ added patch to fix compilation problems if an id3lib is installed.
+ fixes #87597
14 Sep 2004; Jeremy Huddleston <eradicator@gentoo.org> splay-0.9.5.2.ebuild:
Stable amd64.
diff --git a/media-sound/splay/Manifest b/media-sound/splay/Manifest
index 7adca1733c8d..c135039db253 100644
--- a/media-sound/splay/Manifest
+++ b/media-sound/splay/Manifest
@@ -1,4 +1,5 @@
-MD5 ca5be3e35f5c71027ef9387deeb70c7c ChangeLog 791
+MD5 a4a6a42083b94cbb3bb87ea8c158d92d splay-0.9.5.2.ebuild 955
+MD5 8b43860aa13e5a9935fbdc6b6a8e9d4d ChangeLog 996
MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
-MD5 8f73e2555b53183889ea8d4669c676fc splay-0.9.5.2.ebuild 966
MD5 2dfdb702aadb0c285c3bbeb861a81810 files/digest-splay-0.9.5.2 65
+MD5 79fd2bcd5390d2bf54d6e7fabd2fc367 files/splay-0.9.5.2-external-id3lib.diff 618
diff --git a/media-sound/splay/files/splay-0.9.5.2-external-id3lib.diff b/media-sound/splay/files/splay-0.9.5.2-external-id3lib.diff
new file mode 100644
index 000000000000..603901868e6f
--- /dev/null
+++ b/media-sound/splay/files/splay-0.9.5.2-external-id3lib.diff
@@ -0,0 +1,17 @@
+--- splay.cc~ 2005-04-03 19:56:37.000000000 -0300
++++ splay.cc 2005-04-03 19:58:24.000000000 -0300
+@@ -184,9 +184,11 @@
+ delete mytag;
+
+ }
+- catch(ID3_Error &err){
+- cout << err.GetErrorFile() << " (" << err.GetErrorLine() << "): "
+- << err.GetErrorType() << ": " << err.GetErrorDesc() << endl;
++// catch(ID3_Error &err){
++ catch(...){
++ cout << "Error found (GetError functions disabled)" << endl;
++// cout << err.GetErrorFile() << " (" << err.GetErrorLine() << "): "
++// << err.GetErrorType() << ": " << err.GetErrorDesc() << endl;
+ }
+ #endif /* HAVE_LIBID3 */
+ }
diff --git a/media-sound/splay/splay-0.9.5.2.ebuild b/media-sound/splay/splay-0.9.5.2.ebuild
index 47261eb4d632..307acfa49153 100644
--- a/media-sound/splay/splay-0.9.5.2.ebuild
+++ b/media-sound/splay/splay-0.9.5.2.ebuild
@@ -1,13 +1,13 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/splay/splay-0.9.5.2.ebuild,v 1.12 2004/09/14 07:43:59 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/splay/splay-0.9.5.2.ebuild,v 1.13 2005/04/04 17:00:34 luckyduck Exp $
+
+inherit eutils
IUSE=""
DESCRIPTION="an audio player, primarily for the console"
HOMEPAGE="http://splay.sourceforge.net/"
-# Note non-standard sourceforge distribution location, so we can't use
-# mirror://sourceforge/...
SRC_URI="http://splay.sourceforge.net/tgz/${P}.tar.gz"
LICENSE="GPL-2"
@@ -16,6 +16,12 @@ KEYWORDS="x86 amd64"
DEPEND="virtual/libc"
+src_unpack() {
+ unpack ${A}
+ cd ${S}/apps
+ epatch ${FILESDIR}/${P}-external-id3lib.diff
+}
+
src_compile() {
# Force compilation to omit X support according to BUG #5856
# even when qt is present on the system.
@@ -27,5 +33,5 @@ src_compile() {
src_install() {
# Specify man-page to prevent xsplay.1 from being installed
einstall man_MANS=splay.1 || die "einstall failed"
- dodoc AUTHORS COPYING COPYING.LIB ChangeLog README README.LIB NEWS
+ dodoc AUTHORS ChangeLog README README.LIB NEWS
}