]> git.pld-linux.org Git - packages/xine-lib.git/blame - xine-lib-sparc.patch
- updated for 1.1.2
[packages/xine-lib.git] / xine-lib-sparc.patch
CommitLineData
9312bf4c
JB
1--- xine-lib-1.1.2/configure.ac.orig 2006-07-11 12:28:38.744440000 +0200
2+++ xine-lib-1.1.2/configure.ac 2006-07-11 12:44:30.944440000 +0200
3@@ -1951,6 +1951,8 @@
17975aa6
AM
4 enable_ffmmx="no"
5 enable_armv4l="no"
6
7+arch_sparc="no"
8+
9 case "$host_or_hostalias" in
dfd9f00b
JB
10 i?86-* | k?-* | athlon-* | pentium*-)
11 dnl enable x86 specific parts of the code
9312bf4c 12@@ -2016,6 +2018,7 @@
dfd9f00b 13 fi
8c4c5e32 14 ;;
8c4c5e32 15 sparc*-*-linux*)
17975aa6 16+ arch_sparc="yes"
9312bf4c
JB
17 if test x$enable_vis != xno; then
18 has_vis=yes
dfd9f00b 19 fi
9312bf4c 20@@ -2066,6 +2069,7 @@
17975aa6 21 fi
9312bf4c 22 AM_CONDITIONAL(ENABLE_VIS, test x"$has_vis" = "xyes")
17975aa6
AM
23
24+AM_CONDITIONAL([ARCH_SPARC], test x"$arch_sparc" = "xyes")
25 AM_CONDITIONAL(HAVE_FFMMX, test x"$enable_ffmmx" = "xyes")
26
27 dnl ---------------------------------------------
17975aa6 28diff -urbB xine-lib-1.1.0.org/src/libffmpeg/libavcodec/sparc/Makefile.am xine-lib-1.1.0/src/libffmpeg/libavcodec/sparc/Makefile.am
8c4c5e32
AM
29--- xine-lib-1.1.0.org/src/libffmpeg/libavcodec/sparc/Makefile.am 2004-04-25 20:59:58.000000000 +0200
30+++ xine-lib-1.1.0/src/libffmpeg/libavcodec/sparc/Makefile.am 2005-09-16 12:31:05.607968352 +0200
31@@ -13,3 +13,9 @@
36e13f1d
JB
32 sparc_modules = $(libavcodec_sparc_src)
33
34 libavcodec_sparc_la_SOURCES = $(sparc_modules) $(libavcodec_sparc_dummy)
35+
8c4c5e32 36+if ARCH_SPARC
36e13f1d
JB
37+# this file needs 64 float regs (ultrasparc) and is not executed on !ultra
38+dsputil_vis.lo: dsputil_vis.c
39+ $(LTCOMPILE) -c -o $@ $< -mcpu=ultrasparc
8c4c5e32 40+endif
17975aa6 41diff -urbB xine-lib-1.1.0.org/src/libmpeg2/Makefile.am xine-lib-1.1.0/src/libmpeg2/Makefile.am
8c4c5e32
AM
42--- xine-lib-1.1.0.org/src/libmpeg2/Makefile.am 2005-04-26 00:44:22.000000000 +0200
43+++ xine-lib-1.1.0/src/libmpeg2/Makefile.am 2005-09-16 12:31:36.309301040 +0200
44@@ -31,3 +31,9 @@
36e13f1d 45
8c4c5e32
AM
46 noinst_HEADERS = vlc.h mpeg2.h xvmc.h xvmc_vld.h mpeg2_internal.h idct_mlib.h vis.h \
47 libmpeg2_accel.h
36e13f1d 48+
8c4c5e32 49+if ARCH_SPARC
36e13f1d 50+motion_comp_vis.lo: motion_comp_vis.c
08b9fab1 51+ $(LTCOMPILE) -c -o $@ $< -mcpu=ultrasparc
8c4c5e32
AM
52+endif
53+
This page took 0.165685 seconds and 4 git commands to generate.