diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2016-01-19 17:37:32 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-20 17:07:13 +0000 |
commit | 386064042d8980d03a38d24c49493942cfb51efb (patch) | |
tree | 231f6438bcfb67e3666603c2ec8a9514f3466866 | |
parent | ea39ad08ee995c2de3cfeaf5f453ed886ba15538 (diff) | |
download | poky-386064042d8980d03a38d24c49493942cfb51efb.tar.gz |
nss: update to 3.21
Explicitly disable tests (they were previously implicitly disabled upstream),
as they cause various architecture-specific build failures.
Add 0001-Fix-build-failure-on-opensuse-13.1.patch that fixes compilation using gcc 4.8.
(From OE-Core rev: 1cf3f0685b42ce494d7b2b327d54c9652a6de42d)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-support/nss/nss/0001-Fix-build-failure-on-opensuse-13.1.patch | 27 | ||||
-rw-r--r-- | meta/recipes-support/nss/nss_3.21.bb (renamed from meta/recipes-support/nss/nss_3.19.2.bb) | 11 |
2 files changed, 35 insertions, 3 deletions
diff --git a/meta/recipes-support/nss/nss/0001-Fix-build-failure-on-opensuse-13.1.patch b/meta/recipes-support/nss/nss/0001-Fix-build-failure-on-opensuse-13.1.patch new file mode 100644 index 0000000000..cb3ad0068e --- /dev/null +++ b/meta/recipes-support/nss/nss/0001-Fix-build-failure-on-opensuse-13.1.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From 8758c6a4508a5ca01505a8d69a269c912ce10bee Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Mon, 18 Jan 2016 18:26:16 +0000 | ||
4 | Subject: [PATCH] Fix build failure on opensuse 13.1 | ||
5 | |||
6 | Upstream-Status: Inappropriate [gcc 4.8 specific issue] | ||
7 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
8 | --- | ||
9 | nss/cmd/modutil/install-ds.h | 2 +- | ||
10 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
11 | |||
12 | diff --git a/nss/cmd/modutil/install-ds.h b/nss/cmd/modutil/install-ds.h | ||
13 | index 3a3afb3..433efe0 100644 | ||
14 | --- a/nss/cmd/modutil/install-ds.h | ||
15 | +++ b/nss/cmd/modutil/install-ds.h | ||
16 | @@ -243,7 +243,7 @@ struct Pk11Install_Info_str { | ||
17 | Pk11Install_Info* | ||
18 | Pk11Install_Info_new(); | ||
19 | void | ||
20 | -Pk11Install_Info_init(); | ||
21 | +Pk11Install_Info_init(Pk11Install_Info* _this); | ||
22 | void | ||
23 | Pk11Install_Info_delete(Pk11Install_Info* _this); | ||
24 | /*// Returns NULL for success, error message if parse error.*/ | ||
25 | -- | ||
26 | 1.8.4.5 | ||
27 | |||
diff --git a/meta/recipes-support/nss/nss_3.19.2.bb b/meta/recipes-support/nss/nss_3.21.bb index c51b056df7..24892b46bc 100644 --- a/meta/recipes-support/nss/nss_3.19.2.bb +++ b/meta/recipes-support/nss/nss_3.21.bb | |||
@@ -15,17 +15,18 @@ LIC_FILES_CHKSUM = "file://nss/COPYING;md5=3b1e88e1b9c0b5a4b2881d46cce06a18 \ | |||
15 | file://nss/lib/freebl/mpi/doc/LICENSE-MPL;md5=5d425c8f3157dbf212db2ec53d9e5132" | 15 | file://nss/lib/freebl/mpi/doc/LICENSE-MPL;md5=5d425c8f3157dbf212db2ec53d9e5132" |
16 | 16 | ||
17 | SRC_URI = "\ | 17 | SRC_URI = "\ |
18 | http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_19_2_RTM/src/${BP}.tar.gz \ | 18 | http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_21_RTM/src/${BP}.tar.gz \ |
19 | file://nss-fix-support-cross-compiling.patch \ | 19 | file://nss-fix-support-cross-compiling.patch \ |
20 | file://nss-no-rpath-for-cross-compiling.patch \ | 20 | file://nss-no-rpath-for-cross-compiling.patch \ |
21 | file://nss-fix-incorrect-shebang-of-perl.patch \ | 21 | file://nss-fix-incorrect-shebang-of-perl.patch \ |
22 | file://nss-fix-nsinstall-build.patch \ | 22 | file://nss-fix-nsinstall-build.patch \ |
23 | file://0001-Fix-build-failure-on-opensuse-13.1.patch \ | ||
23 | file://nss.pc.in \ | 24 | file://nss.pc.in \ |
24 | file://signlibs.sh \ | 25 | file://signlibs.sh \ |
25 | " | 26 | " |
26 | 27 | ||
27 | SRC_URI[md5sum] = "b02ffd1e8e8ef5f8512fa02d8ca9db3d" | 28 | SRC_URI[md5sum] = "3c8b2ed880dd3a8d86c9e0151afe6eba" |
28 | SRC_URI[sha256sum] = "1306663e8f61d8449ad8cbcffab743a604dcd9f6f34232c210847c51dce2c9ae" | 29 | SRC_URI[sha256sum] = "3f7a5b027d7cdd5c0e4ff7544da33fdc6f56c2f8c27fff02938fd4a6fbe87239" |
29 | 30 | ||
30 | UPSTREAM_CHECK_URI = "https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_Releases" | 31 | UPSTREAM_CHECK_URI = "https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_Releases" |
31 | UPSTREAM_CHECK_REGEX = "NSS_(?P<pver>.+)_release_notes" | 32 | UPSTREAM_CHECK_REGEX = "NSS_(?P<pver>.+)_release_notes" |
@@ -84,6 +85,8 @@ do_compile() { | |||
84 | export USE_X32=1 | 85 | export USE_X32=1 |
85 | fi | 86 | fi |
86 | 87 | ||
88 | export NSS_DISABLE_GTESTS=1 | ||
89 | |||
87 | # We can modify CC in the environment, but if we set it via an | 90 | # We can modify CC in the environment, but if we set it via an |
88 | # argument to make, nsinstall, a host program, will also build with it! | 91 | # argument to make, nsinstall, a host program, will also build with it! |
89 | # | 92 | # |
@@ -129,6 +132,8 @@ do_install() { | |||
129 | export USE_X32=1 | 132 | export USE_X32=1 |
130 | fi | 133 | fi |
131 | 134 | ||
135 | export NSS_DISABLE_GTESTS=1 | ||
136 | |||
132 | make -C ./nss \ | 137 | make -C ./nss \ |
133 | CCC="${CXX}" \ | 138 | CCC="${CXX}" \ |
134 | OS_TEST=${OS_TEST} \ | 139 | OS_TEST=${OS_TEST} \ |