From 037ad325618b33586c1e8be978c002acf8e65d92 Mon Sep 17 00:00:00 2001 From: sthen Date: Tue, 12 Feb 2008 23:19:37 +0000 Subject: [PATCH] Thunderbird runs^W ambles on arm when it knows what ABI to use. Probably no change to !arm (and it was not previously built on arm), but bump to be sure. Adapted from martynas' diff for xulrunner. ok martynas --- mail/mozilla-thunderbird/Makefile | 6 +++--- .../patches/patch-js_src_jsnum_h | 13 +++++++++++++ 2 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 mail/mozilla-thunderbird/patches/patch-js_src_jsnum_h diff --git a/mail/mozilla-thunderbird/Makefile b/mail/mozilla-thunderbird/Makefile index a3f6f695898..72b9fe28a5c 100644 --- a/mail/mozilla-thunderbird/Makefile +++ b/mail/mozilla-thunderbird/Makefile @@ -1,13 +1,13 @@ -# $OpenBSD: Makefile,v 1.66 2008/02/04 19:52:25 jasper Exp $ +# $OpenBSD: Makefile,v 1.67 2008/02/12 23:19:37 sthen Exp $ SHARED_ONLY= Yes -ONLY_FOR_ARCHS= alpha amd64 i386 powerpc sparc sparc64 +ONLY_FOR_ARCHS= alpha amd64 arm i386 powerpc sparc sparc64 COMMENT= redesign of Mozilla's mail component VER= 2.0.0.9 DISTNAME= mozilla -PKGNAME= mozilla-thunderbird-${VER}p1 +PKGNAME= mozilla-thunderbird-${VER}p2 SO_VERSION= 13.0 # NOTE: Must bump minor version if any shlib's are removed from the # components dir to avoid pkg_add -r issues. Whenever PKGNAME gets diff --git a/mail/mozilla-thunderbird/patches/patch-js_src_jsnum_h b/mail/mozilla-thunderbird/patches/patch-js_src_jsnum_h new file mode 100644 index 00000000000..0ed5ee56949 --- /dev/null +++ b/mail/mozilla-thunderbird/patches/patch-js_src_jsnum_h @@ -0,0 +1,13 @@ +$OpenBSD: patch-js_src_jsnum_h,v 1.1 2008/02/12 23:19:37 sthen Exp $ +--- js/src/jsnum.h.orig Sun Feb 10 22:56:20 2008 ++++ js/src/jsnum.h Sun Feb 10 22:54:34 2008 +@@ -61,7 +61,9 @@ JS_BEGIN_EXTERN_C + */ + + #if defined(__arm) || defined(__arm32__) || defined(__arm26__) || defined(__arm__) ++#if !defined(__QNXNTO__) && !defined(__OpenBSD__) /* Armel ABI */ + #define CPU_IS_ARM ++#endif + #endif + + typedef union jsdpun {