1 diff -ru liboil.orig/configure liboil/configure
2 --- liboil.orig/configure 2009-04-13 16:30:02.000000000 +0200
3 +++ liboil/configure 2009-04-13 16:30:58.000000000 +0200
4 @@ -11928,6 +11928,11 @@
5 HAVE_GCC_ASM_POWERPC_FPU_FALSE=
8 +if test "$build_os-$host_cpu" = "darwin9-powerpc" ; then
9 + cat >>confdefs.h <<\_ACEOF
10 + #define HAVE_SYMBOL_UNDERSCORE 1
14 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
15 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
16 diff -ru liboil.orig/examples/videoscale/vs_image.h liboil/examples/videoscale/vs_image.h
17 --- liboil.orig/examples/videoscale/vs_image.h 2009-04-13 16:30:03.000000000 +0200
18 +++ liboil/examples/videoscale/vs_image.h 2009-04-13 16:56:56.000000000 +0200
20 #ifndef __VS_IMAGE_H__
21 #define __VS_IMAGE_H__
24 #include <liboil/liboil-stdint.h>
26 typedef struct _VSImage VSImage;
27 diff -ru liboil.orig/examples/videoscale/vs_scanline.h liboil/examples/videoscale/vs_scanline.h
28 --- liboil.orig/examples/videoscale/vs_scanline.h 2009-04-13 16:30:03.000000000 +0200
29 +++ liboil/examples/videoscale/vs_scanline.h 2009-04-13 16:57:24.000000000 +0200
31 #ifndef __VS_SCANLINE_H__
32 #define __VS_SCANLINE_H__
35 #include <liboil/liboil-stdint.h>
37 void vs_scanline_downsample_Y (uint8_t *dest, uint8_t *src, int n);
38 diff -ru liboil.orig/liboil/c/wavelet.c liboil/liboil/c/wavelet.c
39 --- liboil.orig/liboil/c/wavelet.c 2009-04-13 16:30:03.000000000 +0200
40 +++ liboil/liboil/c/wavelet.c 2009-04-13 16:48:24.000000000 +0200
43 #include <liboil/liboilfunction.h>
44 #include <liboil/liboilclasses.h>
49 -multiply_and_acc_6xn_s16_u8_c (int16_t *i1, int is1, int16_t *s1,
50 - int ss1, uint8_t *s2, int ss2, int n)
51 +void multiply_and_acc_6xn_s16_u8_c (int16_t *i1, int is1, int16_t *s1, int ss1, uint8_t *s2, int ss2, int n)
55 diff -ru liboil.orig/liboil/liboilfuncs.h liboil/liboil/liboilfuncs.h
56 --- liboil.orig/liboil/liboilfuncs.h 2009-04-13 16:30:03.000000000 +0200
57 +++ liboil/liboil/liboilfuncs.h 2009-04-13 16:50:35.000000000 +0200
59 #ifndef _LIBOIL_FUNCS_H_
60 #define _LIBOIL_FUNCS_H_
63 #include <liboil/liboiltypes.h>
66 diff -ru liboil.orig/liboil/ref/addc.c liboil/liboil/ref/addc.c
67 --- liboil.orig/liboil/ref/addc.c 2009-04-13 16:30:03.000000000 +0200
68 +++ liboil/liboil/ref/addc.c 2009-04-13 16:49:57.000000000 +0200
72 #include <liboil/liboilfunction.h>
73 #include <liboil/liboiltest.h>
74 #include <liboil/liboilrandom.h>