Date: Sat, 8 Oct 2005 23:37:11 -0600 From: Greg Lewis <glewis@eyesbeyond.com> To: Huang wen hui <hwh@gddsn.org.cn> Cc: java <java@freebsd.org>, Panagiotis Astithas <past@ebs.gr> Subject: Re: jdk15 and window manager Message-ID: <20051009053711.GA15437@misty.eyesbeyond.com> In-Reply-To: <4348A3E7.3020901@gddsn.org.cn> References: <43469160.4050303@gddsn.org.cn> <4347447F.2010801@gddsn.org.cn> <43480784.3060400@ebs.gr> <20051009042244.GA14786@misty.eyesbeyond.com> <4348A3E7.3020901@gddsn.org.cn>
index | next in thread | previous in thread | raw e-mail
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@eyesbeyond.com
Eyes Beyond Web : http://www.eyesbeyond.com
Information Technology FreeBSD : glewis@FreeBSD.org
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051009053711.GA15437>
