On Mac OS X, if we have MacPorts installed, the GNU versions of utilities may take precedence over BSD versions. Particularly, there may be an issue with GNU split, which doesn't accept -p argument. Corrected.
If we're running Mac OS X 10.6, make sure compiler warnings are non-fatal
If we're using Mac OS X 10.6 as a build platform, certain features (particularly, in Cocoa AWT) will be unavailable. For now, just make the native code throw an UnsupportedOperationException.
Whenever there's a failure applying a particular patch, make sure subsequent patches are still attempted.
sun.awt.CGraphicsDevice#nativeGetScaleFactor() is invoked, particularly, when sun.awt.CGraphicsEnvironment class is loaded. So unless we're fine with a completely headless environment, it's better to have #nativeGetScaleFactor() always returning 1.0f
Reimplemented sun.lwawt.macosx.CPlatformView#nativeGetLocationOnScreen() using 10.6 API. Now, AWT works.
Merge pull request #15 from unix-junkie/master

Changes necessary to re-enable building on Mac OS X 10.6