diff options
author | Armin Kuster <akuster808@gmail.com> | 2015-07-10 20:49:41 -0700 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-07-30 21:24:30 +0200 |
commit | f2ead8e30870388a65b3a7ffbd4e5e1a929bdcda (patch) | |
tree | e073ebdfb8ccffc51d4a38ebd374f4f82e68a9be /meta-oe | |
parent | 7db2e2097a2b724612f13d8762446ddd68484d1e (diff) | |
download | meta-openembedded-f2ead8e30870388a65b3a7ffbd4e5e1a929bdcda.tar.gz |
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@gmail.com>
Acked-By: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-extended/mozjs/mozjs/fix_milestone_compile_issue.patch | 20 | ||||
-rw-r--r-- | meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb | 1 |
2 files changed, 21 insertions, 0 deletions
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 000000000..abde01bcd --- /dev/null +++ b/meta-oe/recipes-extended/mozjs/mozjs/fix_milestone_compile_issue.patch | |||
@@ -0,0 +1,20 @@ | |||
1 | fix the compile error do to perl update | ||
2 | |||
3 | Upstream-status: Inappropriate | ||
4 | |||
5 | |||
6 | Signed-of-by: Armin Kuster <akuster808@gmail.com> | ||
7 | |||
8 | Index: src/config/milestone.pl | ||
9 | =================================================================== | ||
10 | --- src.orig/config/milestone.pl | ||
11 | +++ src/config/milestone.pl | ||
12 | @@ -55,7 +55,7 @@ $MILESTONE_FILE = "$TOPSRCDIR/config/mi | ||
13 | # | ||
14 | my $milestone = Moz::Milestone::getOfficialMilestone($MILESTONE_FILE); | ||
15 | |||
16 | -if (defined(@TEMPLATE_FILE)) { | ||
17 | +if (@TEMPLATE_FILE) { | ||
18 | my $TFILE; | ||
19 | |||
20 | 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 dc4ce9d0a..6621a703e 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 = " \ | |||
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 | file://fix-the-compile-error-of-powerpc64.patch;patchdir=../../ \ |
15 | file://fix_milestone_compile_issue.patch \ | ||
15 | " | 16 | " |
16 | 17 | ||
17 | SRC_URI[md5sum] = "20b6f8f1140ef6e47daa3b16965c9202" | 18 | SRC_URI[md5sum] = "20b6f8f1140ef6e47daa3b16965c9202" |