# HG changeset patch # User michaelni # Date 1030665928 0 # Node ID 23a093d6e45046b094488be6f18695682f8c9c47 # Parent bb6a69f9d4091b5a96f9e900e4127fcbd5640791 patch by Heliodoro Tammaro - configures/builds on all darwin versions - ffserver builds on darwin (if you have the extra libraries) - builds correctly (again) on non-darwin ppc (no -faltivec in gcc-3.2) diff -r bb6a69f9d409 -r 23a093d6e450 dsputil.c --- a/dsputil.c Thu Aug 29 23:55:32 2002 +0000 +++ b/dsputil.c Fri Aug 30 00:05:28 2002 +0000 @@ -1340,8 +1340,10 @@ use_permuted_idct = 0; #endif #ifdef ARCH_POWERPC +#ifdef CONFIG_DARWIN dsputil_init_altivec(); #endif +#endif #ifdef SIMPLE_IDCT if (ff_idct == NULL) { diff -r bb6a69f9d409 -r 23a093d6e450 dsputil.h --- a/dsputil.h Thu Aug 29 23:55:32 2002 +0000 +++ b/dsputil.h Fri Aug 30 00:05:28 2002 +0000 @@ -167,7 +167,9 @@ #define emms_c() #define __align8 __attribute__ ((aligned (16))) +#ifdef CONFIG_DARWIN void dsputil_init_altivec(void); +#endif #else