diff options
-rw-r--r-- | meta/recipes-support/libgcrypt/files/0001-libgcrypt-fix-m4-file-for-oe-core.patch | 6 | ||||
-rw-r--r-- | meta/recipes-support/libgcrypt/files/0002-libgcrypt-fix-building-error-with-O2-in-sysroot-path.patch | 10 | ||||
-rw-r--r-- | meta/recipes-support/libgcrypt/libgcrypt_1.10.2.bb (renamed from meta/recipes-support/libgcrypt/libgcrypt_1.10.1.bb) | 2 |
3 files changed, 9 insertions, 9 deletions
diff --git a/meta/recipes-support/libgcrypt/files/0001-libgcrypt-fix-m4-file-for-oe-core.patch b/meta/recipes-support/libgcrypt/files/0001-libgcrypt-fix-m4-file-for-oe-core.patch index c873e24ed5..cbfa30f0ad 100644 --- a/meta/recipes-support/libgcrypt/files/0001-libgcrypt-fix-m4-file-for-oe-core.patch +++ b/meta/recipes-support/libgcrypt/files/0001-libgcrypt-fix-m4-file-for-oe-core.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 839f38e5ecc22b7f1b837284bbbffac8cb32ab1e Mon Sep 17 00:00:00 2001 | 1 | From bcfd89abdb5110b93314297120412d4c7f2da313 Mon Sep 17 00:00:00 2001 |
2 | From: Trevor Gamblin <trevor.gamblin@windriver.com> | 2 | From: Trevor Gamblin <trevor.gamblin@windriver.com> |
3 | Date: Tue, 29 Oct 2019 14:08:32 -0400 | 3 | Date: Tue, 29 Oct 2019 14:08:32 -0400 |
4 | Subject: [PATCH] libgcrypt: fix m4 file for oe-core | 4 | Subject: [PATCH] libgcrypt: fix m4 file for oe-core |
@@ -17,7 +17,7 @@ Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> | |||
17 | 1 file changed, 4 insertions(+), 86 deletions(-) | 17 | 1 file changed, 4 insertions(+), 86 deletions(-) |
18 | 18 | ||
19 | diff --git a/src/libgcrypt.m4 b/src/libgcrypt.m4 | 19 | diff --git a/src/libgcrypt.m4 b/src/libgcrypt.m4 |
20 | index 19d514f..21125c7 100644 | 20 | index cd4249e..e53a36f 100644 |
21 | --- a/src/libgcrypt.m4 | 21 | --- a/src/libgcrypt.m4 |
22 | +++ b/src/libgcrypt.m4 | 22 | +++ b/src/libgcrypt.m4 |
23 | @@ -29,41 +29,6 @@ dnl is added to the gpg_config_script_warn variable. | 23 | @@ -29,41 +29,6 @@ dnl is added to the gpg_config_script_warn variable. |
@@ -35,7 +35,7 @@ index 19d514f..21125c7 100644 | |||
35 | - fi | 35 | - fi |
36 | - | 36 | - |
37 | - use_gpgrt_config="" | 37 | - use_gpgrt_config="" |
38 | - if test x"${LIBGCRYPT_CONFIG}" = x -a x"$GPGRT_CONFIG" != x -a "$GPGRT_CONFIG" != "no"; then | 38 | - if test x"$GPGRT_CONFIG" != x -a "$GPGRT_CONFIG" != "no"; then |
39 | - if $GPGRT_CONFIG libgcrypt --exists; then | 39 | - if $GPGRT_CONFIG libgcrypt --exists; then |
40 | - LIBGCRYPT_CONFIG="$GPGRT_CONFIG libgcrypt" | 40 | - LIBGCRYPT_CONFIG="$GPGRT_CONFIG libgcrypt" |
41 | - AC_MSG_NOTICE([Use gpgrt-config as libgcrypt-config]) | 41 | - AC_MSG_NOTICE([Use gpgrt-config as libgcrypt-config]) |
diff --git a/meta/recipes-support/libgcrypt/files/0002-libgcrypt-fix-building-error-with-O2-in-sysroot-path.patch b/meta/recipes-support/libgcrypt/files/0002-libgcrypt-fix-building-error-with-O2-in-sysroot-path.patch index f9c362431c..cf9ebfb3e6 100644 --- a/meta/recipes-support/libgcrypt/files/0002-libgcrypt-fix-building-error-with-O2-in-sysroot-path.patch +++ b/meta/recipes-support/libgcrypt/files/0002-libgcrypt-fix-building-error-with-O2-in-sysroot-path.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 3c6c10eae0993c8ca60879494c6650f7b8f54ebe Mon Sep 17 00:00:00 2001 | 1 | From 0f66e796a8522e1043dda03b88d5f6feae839d16 Mon Sep 17 00:00:00 2001 |
2 | From: Chen Qi <Qi.Chen@windriver.com> | 2 | From: Chen Qi <Qi.Chen@windriver.com> |
3 | Date: Wed, 16 Aug 2017 10:44:41 +0800 | 3 | Date: Wed, 16 Aug 2017 10:44:41 +0800 |
4 | Subject: [PATCH] libgcrypt: fix building error with '-O2' in sysroot path | 4 | Subject: [PATCH] libgcrypt: fix building error with '-O2' in sysroot path |
@@ -25,15 +25,15 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | |||
25 | 1 file changed, 1 insertion(+), 1 deletion(-) | 25 | 1 file changed, 1 insertion(+), 1 deletion(-) |
26 | 26 | ||
27 | diff --git a/cipher/Makefile.am b/cipher/Makefile.am | 27 | diff --git a/cipher/Makefile.am b/cipher/Makefile.am |
28 | index d644005..1cf5072 100644 | 28 | index c3d642b..88c883a 100644 |
29 | --- a/cipher/Makefile.am | 29 | --- a/cipher/Makefile.am |
30 | +++ b/cipher/Makefile.am | 30 | +++ b/cipher/Makefile.am |
31 | @@ -147,7 +147,7 @@ gost-s-box: gost-s-box.c | 31 | @@ -153,7 +153,7 @@ gost-s-box: gost-s-box.c |
32 | 32 | ||
33 | 33 | ||
34 | if ENABLE_O_FLAG_MUNGING | 34 | if ENABLE_O_FLAG_MUNGING |
35 | -o_flag_munging = sed -e 's/-O\([2-9sg][2-9sg]*\)/-O1/' -e 's/-Ofast/-O1/g' | 35 | -o_flag_munging = sed -e 's/-O\([2-9sgz][2-9sgz]*\)/-O1/' -e 's/-Ofast/-O1/g' |
36 | +o_flag_munging = sed -e 's/ -O\([2-9sg][2-9sg]*\) / -O1 /' -e 's/ -Ofast / -O1 /g' | 36 | +o_flag_munging = sed -e 's/ -O\([2-9sgz][2-9sgz]*\) / -O1 /' -e 's/ -Ofast / -O1 /g' |
37 | else | 37 | else |
38 | o_flag_munging = cat | 38 | o_flag_munging = cat |
39 | endif | 39 | endif |
diff --git a/meta/recipes-support/libgcrypt/libgcrypt_1.10.1.bb b/meta/recipes-support/libgcrypt/libgcrypt_1.10.2.bb index bf9d7cbd10..58f07a116d 100644 --- a/meta/recipes-support/libgcrypt/libgcrypt_1.10.1.bb +++ b/meta/recipes-support/libgcrypt/libgcrypt_1.10.2.bb | |||
@@ -27,7 +27,7 @@ SRC_URI = "${GNUPG_MIRROR}/libgcrypt/libgcrypt-${PV}.tar.bz2 \ | |||
27 | file://no-bench-slope.patch \ | 27 | file://no-bench-slope.patch \ |
28 | file://run-ptest \ | 28 | file://run-ptest \ |
29 | " | 29 | " |
30 | SRC_URI[sha256sum] = "ef14ae546b0084cd84259f61a55e07a38c3b53afc0f546bffcef2f01baffe9de" | 30 | SRC_URI[sha256sum] = "3b9c02a004b68c256add99701de00b383accccf37177e0d6c58289664cce0c03" |
31 | 31 | ||
32 | # Below whitelisted CVEs are disputed and not affecting crypto libraries for any distro. | 32 | # Below whitelisted CVEs are disputed and not affecting crypto libraries for any distro. |
33 | CVE_CHECK_IGNORE += "CVE-2018-12433 CVE-2018-12438" | 33 | CVE_CHECK_IGNORE += "CVE-2018-12433 CVE-2018-12438" |