[MPlayer-dev-eng] [PATCH] Fix build error on OSX 10.9

Johan Andersson j at i19.se
Wed Oct 30 13:34:29 CET 2013


Hello

With latest OSX 10.9 Mavericks mplayer fail to compile becuase of:
libvo/vo_corevideo.m:472:11: error: use of undeclared identifier 'GL_BLEND'
        glEnable(GL_BLEND);
                 ^
libvo/vo_corevideo.m:473:2: warning: implicit declaration of function 'glDisable' is invalid in C99 [-Wimplicit-function-declaration]
        glDisable(GL_DEPTH_TEST);
        ^
libvo/vo_corevideo.m:473:12: error: use of undeclared identifier 'GL_DEPTH_TEST'
        glDisable(GL_DEPTH_TEST);

Here is a patch to fix it

cheers
-- 
Johan Andersson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 00-fix-complication-osx-10.9.patch
Type: text/x-diff
Size: 367 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20131030/9904a017/attachment.bin>


More information about the MPlayer-dev-eng mailing list