#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@…): Since cal has committed -disable-x11.patch, I assumed that I only need use -appkit-fix-for-10.5.patch. If so, there are more errors: {{{ libvo/cocoa_common.m: In function 'vo_cocoa_init': libvo/cocoa_common.m:146: error: 'NSApplicationActivationPolicyRegular' undeclared (first use in this function) libvo/cocoa_common.m:146: error: (Each undeclared identifier is reported only once libvo/cocoa_common.m:146: error: for each function it appears in.) libvo/cocoa_common.m:146: warning: no '-setActivationPolicy:' method found libvo/cocoa_common.m:146: warning: (Messages without a matching method signature libvo/cocoa_common.m:146: warning: will be assumed to return 'id' and accept libvo/cocoa_common.m:146: warning: '...' as arguments.) libvo/cocoa_common.m: In function 'vo_cocoa_uninit': libvo/cocoa_common.m:154: error: 'NSApplicationPresentationDefault' undeclared (first use in this function) libvo/cocoa_common.m:154: warning: no '-setPresentationOptions:' method found libvo/cocoa_common.m: In function '-[GLMPlayerWindow fullscreen]': libvo/cocoa_common.m:421: error: 'NSApplicationPresentationHideDock' undeclared (first use in this function) libvo/cocoa_common.m:421: error: 'NSApplicationPresentationHideMenuBar' undeclared (first use in this function) libvo/cocoa_common.m:421: warning: no '-setPresentationOptions:' method found libvo/cocoa_common.m:424: warning: 'GLMPlayerWindow' may not respond to '-setStyleMask:' libvo/cocoa_common.m:431: error: 'NSApplicationPresentationDefault' undeclared (first use in this function) libvo/cocoa_common.m:431: warning: no '-setPresentationOptions:' method found libvo/cocoa_common.m:433: warning: 'GLMPlayerWindow' may not respond to '-setStyleMask:' libvo/cocoa_common.m: In function '-[GLMPlayerWindow applicationWillBecomeActive:]': libvo/cocoa_common.m:577: error: 'NSApplicationPresentationHideDock' undeclared (first use in this function) libvo/cocoa_common.m:578: error: 'NSApplicationPresentationHideMenuBar' undeclared (first use in this function) libvo/cocoa_common.m:578: warning: no '-setPresentationOptions:' method found libvo/cocoa_common.m: In function '-[GLMPlayerWindow applicationWillResignActive:]': libvo/cocoa_common.m:585: error: 'NSApplicationPresentationDefault' undeclared (first use in this function) libvo/cocoa_common.m:585: warning: no '-setPresentationOptions:' method found make: *** [libvo/cocoa_common.o] Error 1 }}} -- Ticket URL: <https://trac.macports.org/ticket/35177#comment:17> MacPorts <http://www.macports.org/> Ports system for Mac OS