summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-10-05 06:34:06 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-10-05 06:34:06 +0000
commitb0d9132865c7cd765f839bd23e775717ea846f91 (patch)
tree28e0c1e3eea2cfe8d18ec6284e18f5b4286c93ab /media-libs/libmad
parentAdd SVN snapshot. (diff)
downloadgentoo-2-b0d9132865c7cd765f839bd23e775717ea846f91.tar.gz
gentoo-2-b0d9132865c7cd765f839bd23e775717ea846f91.tar.bz2
gentoo-2-b0d9132865c7cd765f839bd23e775717ea846f91.zip
Append -fno-strict-aliasing on PPC. Thanks to Andy Botting for reporting, and for Andreas Arens and Joe Jezak for testing in bug #140422.
(Portage version: 2.1.2_pre2-r3)
Diffstat (limited to 'media-libs/libmad')
-rw-r--r--media-libs/libmad/ChangeLog7
-rw-r--r--media-libs/libmad/libmad-0.15.1b-r1.ebuild6
-rw-r--r--media-libs/libmad/libmad-0.15.1b.ebuild14
3 files changed, 18 insertions, 9 deletions
diff --git a/media-libs/libmad/ChangeLog b/media-libs/libmad/ChangeLog
index 7c9782e1e7f8..83a01d5f4abd 100644
--- a/media-libs/libmad/ChangeLog
+++ b/media-libs/libmad/ChangeLog
@@ -1,11 +1,16 @@
# ChangeLog for media-libs/libmad
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmad/ChangeLog,v 1.39 2006/10/04 17:37:27 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmad/ChangeLog,v 1.40 2006/10/05 06:34:06 flameeyes Exp $
04 Oct 2006; Fabian Groffen <grobian@gentoo.org> libmad-0.15.1b.ebuild,
libmad-0.15.1b-r1.ebuild:
Dropped ~ppc-macos, see you in prefix.
+ 05 Oct 2006; Diego Pettenò <flameeyes@gentoo.org> libmad-0.15.1b.ebuild,
+ libmad-0.15.1b-r1.ebuild:
+ Append -fno-strict-aliasing on PPC. Thanks to Andy Botting for reporting,
+ and for Andreas Arens and Joe Jezak for testing in bug #140422.
+
24 Sep 2006; Diego Pettenò <flameeyes@gentoo.org>
libmad-0.15.1b-r1.ebuild:
Force latest version of autotools, thanks to Seemant for reporting.
diff --git a/media-libs/libmad/libmad-0.15.1b-r1.ebuild b/media-libs/libmad/libmad-0.15.1b-r1.ebuild
index 292d66b38f1e..fc7d2c930e8a 100644
--- a/media-libs/libmad/libmad-0.15.1b-r1.ebuild
+++ b/media-libs/libmad/libmad-0.15.1b-r1.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmad/libmad-0.15.1b-r1.ebuild,v 1.4 2006/10/04 17:37:27 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmad/libmad-0.15.1b-r1.ebuild,v 1.5 2006/10/05 06:34:06 flameeyes Exp $
WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"
-inherit eutils autotools libtool
+inherit eutils autotools libtool flag-o-matic
DESCRIPTION="\"M\"peg \"A\"udio \"D\"ecoder library"
HOMEPAGE="http://mad.sourceforge.net"
@@ -31,6 +31,8 @@ src_unpack() {
}
src_compile() {
+ use ppc && append-flags -fno-strict-aliasing
+
local myconf="--enable-accuracy"
# --enable-speed optimize for speed over accuracy
# --enable-accuracy optimize for accuracy over speed
diff --git a/media-libs/libmad/libmad-0.15.1b.ebuild b/media-libs/libmad/libmad-0.15.1b.ebuild
index 698db978435a..b4f82202fde2 100644
--- a/media-libs/libmad/libmad-0.15.1b.ebuild
+++ b/media-libs/libmad/libmad-0.15.1b.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmad/libmad-0.15.1b.ebuild,v 1.26 2006/10/04 17:37:27 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmad/libmad-0.15.1b.ebuild,v 1.27 2006/10/05 06:34:06 flameeyes Exp $
-inherit eutils
+inherit eutils flag-o-matic
DESCRIPTION="\"M\"peg \"A\"udio \"D\"ecoder library"
HOMEPAGE="http://mad.sourceforge.net"
@@ -22,11 +22,13 @@ src_unpack() {
}
src_compile() {
+ use ppc && append-flags -fno-strict-aliasing
+
local myconf="--enable-accuracy"
- # --enable-speed optimize for speed over accuracy
- # --enable-accuracy optimize for accuracy over speed
- # --enable-experimental enable code using the EXPERIMENTAL
- # preprocessor define
+ # --enable-speed optimize for speed over accuracy
+ # --enable-accuracy optimize for accuracy over speed
+ # --enable-experimental enable code using the EXPERIMENTAL
+ # preprocessor define
# Fix for b0rked sound on sparc64 (maybe also sparc32?)
# default/approx is also possible, uses less cpu but sounds worse