Subject: pkg/30137: lang/sablevm-classpath for amd64
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Gary Duzan <gary@duzan.org>
List: pkgsrc-bugs
Date: 05/05/2005 11:40:00
>Number:         30137
>Category:       pkg
>Synopsis:       lang/sablevm-classpath for amd64
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Thu May 05 11:40:00 +0000 2005
>Originator:     Gary Duzan
>Release:        NetBSD 3.99.3
>Organization:
	Not A Lot
>Environment:
System: NetBSD capo 3.99.3 NetBSD 3.99.3 (CAPO64) #6: Sat Apr 9 21:07:15 EDT 2005 gary@capo:/src/sys/arch/amd64/compile/obj.amd64/CAPO64 amd64
Architecture: x86_64
Machine: amd64
>Description:
	lang/sablevm-classpath doesn't work on amd64
>How-To-Repeat:
	Try building it.
>Fix:
	This works well enough to get a basic test going, but I
	make no claims as to absolute correctness. It is a

Index: distinfo
===================================================================
RCS file: /usr2/netbsd-cvs/pkgsrc/lang/sablevm-classpath/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo	30 Apr 2004 21:12:55 -0000	1.2
+++ distinfo	24 Jan 2005 12:17:36 -0000
@@ -2,3 +2,4 @@
 
 SHA1 (sablevm-classpath-1.1.3.tar.gz) = 938e79337c6825568b7b4a950c5f8d73ee8754c5
 Size (sablevm-classpath-1.1.3.tar.gz) = 3677493 bytes
+SHA1 (patch-aa) = 2f86a2d339eb1f4d9e7c2cb70cb40d030e896ab4
Index: patches/patch-aa
===================================================================
RCS file: patches/patch-aa
diff -N patches/patch-aa
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-aa	24 Jan 2005 12:17:29 -0000
@@ -0,0 +1,13 @@
+--- native/fdlibm/ieeefp.h.orig	2005-01-24 07:07:27.000000000 -0500
++++ native/fdlibm/ieeefp.h	2005-01-24 07:12:48.000000000 -0500
+@@ -59,6 +59,10 @@
+ #define __IEEE_LITTLE_ENDIAN
+ #endif
+ 
++#ifdef __x86_64__
++#define __IEEE_LITTLE_ENDIAN
++#endif
++
+ #ifdef __i960__
+ #define __IEEE_LITTLE_ENDIAN
+ #endif