Ticket #17527: ffmpeg.2.diff
File ffmpeg.2.diff, 1.4 KB (added by takanori@…, 16 years ago) |
---|
-
files/patch-libavcodec_ppc_check_altivec.c.diff
1 --- libavcodec/ppc/check_altivec.c.orig 2008-12-05 20:07:27.000000000 +0900 2 +++ libavcodec/ppc/check_altivec.c 2008-12-08 05:20:52.000000000 +0900 3 @@ -23,6 +23,18 @@ 4 */ 5 6 #ifdef __APPLE__ 7 +#ifndef u_char 8 +typedef unsigned char u_char; 9 +#endif /* u_char */ 10 +#ifndef u_short 11 +typedef unsigned short u_short; 12 +#endif /* u_short */ 13 +#ifndef u_int 14 +typedef unsigned int u_int; 15 +#endif /* u_int */ 16 +#ifndef u_long 17 +typedef unsigned long u_long; 18 +#endif /* u_long */ 19 #include <sys/sysctl.h> 20 #elif __AMIGAOS4__ 21 #include <exec/exec.h> -
Portfile
34 34 homepage http://ffmpeg.mplayerhq.hu/ 35 35 master_sites 36 36 distfiles 37 patchfiles patch-libavcodec_ppc_check_altivec.c.diff 37 38 use_parallel_build yes 38 39 worksrcdir trunk 39 40 depends_build bin:svn:subversion port:gmake … … 70 71 --enable-shared --enable-pthreads \ 71 72 --disable-mmx --cc=gcc-4.0 72 73 74 test.run yes 75 73 76 default_variants +a52 74 77 75 78 # configure isn't autoconf and they do use a dep cache