Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Oct 2005 15:49:52 -0600
From:      Greg Lewis <glewis@eyesbeyond.com>
To:        Panagiotis Astithas <past@ebs.gr>
Cc:        freebsd-java@FreeBSD.org
Subject:   Re: Java Web Start patches
Message-ID:  <20051005214952.GA9236@misty.eyesbeyond.com>
In-Reply-To: <20051005213211.GA8960@misty.eyesbeyond.com>
References:  <20051005182658.GA7109@misty.eyesbeyond.com> <43444105.9030901@ebs.gr> <20051005213211.GA8960@misty.eyesbeyond.com>

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

--/04w6evG8XlLl3ft
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Wed, Oct 05, 2005 at 03:32:11PM -0600, Greg Lewis wrote:
> Grr.  I think mutt mis-guessed the MIME type and they got pruned.
> Here they are again.

*sigh*  One more try before I give up.

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

--/04w6evG8XlLl3ft
Content-Type: text/x-patch; charset=us-ascii
Content-Disposition: attachment; filename="patch-deploy::native::msgString.c"

$FreeBSD$

--- ../../deploy/src/javaws/share/native/msgString.c	19 May 2005 19:55:19 -0000	1.2
+++ ../../deploy/src/javaws/share/native/msgString.c	5 Oct 2005 17:59:39 -0000
@@ -146,7 +146,7 @@
     if (value == NULL) {
 	value = defaultMessage;
     }
-#ifdef __OpenBSD__	/* XXXBSD: DISABLE_LOCALE */
+#if defined(__OpenBSD__) || defined(__FreeBSD__)	/* XXXBSD: DISABLE_LOCALE */
     v2 = strdup(value);
 #else
     len2 = DecodeMessage(value, wArray);

--/04w6evG8XlLl3ft
Content-Type: text/x-patch; charset=us-ascii
Content-Disposition: attachment; filename="patch-deploy::native::system_md.c"

$FreeBSD$

--- ../../deploy/src/javaws/solaris/native/system_md.c	19 May 2005 19:38:24 -0000	1.4
+++ ../../deploy/src/javaws/solaris/native/system_md.c	5 Oct 2005 17:59:39 -0000
@@ -10,7 +10,7 @@
  * unicode conversion for now at all.  It means that japanese, korean,
  * chinese, etc locales are not available.
  */
-#if defined(__OpenBSD__)
+#if defined(__OpenBSD__) || defined(__FreeBSD__)
 #define DISABLE_LOCALE 1
 #endif
 

--/04w6evG8XlLl3ft
Content-Type: text/x-patch; charset=us-ascii
Content-Disposition: attachment; filename="patch-deploy::native::system_md.h"

$FreeBSD$

--- ../../deploy/src/javaws/solaris/native/system_md.h	8 Nov 2004 22:26:54 -0000	1.1.1.1
+++ ../../deploy/src/javaws/solaris/native/system_md.h	5 Oct 2005 17:59:39 -0000
@@ -35,6 +35,23 @@
 #ifdef LINUX
 #define PLATFORM "Linux"
 #define ARCH     "i386"
+#elif _ALLBSD_SOURCE /* LINUX */
+#ifdef __FreeBSD__
+#define PLATFORM "FreeBSD"
+#elif __NetBSD__
+#define PLATFORM "NetBSD"
+#elif __OpenBSD__
+#define PLATFORM "OpenBSD"
+#elif __DragonFly__
+#define PLATFORM "DragonFly"
+#endif
+#ifdef __amd64__
+#define ARCH	"amd64"
+#elif __i386__
+#define ARCH	"i386"
+#else
+#error "Unsupported architecture"
+#endif
 #else /* LINUX */
 #define PLATFORM "SunOS"
 #ifdef __i386

--/04w6evG8XlLl3ft--



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