[oe-commits] Armin Kuster : mozjs: fix lib soname issue
git at git.openembedded.org
git at git.openembedded.org
Wed Jul 29 15:08:13 UTC 2015
Module: meta-openembedded.git
Branch: master-next
Commit: 012e0e08e1c9298a2768cda086f18c0bf64fd0bd
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=012e0e08e1c9298a2768cda086f18c0bf64fd0bd
Author: Armin Kuster <akuster808 at gmail.com>
Date: Fri Jul 10 20:49:41 2015 -0700
mozjs: fix lib soname issue
polkit failed to build do to missing mozjs libs. The libs created are:
libmozjs-..a libmozjs-..so
this was caused by a perl script error
Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at config/milestone.pl line 58.
this script is use to determine the major and minor lib versions. I believe this
issue is do to the recent perl update.
this fixes the lib creation error and polkit build error.
I am not a perl person so this may not be the idea fix.
Signed-off-by: Armin Kuster <akuster808 at gmail.com>
Acked-By: Andreas Müller <schnitzeltony at googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
.../mozjs/mozjs/fix_milestone_compile_issue.patch | 20 ++++++++++++++++++++
meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb | 1 +
2 files changed, 21 insertions(+)
diff --git a/meta-oe/recipes-extended/mozjs/mozjs/fix_milestone_compile_issue.patch b/meta-oe/recipes-extended/mozjs/mozjs/fix_milestone_compile_issue.patch
new file mode 100644
index 0000000..abde01b
--- /dev/null
+++ b/meta-oe/recipes-extended/mozjs/mozjs/fix_milestone_compile_issue.patch
@@ -0,0 +1,20 @@
+fix the compile error do to perl update
+
+Upstream-status: Inappropriate
+
+
+Signed-of-by: Armin Kuster <akuster808 at gmail.com>
+
+Index: src/config/milestone.pl
+===================================================================
+--- src.orig/config/milestone.pl
++++ src/config/milestone.pl
+@@ -55,7 +55,7 @@ $MILESTONE_FILE = "$TOPSRCDIR/config/mi
+ #
+ my $milestone = Moz::Milestone::getOfficialMilestone($MILESTONE_FILE);
+
+-if (defined(@TEMPLATE_FILE)) {
++if (@TEMPLATE_FILE) {
+ my $TFILE;
+
+ foreach $TFILE (@TEMPLATE_FILE) {
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 dc4ce9d..6621a70 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb
+++ b/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb
@@ -12,6 +12,7 @@ SRC_URI = " \
file://0005-aarch64-64k-page.patch;patchdir=../../ \
file://0001-regenerate-configure.patch;patchdir=../../ \
file://fix-the-compile-error-of-powerpc64.patch;patchdir=../../ \
+ file://fix_milestone_compile_issue.patch \
"
SRC_URI[md5sum] = "20b6f8f1140ef6e47daa3b16965c9202"
More information about the Openembedded-commits
mailing list