fix endianness on arm. tested by, and ok kili@
This commit is contained in:
parent
dcd264a214
commit
513b069d09
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.8 2007/09/16 00:27:06 merdely Exp $
|
||||
# $OpenBSD: Makefile,v 1.9 2009/02/03 22:23:19 martynas Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
@ -6,7 +6,7 @@ COMMENT= Mozilla's C implementation of JavaScript
|
||||
|
||||
V= 1.60
|
||||
DISTNAME= js-${V}
|
||||
PKGNAME= spidermonkey-${V}p2
|
||||
PKGNAME= spidermonkey-${V}p3
|
||||
SHARED_LIBS= js 2.0
|
||||
CATEGORIES= lang
|
||||
|
||||
|
13
lang/spidermonkey/patches/patch-src_jsnum_h
Normal file
13
lang/spidermonkey/patches/patch-src_jsnum_h
Normal file
@ -0,0 +1,13 @@
|
||||
$OpenBSD: patch-src_jsnum_h,v 1.1 2009/02/03 22:23:19 martynas Exp $
|
||||
--- src/jsnum.h.orig Thu Dec 9 03:32:19 2004
|
||||
+++ src/jsnum.h Tue Feb 3 03:35:58 2009
|
||||
@@ -61,7 +61,9 @@ JS_BEGIN_EXTERN_C
|
||||
*/
|
||||
|
||||
#if defined(__arm) || defined(__arm32__) || defined(__arm26__) || defined(__arm__)
|
||||
+#ifndef __OpenBSD__ /* Armel ABI */
|
||||
#define CPU_IS_ARM
|
||||
+#endif
|
||||
#endif
|
||||
|
||||
typedef union jsdpun {
|
@ -1,11 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.51 2008/12/19 11:48:26 martynas Exp $
|
||||
# $OpenBSD: Makefile,v 1.52 2009/02/03 22:22:11 martynas Exp $
|
||||
|
||||
ONLY_FOR_ARCHS= alpha amd64 arm i386 powerpc sparc64
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
COMMENT= small, simple, and powerful web browser for mobile devices
|
||||
DISTNAME= minimo-1.8.1.19
|
||||
PKGNAME= ${DISTNAME}v0
|
||||
PKGNAME= ${DISTNAME}p0v0
|
||||
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://mirrors.protection.cx/~martynas/mozilla/minimo/
|
||||
|
@ -1,7 +1,18 @@
|
||||
$OpenBSD: patch-extensions_transformiix_source_base_Double_cpp,v 1.4 2006/12/27 16:21:59 jolan Exp $
|
||||
--- extensions/transformiix/source/base/Double.cpp.orig Thu Jun 17 02:12:42 2004
|
||||
+++ extensions/transformiix/source/base/Double.cpp Sat Sep 10 09:47:31 2005
|
||||
@@ -115,17 +115,19 @@ typedef union txdpun {
|
||||
$OpenBSD: patch-extensions_transformiix_source_base_Double_cpp,v 1.5 2009/02/03 22:22:11 martynas Exp $
|
||||
--- extensions/transformiix/source/base/Double.cpp.orig Thu Jun 22 22:13:00 2006
|
||||
+++ extensions/transformiix/source/base/Double.cpp Mon Feb 2 20:20:46 2009
|
||||
@@ -72,8 +72,10 @@ fp_except_t oldmask = fpsetmask(~allmask);
|
||||
*/
|
||||
|
||||
#if defined(__arm) || defined(__arm32__) || defined(_arm26__) || defined(__arm__)
|
||||
+#ifndef __OpenBSD__ /* Armel ABI */
|
||||
#define CPU_IS_ARM
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
#if (__GNUC__ == 2 && __GNUC_MINOR__ > 95) || __GNUC__ > 2
|
||||
/**
|
||||
@@ -115,17 +117,19 @@ typedef union txdpun {
|
||||
#define TX_DOUBLE_HI32_EXPMASK 0x7ff00000
|
||||
#define TX_DOUBLE_HI32_MANTMASK 0x000fffff
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user