summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2007-07-07 21:00:46 +0000
committerSamuli Suominen <drac@gentoo.org>2007-07-07 21:00:46 +0000
commit17ab078c1f983387570c1c4da20ab06ef1d415e7 (patch)
tree2a7055850f420a797ad646b3d0919742891280b8 /media-video
parentFix some QA issues and emacs installation as per bug 184348 (diff)
downloadgentoo-2-17ab078c1f983387570c1c4da20ab06ef1d415e7.tar.gz
gentoo-2-17ab078c1f983387570c1c4da20ab06ef1d415e7.tar.bz2
gentoo-2-17ab078c1f983387570c1c4da20ab06ef1d415e7.zip
Fix building with USE altivec for bug 183687. Thanks to Laurent G. for reporting, Joe Jezak for solution, Kimura Masaru for testing.
(Portage version: 2.1.3_rc6)
Diffstat (limited to 'media-video')
-rw-r--r--media-video/ffmpeg/ChangeLog7
-rw-r--r--media-video/ffmpeg/ffmpeg-0.4.9_p20070616-r1.ebuild7
2 files changed, 11 insertions, 3 deletions
diff --git a/media-video/ffmpeg/ChangeLog b/media-video/ffmpeg/ChangeLog
index 78038f229e96..a1463de707ad 100644
--- a/media-video/ffmpeg/ChangeLog
+++ b/media-video/ffmpeg/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-video/ffmpeg
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ChangeLog,v 1.202 2007/06/26 20:21:00 lu_zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ChangeLog,v 1.203 2007/07/07 21:00:46 drac Exp $
+
+ 07 Jul 2007; Samuli Suominen <drac@gentoo.org>
+ ffmpeg-0.4.9_p20070616-r1.ebuild:
+ Fix building with USE altivec for bug 183687. Thanks to Laurent G. for
+ reporting, Joe Jezak for solution, Kimura Masaru for testing.
*ffmpeg-0.4.9_p20070616-r1 (26 Jun 2007)
diff --git a/media-video/ffmpeg/ffmpeg-0.4.9_p20070616-r1.ebuild b/media-video/ffmpeg/ffmpeg-0.4.9_p20070616-r1.ebuild
index 331b64f13081..8eb8c631f007 100644
--- a/media-video/ffmpeg/ffmpeg-0.4.9_p20070616-r1.ebuild
+++ b/media-video/ffmpeg/ffmpeg-0.4.9_p20070616-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ffmpeg-0.4.9_p20070616-r1.ebuild,v 1.1 2007/06/26 20:21:00 lu_zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ffmpeg-0.4.9_p20070616-r1.ebuild,v 1.2 2007/07/07 21:00:46 drac Exp $
inherit eutils flag-o-matic multilib toolchain-funcs
@@ -44,7 +44,7 @@ DEPEND="${DEPEND} amd64? ( >=sys-apps/portage-2.1.2 )"
src_unpack() {
unpack ${A} || die
- cd ${S}
+ cd "${S}"
#Append -DBROKEN_RELOCATIONS to build for bug 179872.
#Pretty please fix me if you can.
@@ -66,6 +66,9 @@ src_unpack() {
# To make sure the ffserver test will work
sed -i -e "s:-e debug=off::" tests/server-regression.sh
+ # Fix building with altivec for bug 183687
+ sed -i -e "s:TARGET_ALTIVEC:HAVE_ALTIVEC:" libswscale/Makefile
+
epatch "${FILESDIR}/${PN}-shared-gcc4.1.patch"
# disable non pic safe asm, bug #172877, bug #172845 and dupes
# epatch "${FILESDIR}/${PN}-0.4.9_p20070330-asmpic.patch"