#35177: mplayer2 fails to compile: conflicting types for 'Cursor' --------------------------------------+------------------------------------- Reporter: samuel.bateman@… | Owner: cal@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: haspatch | Port: mplayer2 --------------------------------------+------------------------------------- Comment(by sasoph@…): mplayer2-vo_corevideo-disable-x11.patch returns this error: {{{ libvo/cocoa_common.m:43: error: cannot find protocol declaration for 'NSWindowDelegate' libvo/cocoa_common.m: In function 'vo_cocoa_init': libvo/cocoa_common.m:142: error: 'NSApplicationActivationPolicyRegular' undeclared (first use in this function) libvo/cocoa_common.m:142: error: (Each undeclared identifier is reported only once libvo/cocoa_common.m:142: error: for each function it appears in.) libvo/cocoa_common.m:142: warning: no '-setActivationPolicy:' method found libvo/cocoa_common.m:142: warning: (Messages without a matching method signature libvo/cocoa_common.m:142: warning: will be assumed to return 'id' and accept libvo/cocoa_common.m:142: warning: '...' as arguments.) libvo/cocoa_common.m: In function 'vo_cocoa_uninit': libvo/cocoa_common.m:150: error: 'NSApplicationPresentationDefault' undeclared (first use in this function) libvo/cocoa_common.m:150: warning: no '-setPresentationOptions:' method found libvo/cocoa_common.m: In function '-[GLMPlayerWindow fullscreen]': libvo/cocoa_common.m:417: error: 'NSApplicationPresentationHideDock' undeclared (first use in this function) libvo/cocoa_common.m:417: error: 'NSApplicationPresentationHideMenuBar' undeclared (first use in this function) libvo/cocoa_common.m:417: warning: no '-setPresentationOptions:' method found libvo/cocoa_common.m:420: warning: 'GLMPlayerWindow' may not respond to '-setStyleMask:' libvo/cocoa_common.m:427: error: 'NSApplicationPresentationDefault' undeclared (first use in this function) libvo/cocoa_common.m:427: warning: no '-setPresentationOptions:' method found libvo/cocoa_common.m:429: warning: 'GLMPlayerWindow' may not respond to '-setStyleMask:' libvo/cocoa_common.m: In function '-[GLMPlayerWindow applicationWillBecomeActive:]': libvo/cocoa_common.m:573: error: 'NSApplicationPresentationHideDock' undeclared (first use in this function) libvo/cocoa_common.m:574: error: 'NSApplicationPresentationHideMenuBar' undeclared (first use in this function) libvo/cocoa_common.m:574: warning: no '-setPresentationOptions:' method found libvo/cocoa_common.m: In function '-[GLMPlayerWindow applicationWillResignActive:]': libvo/cocoa_common.m:581: error: 'NSApplicationPresentationDefault' undeclared (first use in this function) libvo/cocoa_common.m:581: warning: no '-setPresentationOptions:' method found make: *** [libvo/cocoa_common.o] Error 1 }}} -- Ticket URL: <https://trac.macports.org/ticket/35177#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS