summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-07-07 22:31:47 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-07-07 22:31:47 +0000
commitd3e6e516f8a313cfc4f60cd06bf2cbf208751cfc (patch)
tree2b145d7133520bcc6bb00435c6ab3a09a30c6b8a /media-sound
parentfixing a forgotten string. (Manifest recommit) (diff)
downloadgentoo-2-d3e6e516f8a313cfc4f60cd06bf2cbf208751cfc.tar.gz
gentoo-2-d3e6e516f8a313cfc4f60cd06bf2cbf208751cfc.tar.bz2
gentoo-2-d3e6e516f8a313cfc4f60cd06bf2cbf208751cfc.zip
gcc3.4 fixes close bug #56023. ~amd64
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/amp/ChangeLog6
-rw-r--r--media-sound/amp/amp-0.7.6.ebuild12
-rw-r--r--media-sound/amp/files/amp-0.7.6-gcc34.patch11
-rw-r--r--media-sound/amp/files/amp-0.7.6-gentoo.diff22
4 files changed, 26 insertions, 25 deletions
diff --git a/media-sound/amp/ChangeLog b/media-sound/amp/ChangeLog
index acab7b7a85d2..5ba25eb9b707 100644
--- a/media-sound/amp/ChangeLog
+++ b/media-sound/amp/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/amp
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/amp/ChangeLog,v 1.6 2004/07/04 09:25:50 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/amp/ChangeLog,v 1.7 2004/07/07 22:31:47 eradicator Exp $
+
+ 07 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
+ +files/amp-0.7.6-gcc34.patch, -files/amp-0.7.6-gentoo.diff:
+ gcc3.4 fixes close bug #56023. ~amd64
04 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> amp-0.7.6.ebuild:
~sparc.
diff --git a/media-sound/amp/amp-0.7.6.ebuild b/media-sound/amp/amp-0.7.6.ebuild
index 9f6d8b00bae9..4490e1a87d93 100644
--- a/media-sound/amp/amp-0.7.6.ebuild
+++ b/media-sound/amp/amp-0.7.6.ebuild
@@ -1,16 +1,24 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/amp/amp-0.7.6.ebuild,v 1.9 2004/07/04 09:25:50 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/amp/amp-0.7.6.ebuild,v 1.10 2004/07/07 22:31:47 eradicator Exp $
IUSE=""
+inherit eutils
+
DESCRIPTION="AMP - the Audio Mpeg Player"
LICENSE="as-is"
SRC_URI="http://distro.ibiblio.org/pub/Linux/distributions/slackware/slackware_source/ap/amp/${P}.tar.gz"
-KEYWORDS="x86 ~sparc"
+KEYWORDS="x86 ~sparc ~amd64"
SLOT="0"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-gcc34.patch
+}
+
src_install() {
dobin amp || die
dodoc BUGS CHANGES README TODO doc/*
diff --git a/media-sound/amp/files/amp-0.7.6-gcc34.patch b/media-sound/amp/files/amp-0.7.6-gcc34.patch
new file mode 100644
index 000000000000..6e04bebe7d9b
--- /dev/null
+++ b/media-sound/amp/files/amp-0.7.6-gcc34.patch
@@ -0,0 +1,11 @@
+diff -Naur amp-0.7.6.orig/guicontrol.c amp-0.7.6/guicontrol.c
+--- amp-0.7.6.orig/guicontrol.c 1997-08-23 04:30:51.000000000 -0700
++++ amp-0.7.6/guicontrol.c 2004-07-07 15:27:54.694249000 -0700
+@@ -376,6 +376,7 @@
+ case GETHDR_SYN: warn("oops, we're out of sync.\n");
+ break;
+ default:
++ break;
+ }
+ break;
+ }
diff --git a/media-sound/amp/files/amp-0.7.6-gentoo.diff b/media-sound/amp/files/amp-0.7.6-gentoo.diff
deleted file mode 100644
index dcef8bcae534..000000000000
--- a/media-sound/amp/files/amp-0.7.6-gentoo.diff
+++ /dev/null
@@ -1,22 +0,0 @@
-*** Makefile Sat Feb 8 17:57:02 2003
---- Makefile.new Sat Feb 8 20:33:52 2003
-***************
-*** 11,16 ****
---- 11,17 ----
- DEFINES = -DNO_BYTE_SWAPPING -DOS_Linux -DARCH_i686
- CFLAGS = -O6 -ffast-math -fomit-frame-pointer ${DEFINES} ${DEBUG}
- LDFLAGS =
-+ INSTALL=install
-
- #
- # uncomment both of these if you want profiling support
-***************
-*** 50,53 ****
---- 51,57 ----
- dep:
- gcc -MM ${DEFINES} ${DEBUG} *.c > .depend
-
-+ install: amp
-+ $(INSTALL) amp /usr/bin
-+
- #-include .depend