diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2004-04-13 05:52:25 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2004-04-13 05:52:25 +0000 |
commit | 7c5e1a6c60569f4132bf323d9b6c9abe7f996de2 (patch) | |
tree | 83138678b8c8ca7039ad2772ce2ce1149ad5c4b6 /media-sound/mpg123 | |
parent | Stable on x86 and sparc. Fixes bug #47665. (Manifest recommit) (diff) | |
download | gentoo-2-7c5e1a6c60569f4132bf323d9b6c9abe7f996de2.tar.gz gentoo-2-7c5e1a6c60569f4132bf323d9b6c9abe7f996de2.tar.bz2 gentoo-2-7c5e1a6c60569f4132bf323d9b6c9abe7f996de2.zip |
sparc + esd build fix.
Diffstat (limited to 'media-sound/mpg123')
-rw-r--r-- | media-sound/mpg123/ChangeLog | 3 | ||||
-rw-r--r-- | media-sound/mpg123/files/mpg123-0.59s-Makefile.patch | 20 | ||||
-rw-r--r-- | media-sound/mpg123/mpg123-0.59s-r3.ebuild | 7 |
3 files changed, 27 insertions, 3 deletions
diff --git a/media-sound/mpg123/ChangeLog b/media-sound/mpg123/ChangeLog index d407a40536da..98935711d23c 100644 --- a/media-sound/mpg123/ChangeLog +++ b/media-sound/mpg123/ChangeLog @@ -1,10 +1,11 @@ # ChangeLog for media-sound/mpg123 # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/ChangeLog,v 1.38 2004/04/13 04:56:25 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/ChangeLog,v 1.39 2004/04/13 05:52:25 eradicator Exp $ 12 Apr 2004; Jeremy Huddleston <eradicator@gentoo.org> mpg123-0.59s-r3.ebuild: Added missing oss to IUSE. + sparc + esd build fix. *mpg123-0.59s-r3 (12 Apr 2004) diff --git a/media-sound/mpg123/files/mpg123-0.59s-Makefile.patch b/media-sound/mpg123/files/mpg123-0.59s-Makefile.patch new file mode 100644 index 000000000000..0dc6fd57a0d6 --- /dev/null +++ b/media-sound/mpg123/files/mpg123-0.59s-Makefile.patch @@ -0,0 +1,20 @@ +--- Makefile.orig 2004-04-12 22:41:30.819936000 -0700 ++++ Makefile 2004-04-12 22:41:51.649936000 -0700 +@@ -402,7 +402,7 @@ + OBJECTS='decode.o dct64.o audio_esd.o' \ + CFLAGS='-DREAL_IS_FLOAT -DUSE_MMAP -DOSS -DUSE_ESD -DSPARCLINUX -Wall \ + -fomit-frame-pointer -funroll-all-loops \ +- -finline-functions -ffast-math \ ++ -finline-functions -ffast-math' \ + mpg123-make + + +@@ -410,7 +410,7 @@ + $(MAKE) LDFLAGS= OBJECTS='decode.o dct64.o audio_oss.o' \ + CFLAGS='-DLINUX -DOSS -Wall \ + -fomit-frame-pointer -funroll-all-loops \ +- -finline-functions -ffast-math \ ++ -finline-functions -ffast-math' \ + -Wall -O6 -DUSE_MMAP \ + mpg123-make + diff --git a/media-sound/mpg123/mpg123-0.59s-r3.ebuild b/media-sound/mpg123/mpg123-0.59s-r3.ebuild index 294d3f5a5a81..4d4bb79ee226 100644 --- a/media-sound/mpg123/mpg123-0.59s-r3.ebuild +++ b/media-sound/mpg123/mpg123-0.59s-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/mpg123-0.59s-r3.ebuild,v 1.2 2004/04/13 04:56:25 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/mpg123-0.59s-r3.ebuild,v 1.3 2004/04/13 05:52:25 eradicator Exp $ inherit eutils @@ -42,7 +42,10 @@ src_unpack() { # amd64. It's good to understand the distinction between int and # long: ANSI says that int should be 32-bits, long should be the # native size of the CPU (usually the same as a pointer). - epatch ${FILESDIR}/mpg123-0.59s-amd64.patch + epatch ${FILESDIR}/${P}-amd64.patch + + # Fix Makefile missing quotes + epatch ${FILESDIR}/${P}-Makefile.patch # Don't force gcc since icc/ccc might be possible sed -i -e "s|CC=gcc||" Makefile |