[43269] trunk/dports/multimedia/ffmpeg/files/ patch-libavcodec_ppc_check_altivec.c.diff

devans at macports.org devans at macports.org
Sun Dec 7 17:35:39 PST 2008


Revision: 43269
          http://trac.macports.org/changeset/43269
Author:   devans at macports.org
Date:     2008-12-07 17:35:38 -0800 (Sun, 07 Dec 2008)
Log Message:
-----------
ffmpeg: add patch file missed in r43268.

Added Paths:
-----------
    trunk/dports/multimedia/ffmpeg/files/patch-libavcodec_ppc_check_altivec.c.diff

Added: trunk/dports/multimedia/ffmpeg/files/patch-libavcodec_ppc_check_altivec.c.diff
===================================================================
--- trunk/dports/multimedia/ffmpeg/files/patch-libavcodec_ppc_check_altivec.c.diff	                        (rev 0)
+++ trunk/dports/multimedia/ffmpeg/files/patch-libavcodec_ppc_check_altivec.c.diff	2008-12-08 01:35:38 UTC (rev 43269)
@@ -0,0 +1,21 @@
+--- libavcodec/ppc/check_altivec.c.orig	2008-12-05 20:07:27.000000000 +0900
++++ libavcodec/ppc/check_altivec.c	2008-12-08 05:20:52.000000000 +0900
+@@ -23,6 +23,18 @@
+  */
+ 
+ #ifdef __APPLE__
++#ifndef u_char
++typedef unsigned char           u_char;
++#endif /* u_char */
++#ifndef u_short
++typedef unsigned short          u_short;
++#endif /* u_short */
++#ifndef u_int
++typedef unsigned int            u_int;
++#endif /* u_int */
++#ifndef u_long
++typedef unsigned long           u_long;
++#endif /* u_long */
+ #include <sys/sysctl.h>
+ #elif __AMIGAOS4__
+ #include <exec/exec.h>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081207/6715e2aa/attachment.html>


More information about the macports-changes mailing list