Ticket #17527: ffmpeg.2.diff

File ffmpeg.2.diff, 1.4 KB (added by takanori@…, 15 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

     
    3434homepage        http://ffmpeg.mplayerhq.hu/
    3535master_sites
    3636distfiles
     37patchfiles      patch-libavcodec_ppc_check_altivec.c.diff
    3738use_parallel_build  yes
    3839worksrcdir     trunk
    3940depends_build  bin:svn:subversion port:gmake
     
    7071                --enable-shared --enable-pthreads \
    7172                --disable-mmx --cc=gcc-4.0
    7273
     74test.run        yes
     75
    7376default_variants        +a52
    7477
    7578# configure isn't autoconf and they do use a dep cache