summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Brinkmann <luckyduck@gentoo.org>2005-03-21 20:01:40 +0000
committerJan Brinkmann <luckyduck@gentoo.org>2005-03-21 20:01:40 +0000
commitd2a0111148e44ac9d2a4a4a68cb1263d700b0836 (patch)
treef90deafdd197eeb3da73961e645fc89d2cf90fde /media-sound/ripperx
parentStable on ppc (diff)
downloadgentoo-2-d2a0111148e44ac9d2a4a4a68cb1263d700b0836.tar.gz
gentoo-2-d2a0111148e44ac9d2a4a4a68cb1263d700b0836.tar.bz2
gentoo-2-d2a0111148e44ac9d2a4a4a68cb1263d700b0836.zip
added gcc3.4 patch for 2.3, fixes #74766
(Portage version: 2.0.51.19)
Diffstat (limited to 'media-sound/ripperx')
-rw-r--r--media-sound/ripperx/ChangeLog6
-rw-r--r--media-sound/ripperx/files/ripperx-2.3-gcc34.patch30
-rw-r--r--media-sound/ripperx/ripperx-2.3.ebuild14
3 files changed, 44 insertions, 6 deletions
diff --git a/media-sound/ripperx/ChangeLog b/media-sound/ripperx/ChangeLog
index ff9d78496604..1107cafb8f45 100644
--- a/media-sound/ripperx/ChangeLog
+++ b/media-sound/ripperx/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/ripperx
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/ripperx/ChangeLog,v 1.16 2005/01/19 15:44:19 luckyduck Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/ripperx/ChangeLog,v 1.17 2005/03/21 20:01:40 luckyduck Exp $
+
+ 21 Mar 2005; Jan Brinkmann <luckyduck@gentoo.org>
+ +files/ripperx-2.3-gcc34.patch, ripperx-2.3.ebuild:
+ added gcc3.4 patch for 2.3, fixes #74766
*ripperx-2.6.4 (19 Jan 2005)
diff --git a/media-sound/ripperx/files/ripperx-2.3-gcc34.patch b/media-sound/ripperx/files/ripperx-2.3-gcc34.patch
new file mode 100644
index 000000000000..c64e26cf8e2f
--- /dev/null
+++ b/media-sound/ripperx/files/ripperx-2.3-gcc34.patch
@@ -0,0 +1,30 @@
+diff -urpN ../ripperX-2.3.orig/src/cddbp.c src/cddbp.c
+--- ../ripperX-2.3.orig/src/cddbp.c 2005-03-21 20:44:05.709026752 +0100
++++ src/cddbp.c 2005-03-21 20:53:55.961294768 +0100
+@@ -62,7 +62,7 @@ int cddbp_handshake( FILE *socket, const
+
+
+ int cddbp_query( FILE *socket, const char *disk_id, int tracknum,
+- long int offset[ tracknum ], int duration, int *matches,
++ long int offset[ MAX_NUM_TRACK ], int duration, int *matches,
+ char ***category_buffer, char ***title_buffer,
+ char ***id_buffer )
+ {
+@@ -244,7 +244,7 @@ void cddbp_signoff( FILE *socket )
+
+
+ int http_query( const char *server, int port, const char *URL,
+- const char *cd_id, int tracknum, long int offset[ tracknum ],
++ const char *cd_id, int tracknum, long int offset[ MAX_NUM_TRACK ],
+ int duration, int *matches,
+ char ***category_buffer, char ***title_buffer,
+ char ***id_buffer, const char *client, const char *version )
+@@ -354,7 +354,7 @@ int http_query( const char *server, int
+ }
+
+ int http_query_proxy( const char *server, int port, const char *proxy_server, int proxy_port, const char *URL,
+- const char *cd_id, int tracknum, long int offset[ tracknum ],
++ const char *cd_id, int tracknum, long int offset[ MAX_NUM_TRACK ],
+ int duration, int *matches,
+ char ***category_buffer, char ***title_buffer,
+ char ***id_buffer, const char *client, const char *version )
diff --git a/media-sound/ripperx/ripperx-2.3.ebuild b/media-sound/ripperx/ripperx-2.3.ebuild
index ce095536284b..aabdd9ed793f 100644
--- a/media-sound/ripperx/ripperx-2.3.ebuild
+++ b/media-sound/ripperx/ripperx-2.3.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/ripperx/ripperx-2.3.ebuild,v 1.13 2005/01/19 15:44:19 luckyduck Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/ripperx/ripperx-2.3.ebuild,v 1.14 2005/03/21 20:01:40 luckyduck Exp $
+
+inherit eutils
IUSE=""
@@ -16,17 +18,19 @@ DEPEND="=x11-libs/gtk+-1.2*
SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="x86 ppc"
+KEYWORDS="x86 ppc ~amd64"
src_unpack () {
unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/${P}-gcc34.patch
}
src_compile () {
- cd ${S}
- ./configure
- emake || die
+ econf || die "configure failed"
+ emake || die "make failed"
}