summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2004-06-17 16:21:07 +0000
committerLuca Barbato <lu_zero@gentoo.org>2004-06-17 16:21:07 +0000
commite759fc545ce9559974a20e110b8e185d7c2e8ed3 (patch)
tree9ffac8922787cd096ef53fd77a75d925d7470b90 /media-video
parentThe hotplug script should work for kernel >= 2.6.6 now (Manifest recommit) (diff)
downloadgentoo-2-e759fc545ce9559974a20e110b8e185d7c2e8ed3.tar.gz
gentoo-2-e759fc545ce9559974a20e110b8e185d7c2e8ed3.tar.bz2
gentoo-2-e759fc545ce9559974a20e110b8e185d7c2e8ed3.zip
gcc-3.4 fix
Diffstat (limited to 'media-video')
-rw-r--r--media-video/mplayer/ChangeLog6
-rw-r--r--media-video/mplayer/files/mplayer-1.0_pre4-altivec-gcc34.patch15
-rw-r--r--media-video/mplayer/mplayer-1.0_pre4-r4.ebuild4
3 files changed, 22 insertions, 3 deletions
diff --git a/media-video/mplayer/ChangeLog b/media-video/mplayer/ChangeLog
index d7544970104e..103e7c16505e 100644
--- a/media-video/mplayer/ChangeLog
+++ b/media-video/mplayer/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-video/mplayer
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/ChangeLog,v 1.146 2004/06/16 20:13:39 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/ChangeLog,v 1.147 2004/06/17 16:21:07 lu_zero Exp $
+
+ 17 Jun 2004; Luca Barbato <lu_zero@gentoo.org>
+ +files/mplayer-1.0_pre4-altivec-gcc34.patch, mplayer-1.0_pre4-r4.ebuild:
+ gcc-3.4 altivec fix
16 Jun 2004; Martin Schlemmer <azarah@gentoo.org>
mplayer-1.0_pre4-r4.ebuild:
diff --git a/media-video/mplayer/files/mplayer-1.0_pre4-altivec-gcc34.patch b/media-video/mplayer/files/mplayer-1.0_pre4-altivec-gcc34.patch
new file mode 100644
index 000000000000..5dbdf2da1a01
--- /dev/null
+++ b/media-video/mplayer/files/mplayer-1.0_pre4-altivec-gcc34.patch
@@ -0,0 +1,15 @@
+diff -ruN MPlayer-1.0pre4.orig/postproc/swscale_altivec_template.c MPlayer-1.0pre4/postproc/swscale_altivec_template.c
+--- MPlayer-1.0pre4.orig/postproc/swscale_altivec_template.c 2004-06-17 12:44:17.139771408 +0200
++++ MPlayer-1.0pre4/postproc/swscale_altivec_template.c 2004-06-17 12:45:47.890975128 +0200
+@@ -27,9 +27,9 @@
+ (vector unsigned int)(19, 19, 19, 19);
+ #else
+ static const vector signed int vzero =
+- (vector signed int){0,0,0,0};
++ (vector const signed int){0,0,0,0};
+ static const vector unsigned int altivec_vectorShiftInt19 =
+- (vector unsigned int){19, 19, 19, 19};
++ (vector const unsigned int){19, 19, 19, 19};
+
+ #endif
+
diff --git a/media-video/mplayer/mplayer-1.0_pre4-r4.ebuild b/media-video/mplayer/mplayer-1.0_pre4-r4.ebuild
index 3cf1d871da43..bcc950f2d042 100644
--- a/media-video/mplayer/mplayer-1.0_pre4-r4.ebuild
+++ b/media-video/mplayer/mplayer-1.0_pre4-r4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/mplayer-1.0_pre4-r4.ebuild,v 1.10 2004/06/16 20:13:39 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/mplayer-1.0_pre4-r4.ebuild,v 1.11 2004/06/17 16:21:07 lu_zero Exp $
inherit eutils flag-o-matic kmod
@@ -112,7 +112,7 @@ src_unpack() {
# GCC 3.4 fixes
epatch ${FILESDIR}/${P}-alsa-gcc34.patch
-
+ epatch ${FILESDIR}/${P}-altivec-gcc34.patch
# fixes for mga driver with kernel 2.6
if use matrox; then
get_kernel_info