mozjs: fix the compile error of powerpc64

fix the following error
     |error: 'jsuword' does not name a type

Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Chunrong Guo 2015-05-14 10:37:02 +08:00 committed by Armin Kuster
parent 4df9c38a3a
commit 1774deb2a0
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,18 @@
fix the compile error of powerpc64
Upstream-status: Accepted
fix the following error
|error: 'jsuword' does not name a type
--- a/js/src/jsval.hold 2015-04-24 01:15:06.692970731 -0500
+++ b/js/src/jsval.h 2015-04-24 01:15:41.792969478 -0500
@@ -304,7 +304,6 @@
int32_t i32;
uint32_t u32;
JSWhyMagic why;
- jsuword word;
} payload;
} s;
double asDouble;

View File

@ -11,6 +11,7 @@ SRC_URI = " \
file://0004-mozbug746112-no-decommit-on-large-pages.patch;patchdir=../../ \
file://0005-aarch64-64k-page.patch;patchdir=../../ \
file://0001-regenerate-configure.patch;patchdir=../../ \
file://fix-the-compile-error-of-powerpc64.patch;patchdir=../../ \
"
SRC_URI[md5sum] = "20b6f8f1140ef6e47daa3b16965c9202"