jdk15 and window manager

Greg Lewis glewis at eyesbeyond.com
Sat Oct 8 22:37:25 PDT 2005


On Sun, Oct 09, 2005 at 01:00:23PM +0800, Huang wen hui wrote:
> Need more a patch:
> 
> --- ../../j2se/src/solaris/native/sun/awt/awt_LoadLibrary.c.orig Sun Oct
> 9 12:31:14 2005
> +++ ../../j2se/src/solaris/native/sun/awt/awt_LoadLibrary.c Sun Oct 9
> 12:34:47 2005
> @@ -195,8 +195,7 @@
> }
> }
> else {
> -/* XXXBSD: decide which toolkit to use */
> -#if defined(__linux)
> +#if defined(__linux) || defined(__FreeBSD__)
> /* Default AWT Toolkit on Linux is XAWT. */
> strcpy(p, "/xawt/libmawt");
> XAWT = 1;

Thanks!  We should use _ALLBSD_SOURCE rather than __FreeBSD__ though.

-- 
Greg Lewis                          Email   : glewis at eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis at FreeBSD.org


More information about the freebsd-java mailing list