From owner-freebsd-java@FreeBSD.ORG Tue May 8 22:02:45 2007 Return-Path: X-Original-To: java@freebsd.org Delivered-To: freebsd-java@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 863E616A400; Tue, 8 May 2007 22:02:45 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 75B0413C43E; Tue, 8 May 2007 22:02:45 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 3BB9C1A4D94; Tue, 8 May 2007 15:03:27 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 6FBAF513F4; Tue, 8 May 2007 18:02:44 -0400 (EDT) Date: Tue, 8 May 2007 18:02:44 -0400 From: Kris Kennaway To: Greg Lewis Message-ID: <20070508220244.GA97493@xor.obsecurity.org> References: <1178583517.4886.11.camel@rnoland-ibm.acs.internap.com> <20070508013733.GA60985@xor.obsecurity.org> <20070508215935.GA48670@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070508215935.GA48670@misty.eyesbeyond.com> User-Agent: Mutt/1.4.2.2i Cc: java@freebsd.org, Robert Noland , kris@freebsd.org, flz@freebsd.org, Kris Kennaway Subject: Re: jdk14 vs open-motif X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 May 2007 22:02:45 -0000 On Tue, May 08, 2007 at 02:59:35PM -0700, Greg Lewis wrote: > On Mon, May 07, 2007 at 09:37:33PM -0400, Kris Kennaway wrote: > > On Mon, May 07, 2007 at 08:18:37PM -0400, Robert Noland wrote: > > > Just so this doesn't get lost, jdk14 is conflicting with open-motif... > > > > > > flz: fwiw jdk14 is broken > > > > > > c > > > -o /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun/sun.awt/awt/obj/awt_motif21.o ../../../src/solaris/native/sun/awt/awt_motif21.c > > > ../../../src/solaris/native/sun/awt/awt_motif21.c:26: error: > > > conflicting types for 'XmImGetXIC' > > > /usr/local/include/Xm/XmIm.h:92: error: previous declaration > > > of 'XmImGetXIC' was here > > > ../../../src/solaris/native/sun/awt/awt_motif21.c:26: error: > > > conflicting types for 'XmImGetXIC' > > > /usr/local/include/Xm/XmIm.h:92: error: previous declaration > > > of 'XmImGetXIC' was here > > > > > > conflicting with open-motif > > > > Ah, thanks for tracking this down. It looks like jdk14 will have to > > learn to be less liberal in its header search path and/or become > > compatible with the open-motif port instead of (apparently) using its > > own incompatible version of these headers (maintainer CC'ed: this is > > in the context of xorg 7.2, which moves everything into /usr/local). > > Nothing to do with xorg 7.2 actually. It needs the same patch that > was applied to jdk15 to make it check for an XmVersion of 2001 _or > greater_ rather than just check for 2001. > > I can fix that. Great, thanks. Either we can wait for the xorg import into CVS or you could send the patch to flz@ for committing with the rest. Kris