[oe-commits] Chunrong Guo : mozjs: fix the compile error of powerpc64
git at git.openembedded.org
git at git.openembedded.org
Fri Apr 24 13:13:04 UTC 2015
Module: meta-openembedded.git
Branch: master-next
Commit: 97850cd869d18adee85492ab023a16940926b229
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=97850cd869d18adee85492ab023a16940926b229
Author: Chunrong Guo <B40290 at freescale.com>
Date: Fri Apr 24 15:15:12 2015 +0800
mozjs: fix the compile error of powerpc64
fix the following error
|error: 'jsuword' does not name a type
Signed-off-by: Chunrong Guo <B40290 at freescale.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
.../mozjs/fix-the-compile-error-of-powerpc64.patch | 18 ++++++++++++++++++
meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb | 1 +
2 files changed, 19 insertions(+)
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 0000000..43c4590
--- /dev/null
+++ b/meta-oe/recipes-extended/mozjs/mozjs/fix-the-compile-error-of-powerpc64.patch
@@ -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;
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 263e940..ac6ce4e 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 = " \
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"
More information about the Openembedded-commits
mailing list