summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Kursawe <phosphan@gentoo.org>2004-03-17 15:36:46 +0000
committerPatrick Kursawe <phosphan@gentoo.org>2004-03-17 15:36:46 +0000
commit43949487ef95ef8e9efd46f0a81c4b1d8ade45fd (patch)
treec5a29d2b4dddb70348717f34913faf81b56c97c2 /media-video/xmovie/xmovie-1.8-r4.ebuild
parentstable on sparc (Manifest recommit) (diff)
downloadgentoo-2-43949487ef95ef8e9efd46f0a81c4b1d8ade45fd.tar.gz
gentoo-2-43949487ef95ef8e9efd46f0a81c4b1d8ade45fd.tar.bz2
gentoo-2-43949487ef95ef8e9efd46f0a81c4b1d8ade45fd.zip
Fixing compile error with gcc 3.3, patch by brandy in bug #32965
Diffstat (limited to 'media-video/xmovie/xmovie-1.8-r4.ebuild')
-rw-r--r--media-video/xmovie/xmovie-1.8-r4.ebuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/media-video/xmovie/xmovie-1.8-r4.ebuild b/media-video/xmovie/xmovie-1.8-r4.ebuild
index 034b79f5272b..a559af6c1ffd 100644
--- a/media-video/xmovie/xmovie-1.8-r4.ebuild
+++ b/media-video/xmovie/xmovie-1.8-r4.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/xmovie/xmovie-1.8-r4.ebuild,v 1.5 2003/09/11 01:22:29 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/xmovie/xmovie-1.8-r4.ebuild,v 1.6 2004/03/17 15:36:46 phosphan Exp $
-inherit gcc
+inherit gcc eutils
S=${WORKDIR}/${P}
DESCRIPTION="A Player for MPEG and Quicktime movies"
@@ -23,10 +23,13 @@ KEYWORDS="x86"
src_unpack() {
unpack ${A}
+ cd ${S}
if [ `gcc-major-version` = '3' ] ;
then
# gcc3.2 fix (from bug #7227)
- cd ${S} && patch -p1 <${FILESDIR}/xmovie-gcc3-gentoo.patch || die
+ epatch ${FILESDIR}/xmovie-gcc3-gentoo.patch
+ # gcc 3.3 fix from bug #32965
+ epatch ${FILESDIR}/xmovie-1.8-gcc3.3.patch
fi
}