summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-libs/libvorbis/ChangeLog5
-rw-r--r--media-libs/libvorbis/Manifest4
-rw-r--r--media-libs/libvorbis/libvorbis-1.0.1.ebuild16
3 files changed, 18 insertions, 7 deletions
diff --git a/media-libs/libvorbis/ChangeLog b/media-libs/libvorbis/ChangeLog
index ebda32aa82c2..c183562633ef 100644
--- a/media-libs/libvorbis/ChangeLog
+++ b/media-libs/libvorbis/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-libs/libvorbis
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libvorbis/ChangeLog,v 1.22 2003/12/18 20:49:53 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libvorbis/ChangeLog,v 1.23 2003/12/26 15:42:53 mholzer Exp $
+
+ 26 Dec 2003; Martin Holzer <mholzer@gentoo.org> libvorbis-1.0.1.ebuild:
+ Fixing syntax to not apply with gcc2. Closes 36451
18 Dec 2003; Martin Holzer <mholzer@gentoo.org> libvorbis-1.0.1.ebuild:
marking stable.
diff --git a/media-libs/libvorbis/Manifest b/media-libs/libvorbis/Manifest
index dc3f308552a0..b6d76fccd8f9 100644
--- a/media-libs/libvorbis/Manifest
+++ b/media-libs/libvorbis/Manifest
@@ -1,8 +1,8 @@
MD5 6d22b16809393142dba7b108e6c9b19e libvorbis-1.0-r3.ebuild 1776
MD5 527dcfe3ce0f0b53c6b6aa8b82eb930c metadata.xml 252
MD5 355c2703c2ff4a442975de8554e1856b libvorbis-1.0-r2.ebuild 1715
-MD5 45e0a1b78d9e13b24f38b95b573f7d1d libvorbis-1.0.1.ebuild 1986
-MD5 5547ba5a1e4f693a393c3ef659261d0c ChangeLog 3615
+MD5 fc91479e14df16f2c6db1756cf3aae3c libvorbis-1.0.1.ebuild 2252
+MD5 c85657d65a944f8da3c6b62c2601d3fb ChangeLog 3743
MD5 9158fe26cf387ab2ea29cda273ddd3bb libvorbis-1.0-r4.ebuild 2167
MD5 0a0d3872bdf2c6da4e3fe5471fd3eb16 files/digest-libvorbis-1.0-r2 65
MD5 174ab9630810bce8aac9eac4f4f20247 files/libvorbis-simd.patch 28887
diff --git a/media-libs/libvorbis/libvorbis-1.0.1.ebuild b/media-libs/libvorbis/libvorbis-1.0.1.ebuild
index a3c35e639259..4b173c9cef5f 100644
--- a/media-libs/libvorbis/libvorbis-1.0.1.ebuild
+++ b/media-libs/libvorbis/libvorbis-1.0.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libvorbis/libvorbis-1.0.1.ebuild,v 1.4 2003/12/19 23:07:18 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libvorbis/libvorbis-1.0.1.ebuild,v 1.5 2003/12/26 15:42:53 mholzer Exp $
inherit libtool eutils flag-o-matic
@@ -37,6 +37,17 @@ src_unpack() {
# Fix a gcc crash. With the new atexit patch to gcc, it
# seems it do not handle -mno-ieee-fp too well.
sed -i -e "s:-mno-ieee-fp::g" configure
+
+ #got this from xine-lib
+ #fix build errors with -march/mcpu=pentium4
+ #Closes #36104
+ if [ "$COMPILER" == "gcc3" ]; then
+ if [ -n "`is-flag -march=pentium4`" -o -n "`is-flag -mcpu=pentium4`" ];
+ then
+ einfo "no-sse2 for P4"
+ append-flags -mno-sse2
+ fi
+ fi
}
src_compile() {
@@ -50,9 +61,6 @@ src_compile() {
# filter march, see bug #26463 for details
filter-flags "-march=pentium?"
- # remove sse2 support #36104
- append-flags -mno-sse2
-
./configure --prefix=/usr \
--host=${CHOST} || die