Package: mozjs17 Version: 17.0.0-1 Severity: normal Tags: patch User: [email protected] Usertags: origin-ubuntu ubuntu-patch trusty
Here's a patch from openSUSE to add support for the arm64 (a.k.a. aarch64) architecture. * Apply openSUSE patch to add arm64 support. diff -Nru mozjs17-17.0.0/debian/patches/aarch64-support.patch mozjs17-17.0.0/debian/patches/aarch64-support.patch --- mozjs17-17.0.0/debian/patches/aarch64-support.patch 1970-01-01 01:00:00.000000000 +0100 +++ mozjs17-17.0.0/debian/patches/aarch64-support.patch 2014-01-03 11:31:33.000000000 +0000 @@ -0,0 +1,19 @@ +Description: Add arm64 support +Author: Andreas Schwab <[email protected]> +Origin: vendor, https://build.opensuse.org/package/view_file/openSUSE:Factory/mozjs17/mozjs-aarch64-support.patch +Forwarded: no +Last-Update: 2014-01-03 + +Index: b/mfbt/double-conversion/utils.h +=================================================================== +--- a/mfbt/double-conversion/utils.h ++++ b/mfbt/double-conversion/utils.h +@@ -58,7 +58,7 @@ + defined(__mips__) || defined(__powerpc__) || \ + defined(__sparc__) || defined(__sparc) || defined(__s390__) || \ + defined(__SH4__) || defined(__alpha__) || \ +- defined(_MIPS_ARCH_MIPS32R2) ++ defined(_MIPS_ARCH_MIPS32R2) || defined(__aarch64__) + #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 + #elif defined(_M_IX86) || defined(__i386__) || defined(__i386) + #if defined(_WIN32) diff -Nru mozjs17-17.0.0/debian/patches/series mozjs17-17.0.0/debian/patches/series --- mozjs17-17.0.0/debian/patches/series 2013-05-25 14:35:51.000000000 +0100 +++ mozjs17-17.0.0/debian/patches/series 2014-01-03 11:29:25.000000000 +0000 @@ -1 +1,2 @@ fix-soname.patch +aarch64-support.patch Thanks, -- Colin Watson [[email protected]] -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

