1 | --- mythtv-0.18.1/libs/libavcodec/libavcodec.pro..agx 2006-02-13 13:25:04.000000000 +0100 |
---|
2 | +++ mythtv-0.18.1/libs/libavcodec/libavcodec.pro 2006-02-13 13:31:32.000000000 +0100 |
---|
3 | @@ -141,3 +143,8 @@ |
---|
4 | QMAKE_LFLAGS_SHLIB += -single_module |
---|
5 | QMAKE_LFLAGS_SHLIB += -seg1addr 0xC3000000 |
---|
6 | } |
---|
7 | + |
---|
8 | +contains( TARGET_ARCH_SPARC, yes ) { |
---|
9 | + SOURCES+=sparc/dsputil_vis.c |
---|
10 | +} |
---|
11 | + |
---|
12 | --- mythtv-0.19/configure.orig 2006-02-09 16:14:44.000000000 +0100 |
---|
13 | +++ mythtv-0.19/configure 2006-02-16 22:15:15.000000000 +0100 |
---|
14 | @@ -1298,6 +1297,8 @@ |
---|
15 | fi |
---|
16 | if test x"$tune" = x"generic" -a x"$cpu" = x"x86_64" -a x"$cpu_overide" != x"yes"; then |
---|
17 | ARCHFLAGS="-march=k8" |
---|
18 | +elif test x"$tune" = x"generic" -a x"$cpu" = x"sparc64" -a x"$cpu_overide" != x"yes"; then |
---|
19 | + ARCHFLAGS="-mcpu=ultrasparc -mvis" |
---|
20 | fi |
---|
21 | |
---|
22 | if test x"$proc_error_msg" = x"yes"; then |
---|
23 | @@ -1416,7 +1416,7 @@ |
---|
24 | else |
---|
25 | |
---|
26 | # if cross compiling, cannot launch a program, so make a static guess |
---|
27 | -if test "$cpu" = "powerpc" -o "$cpu" = "mips" ; then |
---|
28 | +if test "$cpu" = "powerpc" -o "$cpu" = "mips" -o "$cpu" = "sparc" -o "$cpu"="sparc64"; then |
---|
29 | bigendian="yes" |
---|
30 | fi |
---|
31 | |
---|