From owner-freebsd-java@FreeBSD.ORG Tue Mar 22 16:18:32 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BEF7616A4CE for ; Tue, 22 Mar 2005 16:18:32 +0000 (GMT) Received: from misty.eyesbeyond.com (glewis.dsl.xmission.com [166.70.56.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id A53DF43D3F for ; Tue, 22 Mar 2005 16:18:31 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.3/8.13.3) with ESMTP id j2MGITMZ035531; Tue, 22 Mar 2005 09:18:30 -0700 (MST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id j2MGITjK035530; Tue, 22 Mar 2005 09:18:29 -0700 (MST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 22 Mar 2005 09:18:28 -0700 From: Greg Lewis To: "Marc G. Fournier" Message-ID: <20050322161828.GA35512@misty.eyesbeyond.com> References: <20050321230703.I954@ganymede.hub.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="ReaqsoxgOBHFXBhH" Content-Disposition: inline In-Reply-To: <20050321230703.I954@ganymede.hub.org> User-Agent: Mutt/1.4.2.1i cc: freebsd-java@freebsd.org Subject: Re: Building 1.5 under 4.x ... X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Mar 2005 16:18:32 -0000 --ReaqsoxgOBHFXBhH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Mar 21, 2005 at 11:08:39PM -0400, Marc G. Fournier wrote: > Just trying to build it from ports, and it exits with the following ... > anything I should be doing to get past this? Use the attached patches. I'll commit them after the port freeze is over once Alexey has eyeballed them. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org --ReaqsoxgOBHFXBhH Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch-j2se::common::gdefs_md.h" $FreeBSD$ --- ../../j2se/src/solaris/native/common/gdefs_md.h.orig Sun Mar 20 22:14:34 2005 +++ ../../j2se/src/solaris/native/common/gdefs_md.h Sun Mar 20 22:15:13 2005 @@ -19,5 +19,9 @@ #include #endif /* __linux__ */ #ifdef _ALLBSD_SOURCE +#if defined(__FreeBSD__) && __FreeBSD__ < 5 +#include +#else #include +#endif #endif /* _ALLBSD_SOURCE */ --ReaqsoxgOBHFXBhH Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch-j2se::java2d::j2d_md.h" $FreeBSD$ --- ../../j2se/src/solaris/native/sun/java2d/j2d_md.h.orig Sun Mar 20 22:20:43 2005 +++ ../../j2se/src/solaris/native/sun/java2d/j2d_md.h Sun Mar 20 22:24:40 2005 @@ -14,7 +14,11 @@ * NetBSD's doesn't either, so let's do it for everyone. */ #if defined(__linux__) || defined(_ALLBSD_SOURCE) +#if defined(__FreeBSD__) && __FreeBSD__ < 5 +#include +#else #include +#endif #endif /* __linux__ || _ALLBSD_SOURCE */ typedef unsigned char jubyte; --ReaqsoxgOBHFXBhH Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch-j2se::medialib::mlib_types.h" $FreeBSD$ --- ../../j2se/src/share/native/sun/awt/medialib/mlib_types.h.orig Sun Mar 20 22:08:20 2005 +++ ../../j2se/src/share/native/sun/awt/medialib/mlib_types.h Sun Mar 20 22:08:33 2005 @@ -47,7 +47,11 @@ #if defined(_ALLBSD_SOURCE) #include /* for ptrdiff_t */ +#if defined(__FreeBSD__) && __FreeBSD__ < 5 +#include +#else #include /* for uintptr_t */ +#endif #elif defined(__linux__) #include /* for uintptr_t */ #include /* for ptrdiff_t */ --ReaqsoxgOBHFXBhH--