Revision
112753
Author
cal@macports.org
Date
2013-10-30 15:57:33 -0700 (Wed, 30 Oct 2013)

Log Message

mplayer-devel: fix build on Mavericks, closes #40914, openmaintainer, patch courtesy of pmetzger

Modified Paths

Added Paths

Diff

Modified: trunk/dports/multimedia/mplayer-devel/Portfile (112752 => 112753)


--- trunk/dports/multimedia/mplayer-devel/Portfile	2013-10-30 22:48:17 UTC (rev 112752)
+++ trunk/dports/multimedia/mplayer-devel/Portfile	2013-10-30 22:57:33 UTC (rev 112753)
@@ -88,7 +88,7 @@
     --disable-libschroedinger-lavc --disable-liba52  \
     --disable-gif
 
-patchfiles configure.x11.patch configure.vorbis.patch
+patchfiles configure.x11.patch configure.vorbis.patch vo_corevideo.m.patch
 
 post-patch {
     # https://trac.macports.org/ticket/38935

Added: trunk/dports/multimedia/mplayer-devel/files/vo_corevideo.m.patch (0 => 112753)


--- trunk/dports/multimedia/mplayer-devel/files/vo_corevideo.m.patch	                        (rev 0)
+++ trunk/dports/multimedia/mplayer-devel/files/vo_corevideo.m.patch	2013-10-30 22:57:33 UTC (rev 112753)
@@ -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__