Revision
112751
Author
cal@macports.org
Date
2013-10-30 15:47:25 -0700 (Wed, 30 Oct 2013)

Log Message

mplayer: fix build on Mavericks by adding a missing include, #40914, openmaintainer

Modified Paths

Added Paths

Diff

Modified: trunk/dports/multimedia/MPlayer/Portfile (112750 => 112751)


--- trunk/dports/multimedia/MPlayer/Portfile	2013-10-30 22:26:25 UTC (rev 112750)
+++ trunk/dports/multimedia/MPlayer/Portfile	2013-10-30 22:47:25 UTC (rev 112751)
@@ -77,7 +77,7 @@
     --disable-libschroedinger-lavc --disable-liba52  \
     --disable-gif
 
-patchfiles configure.x11.patch
+patchfiles configure.x11.patch vo_corevideo.m.patch
 
 post-patch {
     # https://trac.macports.org/ticket/38935

Added: trunk/dports/multimedia/MPlayer/files/vo_corevideo.m.patch (0 => 112751)


--- trunk/dports/multimedia/MPlayer/files/vo_corevideo.m.patch	                        (rev 0)
+++ trunk/dports/multimedia/MPlayer/files/vo_corevideo.m.patch	2013-10-30 22:47:25 UTC (rev 112751)
@@ -0,0 +1,10 @@
+--- libvo/vo_corevideo.m.~1~   2012-05-23 16:03:07.000000000 -0400
++++ libvo/vo_corevideo.m       2013-10-30 18:25:39.000000000 -0400
+@@ -25,6 +25,7 @@
+ #include <sys/mman.h>
+ #include <unistd.h>
+ #include <CoreServices/CoreServices.h>
++#include <OpenGL/gl.h>
+ //special workaround for Apple bug #6267445
+ //(OSServices Power API disabled in OSServices.h for 64bit systems)
+ #ifndef __POWER__