diff options
author | Chris White <chriswhite@gentoo.org> | 2005-03-16 00:03:03 +0000 |
---|---|---|
committer | Chris White <chriswhite@gentoo.org> | 2005-03-16 00:03:03 +0000 |
commit | e3c895fda5f86b68306a2a45c8e22f11aba48950 (patch) | |
tree | 0889513588fc6ae18d11d163b60a1537ebaadb0d /media-video | |
parent | manifest (diff) | |
download | gentoo-2-e3c895fda5f86b68306a2a45c8e22f11aba48950.tar.gz gentoo-2-e3c895fda5f86b68306a2a45c8e22f11aba48950.tar.bz2 gentoo-2-e3c895fda5f86b68306a2a45c8e22f11aba48950.zip |
Fixed optimization logics for mips, hopefully solving bug #83633. Added gcc detection patch to make mplayer actually compile.
(Portage version: 2.0.51.19)
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/mplayer/ChangeLog | 7 | ||||
-rw-r--r-- | media-video/mplayer/files/mplayer-1.0_pre5-gcc_detection.patch | 11 | ||||
-rw-r--r-- | media-video/mplayer/mplayer-1.0_pre5-r3.ebuild | 6 |
3 files changed, 22 insertions, 2 deletions
diff --git a/media-video/mplayer/ChangeLog b/media-video/mplayer/ChangeLog index 99ff7299404d..95c573499eb8 100644 --- a/media-video/mplayer/ChangeLog +++ b/media-video/mplayer/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-video/mplayer # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/ChangeLog,v 1.276 2005/03/15 23:22:17 chriswhite Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/ChangeLog,v 1.277 2005/03/16 00:03:03 chriswhite Exp $ + + 16 Mar 2005; Chris White <chriswhite@gentoo.org> + +files/mplayer-1.0_pre5-gcc_detection.patch, mplayer-1.0_pre5-r3.ebuild: + Fixed optimization logics for mips, hopefully solving bug #83633. Added gcc + detection patch to make mplayer actually compile. 16 Mar 2005; Chris White <chriswhite@gentoo.org> mplayer-1.0_pre5-r3.ebuild: diff --git a/media-video/mplayer/files/mplayer-1.0_pre5-gcc_detection.patch b/media-video/mplayer/files/mplayer-1.0_pre5-gcc_detection.patch new file mode 100644 index 000000000000..3e5d59e4d5e1 --- /dev/null +++ b/media-video/mplayer/files/mplayer-1.0_pre5-gcc_detection.patch @@ -0,0 +1,11 @@ +--- configure.old 2005-03-16 08:19:07.000000000 +0900 ++++ configure 2005-03-16 08:19:43.000000000 +0900 +@@ -514,7 +514,7 @@ + for _cc in "$_cc" gcc gcc-3.3 gcc-3.2 gcc-3.1 gcc3 gcc-3.0 cc ; do + echocheck "$_cc version" + cc_name=`( $_cc -v ) 2>&1 | tail -n 1 | cut -d ' ' -f 1` +- cc_version=`( $_cc -dumpversion ) 2>&1` ++ cc_version=`( $_cc -dumpversion ) 2>&1 | cut -f1,2 -d.` + if test "$?" -gt 0; then + cc_version="not found" + fi diff --git a/media-video/mplayer/mplayer-1.0_pre5-r3.ebuild b/media-video/mplayer/mplayer-1.0_pre5-r3.ebuild index 7eb161d0f37f..145dd8a2a2b9 100644 --- a/media-video/mplayer/mplayer-1.0_pre5-r3.ebuild +++ b/media-video/mplayer/mplayer-1.0_pre5-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/mplayer-1.0_pre5-r3.ebuild,v 1.17 2005/03/15 23:22:17 chriswhite Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/mplayer-1.0_pre5-r3.ebuild,v 1.18 2005/03/16 00:03:03 chriswhite Exp $ inherit eutils flag-o-matic kmod @@ -165,6 +165,8 @@ src_unpack() { # Doesn't break if bio2jack is in epatch ${FILESDIR}/${P}-bio2jack.patch + + epatch ${FILESDIR}/${P}-gcc_detection.patch } src_compile() { @@ -173,6 +175,8 @@ src_compile() { strip-flags + use mips && replace-flags -O? -O1 + local myconf= ################ #Optional features# |