Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 20 lines 822 B view raw
1--- a/source/Irrlicht/MacOSX/CIrrDeviceMacOSX.mm 2+++ b/source/Irrlicht/MacOSX/CIrrDeviceMacOSX.mm 3@@ -39,7 +39,7 @@ 4 #include <IOKit/hidsystem/IOHIDUsageTables.h> 5 #else 6 /* The header was moved here in Mac OS X 10.1 */ 7-#include <Kernel/IOKit/hidsystem/IOHIDUsageTables.h> 8+#include <IOKit/hid/IOHIDUsageTables.h> 9 #endif 10 #include <IOKit/hid/IOHIDLib.h> 11 #include <IOKit/hid/IOHIDKeys.h> 12@@ -496,7 +496,7 @@ 13 { 14 [[NSAutoreleasePool alloc] init]; 15 [NSApplication sharedApplication]; 16- [NSApp setDelegate:(id<NSFileManagerDelegate>)[[[AppDelegate alloc] initWithDevice:this] autorelease]]; 17+ [NSApp setDelegate:(id<NSApplicationDelegate>)[[[AppDelegate alloc] initWithDevice:this] autorelease]]; 18 [NSBundle loadNibNamed:@"MainMenu" owner:[NSApp delegate]]; 19 [NSApp finishLaunching]; 20 }