summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hadaway <raker@gentoo.org>2004-04-30 03:48:34 +0000
committerNick Hadaway <raker@gentoo.org>2004-04-30 03:48:34 +0000
commit579fa576a5a4791491cd78503008edc185bb362f (patch)
treec0537e242f6ad685d49aeffa7636f8b42412a8c5 /media-plugins/mythmusic
parentStable on sparc wrt bug #46264. (Manifest recommit) (diff)
downloadgentoo-2-579fa576a5a4791491cd78503008edc185bb362f.tar.gz
gentoo-2-579fa576a5a4791491cd78503008edc185bb362f.tar.bz2
gentoo-2-579fa576a5a4791491cd78503008edc185bb362f.zip
A little fix for the goom plugin so it compiles correctly. stolen from upstream cvs.
Diffstat (limited to 'media-plugins/mythmusic')
-rw-r--r--media-plugins/mythmusic/ChangeLog7
-rw-r--r--media-plugins/mythmusic/files/asm_fix.diff12
-rw-r--r--media-plugins/mythmusic/mythmusic-0.14.ebuild7
3 files changed, 24 insertions, 2 deletions
diff --git a/media-plugins/mythmusic/ChangeLog b/media-plugins/mythmusic/ChangeLog
index 208660e6ed2b..6116c67c689a 100644
--- a/media-plugins/mythmusic/ChangeLog
+++ b/media-plugins/mythmusic/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-plugins/mythmusic
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythmusic/ChangeLog,v 1.17 2004/04/26 18:29:00 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythmusic/ChangeLog,v 1.18 2004/04/30 03:48:33 raker Exp $
+
+ 29 Apr 2004; Nick Hadaway <raker@gentoo.org> mythmusic-0.14.ebuild,
+ files/asm_fix.diff:
+ Added a fix stolen from upstream cvs to fix a little problem
+ in the goom plugin with asm.
26 Apr 2004; Aron Griffis <agriffis@gentoo.org> mythmusic-0.11.ebuild,
mythmusic-0.12.ebuild, mythmusic-0.13.ebuild, mythmusic-0.14.ebuild:
diff --git a/media-plugins/mythmusic/files/asm_fix.diff b/media-plugins/mythmusic/files/asm_fix.diff
new file mode 100644
index 000000000000..05c984bd6da8
--- /dev/null
+++ b/media-plugins/mythmusic/files/asm_fix.diff
@@ -0,0 +1,12 @@
+diff -urN mythmusic-0.14/mythmusic/goom/zoom_filter_xmmx.c mythmusic-0.14-modified/mythmusic/goom/zoom_filter_xmmx.c
+--- mythmusic-0.14/mythmusic/goom/zoom_filter_xmmx.c 2003-06-17 10:37:36.000000000 -0500
++++ mythmusic-0.14-modified/mythmusic/goom/zoom_filter_xmmx.c 2004-04-30 03:10:12.937571336 -0500
+@@ -117,7 +117,7 @@
+ "andl $15,%%eax\n"
+
+ "movd (%%ebx,%%eax,4),%%mm3\n"
+- ::"X"(precalCoef):"eax","ebx");
++ ::"m"(precalCoef):"eax","ebx");
+
+ /*
+ * extraction des coefficients...
diff --git a/media-plugins/mythmusic/mythmusic-0.14.ebuild b/media-plugins/mythmusic/mythmusic-0.14.ebuild
index c320545e2980..c7ad2f709b8a 100644
--- a/media-plugins/mythmusic/mythmusic-0.14.ebuild
+++ b/media-plugins/mythmusic/mythmusic-0.14.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-plugins/mythmusic/mythmusic-0.14.ebuild,v 1.4 2004/04/26 18:29:00 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythmusic/mythmusic-0.14.ebuild,v 1.5 2004/04/30 03:48:33 raker Exp $
inherit gcc flag-o-matic
@@ -31,6 +31,11 @@ src_unpack() {
for i in `grep -lr "usr/local" "${S}"` ; do
sed -e "s:/usr/local:/usr:" -i "${i}" || die "sed failed"
done
+
+ # This was fixed in CVS but didn't make it into 0.14
+ # There is a problem in the goom plugin
+ # 20040429 - raker@gentoo.org
+ epatch ${FILESDIR}/asm_fix.diff
}
src_compile() {