#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 cal@…): I don't know why this fails for you… `NSWindowDelegate` is defined in `/System/Library/Frameworks/AppKit.framework/Versions/C/Headers/NSWindow.h`, which should be included from `/System/Library/Frameworks/AppKit.framework/Versions/C/Headers/AppKit.h`, which should be included from `/System/Library/Frameworks/Cocoa.framework/Versions/A/Headers/Cocoa.h`, which is included from `cocoa_common.m` in line 20. (NB: I checked this in the 10.6 SDK on Lion, not against the versions shipped with Lion). Are you sure your Xcode installation is complete? Samuel, I'm attaching a patch against the Portfile that should completely disable X11 and also remove the unnecessary dependencies. Can you test whether this still builds for you? -- Ticket URL: <https://trac.macports.org/ticket/35177#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS