summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/mozjs
diff options
context:
space:
mode:
authorChunrong Guo <B40290@freescale.com>2015-04-24 15:15:12 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2015-05-11 10:25:52 +0200
commit894298d9306a8aaa74ac2eff459ef343ea6d4993 (patch)
tree65a38617905b61d4b80305552d6c719556b38cf8 /meta-oe/recipes-extended/mozjs
parentf602178020a72f61c9a2583a61e6643d3296ef34 (diff)
downloadmeta-openembedded-894298d9306a8aaa74ac2eff459ef343ea6d4993.tar.gz
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: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/mozjs')
-rw-r--r--meta-oe/recipes-extended/mozjs/mozjs/fix-the-compile-error-of-powerpc64.patch18
-rw-r--r--meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb1
2 files changed, 19 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/mozjs/mozjs/fix-the-compile-error-of-powerpc64.patch b/meta-oe/recipes-extended/mozjs/mozjs/fix-the-compile-error-of-powerpc64.patch
new file mode 100644
index 000000000..43c459042
--- /dev/null
+++ b/meta-oe/recipes-extended/mozjs/mozjs/fix-the-compile-error-of-powerpc64.patch
@@ -0,0 +1,18 @@
1fix the compile error of powerpc64
2
3Upstream-status: Accepted
4
5 fix the following error
6 |error: 'jsuword' does not name a type
7
8
9--- a/js/src/jsval.hold 2015-04-24 01:15:06.692970731 -0500
10+++ b/js/src/jsval.h 2015-04-24 01:15:41.792969478 -0500
11@@ -304,7 +304,6 @@
12 int32_t i32;
13 uint32_t u32;
14 JSWhyMagic why;
15- jsuword word;
16 } payload;
17 } s;
18 double asDouble;
diff --git a/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb b/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb
index 263e9401a..ac6ce4e3b 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb
+++ b/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb
@@ -11,6 +11,7 @@ SRC_URI = " \
11 file://0004-mozbug746112-no-decommit-on-large-pages.patch;patchdir=../../ \ 11 file://0004-mozbug746112-no-decommit-on-large-pages.patch;patchdir=../../ \
12 file://0005-aarch64-64k-page.patch;patchdir=../../ \ 12 file://0005-aarch64-64k-page.patch;patchdir=../../ \
13 file://0001-regenerate-configure.patch;patchdir=../../ \ 13 file://0001-regenerate-configure.patch;patchdir=../../ \
14 file://fix-the-compile-error-of-powerpc64.patch;patchdir=../../ \
14 " 15 "
15 16
16SRC_URI[md5sum] = "20b6f8f1140ef6e47daa3b16965c9202" 17SRC_URI[md5sum] = "20b6f8f1140ef6e47daa3b16965c9202"