pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

patch to make multimedia/mplayer build on mac os x with mavericks sdk



Hello,

   This is said to be fixed upstream already, but I needed a fix. The
patched file should be Mac OS X only, so it should be sufficient as is.
The attached patch should go in multimedia/mplayer-share/patches.

   /Jan
$NetBSD$

Apparently Apple have moved things around. Explicitly include the GL headers
for Mavericks SDK.

--- libvo/vo_corevideo.h.orig   2014-06-24 11:24:53.000000000 +0000
+++ libvo/vo_corevideo.h
@@ -26,6 +26,9 @@
 #import <Cocoa/Cocoa.h>
 #import <QuartzCore/QuartzCore.h>
 #import <Carbon/Carbon.h>
+#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_9
+#import <OpenGL/gl.h>
+#endif
 
 // MPlayer OS X VO Protocol
 @protocol MPlayerOSXVOProto


Home | Main Index | Thread Index | Old Index