]> git.pld-linux.org Git - packages/xine-lib.git/blame - xine-lib-sparc.patch
- fix building with autoconf 2.62 / libtool 2.2.x
[packages/xine-lib.git] / xine-lib-sparc.patch
CommitLineData
52431a16
JB
1--- xine-lib-1.1.4/configure.ac.orig 2007-02-01 12:35:08.818134000 +0100
2+++ xine-lib-1.1.4/configure.ac 2007-02-01 12:36:20.068134000 +0100
3@@ -2194,6 +2194,8 @@
4 arch_x86="no"
17975aa6
AM
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
52431a16 12@@ -2247,6 +2249,7 @@
dfd9f00b 13 fi
8c4c5e32 14 ;;
8c4c5e32 15 sparc*-*-linux*)
17975aa6 16+ arch_sparc="yes"
52431a16 17 if test "x$enable_vis" != xno; then
9312bf4c 18 has_vis=yes
dfd9f00b 19 fi
52431a16
JB
20@@ -2294,6 +2297,7 @@
21 esac
17975aa6 22 fi
52431a16 23 AM_CONDITIONAL(ENABLE_VIS, test "x$has_vis" = "xyes")
17975aa6 24+AM_CONDITIONAL([ARCH_SPARC], test x"$arch_sparc" = "xyes")
17975aa6 25
52431a16
JB
26 if test "x$arch_x86" = "xyes"; then
27 AC_DEFINE_UNQUOTED(ARCH_X86,,[Define this if you're running x86 architecture])
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.096919 seconds and 4 git commands to generate.