Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Mar 2005 09:18:28 -0700
From:      Greg Lewis <glewis@eyesbeyond.com>
To:        "Marc G. Fournier" <scrappy@hub.org>
Cc:        freebsd-java@freebsd.org
Subject:   Re: Building 1.5 under 4.x ...
Message-ID:  <20050322161828.GA35512@misty.eyesbeyond.com>
In-Reply-To: <20050321230703.I954@ganymede.hub.org>
References:  <20050321230703.I954@ganymede.hub.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <malloc.h>
 #endif /* __linux__ */
 #ifdef _ALLBSD_SOURCE
+#if defined(__FreeBSD__) && __FreeBSD__ < 5
+#include <inttypes.h>
+#else
 #include <stdint.h>
+#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 <inttypes.h>
+#else
 #include <stdint.h>
+#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 <stddef.h>                     /* for ptrdiff_t */
+#if defined(__FreeBSD__) && __FreeBSD__ < 5
+#include <inttypes.h>
+#else
 #include <stdint.h>                     /* for uintptr_t */
+#endif
 #elif defined(__linux__)
 #include <stdint.h>                     /* for uintptr_t */
 #include <malloc.h>                     /* for ptrdiff_t */

--ReaqsoxgOBHFXBhH--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050322161828.GA35512>