]> git.pld-linux.org Git - packages/xine-lib.git/blob - xine-lib-sparc.patch
- fix ksh/autoconf 2.60 issues
[packages/xine-lib.git] / xine-lib-sparc.patch
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 @@
4  enable_ffmmx="no"
5  enable_armv4l="no"
6  
7 +arch_sparc="no"
8 +
9  case "$host_or_hostalias" in
10    i?86-* | k?-* | athlon-* | pentium*-)
11      dnl enable x86 specific parts of the code
12 @@ -2016,6 +2018,7 @@
13      fi
14      ;;
15    sparc*-*-linux*)
16 +    arch_sparc="yes"
17      if test x$enable_vis != xno; then
18        has_vis=yes
19      fi
20 @@ -2066,6 +2069,7 @@
21  fi
22  AM_CONDITIONAL(ENABLE_VIS, test x"$has_vis" = "xyes")
23  
24 +AM_CONDITIONAL([ARCH_SPARC], test x"$arch_sparc" = "xyes")
25  AM_CONDITIONAL(HAVE_FFMMX, test x"$enable_ffmmx" = "xyes")
26  
27  dnl ---------------------------------------------
28 diff -urbB xine-lib-1.1.0.org/src/libffmpeg/libavcodec/sparc/Makefile.am xine-lib-1.1.0/src/libffmpeg/libavcodec/sparc/Makefile.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 @@
32  sparc_modules = $(libavcodec_sparc_src)
33  
34  libavcodec_sparc_la_SOURCES = $(sparc_modules) $(libavcodec_sparc_dummy)
35 +
36 +if ARCH_SPARC
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
40 +endif
41 diff -urbB xine-lib-1.1.0.org/src/libmpeg2/Makefile.am xine-lib-1.1.0/src/libmpeg2/Makefile.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 @@
45  
46  noinst_HEADERS = vlc.h mpeg2.h xvmc.h xvmc_vld.h mpeg2_internal.h idct_mlib.h vis.h \
47         libmpeg2_accel.h
48 +
49 +if ARCH_SPARC
50 +motion_comp_vis.lo: motion_comp_vis.c
51 +       $(LTCOMPILE) -c -o $@ $< -mcpu=ultrasparc
52 +endif
53 +       
This page took 0.024752 seconds and 3 git commands to generate.