Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 234777
Collapse All | Expand All

(-)xine-lib-1.1.15.ebuild (+6 lines)
Lines 85-90 Link Here
85
	sys-devel/libtool
85
	sys-devel/libtool
86
	nls? ( sys-devel/gettext )"
86
	nls? ( sys-devel/gettext )"
87
87
88
src_unpack() {
89
	unpack ${A}
90
	cd "${S}"
91
	epatch "$FILESDIR"/${P}-libmpeg2-vis.patch
92
}
93
88
src_compile() {
94
src_compile() {
89
	#prevent quicktime crashing
95
	#prevent quicktime crashing
90
	append-flags -frename-registers -ffunction-sections
96
	append-flags -frename-registers -ffunction-sections
(-)files/xine-lib-1.1.15-libmpeg2-vis.patch (+13 lines)
Added Link Here
1
src/libmpeg2/motion_comp_vis.c checks for ENABLE_VIS therefore we also need to check for it.
2
3
--- src/libmpeg2/motion_comp.c
4
+++ src/libmpeg2/motion_comp.c
5
@@ -68,7 +68,7 @@
6
 	mpeg2_mc = mpeg2_mc_altivec;
7
     } else
8
 #endif
9
-#ifdef ARCH_SPARC
10
+#if defined(ARCH_SPARC) && defined(ENABLE_VIS)
11
     if (mm_accel & MM_ACCEL_SPARC_VIS) {
12
 #ifdef LOG
13
 	fprintf (stderr, "Using VIS for motion compensation\n");

Return to bug 234777