ports/x11/gnustep/displaycalibrator/patches/patch-main_m

16 lines
358 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
--- main.m.orig Tue Jul 13 09:50:54 2004
+++ main.m Sat Oct 19 16:24:37 2013
@@ -1,10 +1,6 @@
#include <AppKit/AppKit.h>
-int main(int argc, char **argv)
+int main(int argc, const char *argv[])
{
- CREATE_AUTORELEASE_POOL(pool);
- [NSApplication sharedApplication];
- [NSApp run];
- DESTROY(pool);
- return 0;
+ return NSApplicationMain (argc, argv);
}