summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-08-16 11:37:46 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-08-16 11:37:46 +0000
commit769e8289173be30e021cbbfa4dfd9b2bed97a1d4 (patch)
tree617ccc6808e9aa6022610cbd47a7e8e4790df9db /media-libs/xine-lib/files
parentblock media-gfx/autopano-sift-C (diff)
downloadgentoo-2-769e8289173be30e021cbbfa4dfd9b2bed97a1d4.tar.gz
gentoo-2-769e8289173be30e021cbbfa4dfd9b2bed97a1d4.tar.bz2
gentoo-2-769e8289173be30e021cbbfa4dfd9b2bed97a1d4.zip
fix sparc build without vis, by Friedrich Oslage
(Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo x86_64)
Diffstat (limited to 'media-libs/xine-lib/files')
-rw-r--r--media-libs/xine-lib/files/xine-lib-1.1.15-libmpeg2-vis.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/media-libs/xine-lib/files/xine-lib-1.1.15-libmpeg2-vis.patch b/media-libs/xine-lib/files/xine-lib-1.1.15-libmpeg2-vis.patch
new file mode 100644
index 000000000000..c85fa6086d1f
--- /dev/null
+++ b/media-libs/xine-lib/files/xine-lib-1.1.15-libmpeg2-vis.patch
@@ -0,0 +1,13 @@
+src/libmpeg2/motion_comp_vis.c checks for ENABLE_VIS therefore we also need to check for it.
+
+--- src/libmpeg2/motion_comp.c
++++ src/libmpeg2/motion_comp.c
+@@ -68,7 +68,7 @@
+ mpeg2_mc = mpeg2_mc_altivec;
+ } else
+ #endif
+-#ifdef ARCH_SPARC
++#if defined(ARCH_SPARC) && defined(ENABLE_VIS)
+ if (mm_accel & MM_ACCEL_SPARC_VIS) {
+ #ifdef LOG
+ fprintf (stderr, "Using VIS for motion compensation\n");