summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libgcrypt/files/0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2021-02-28 16:36:53 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-03-02 14:15:33 +0000
commit31421cc447f15fdcd5ad023bebca451282764750 (patch)
tree0d9ea946902d063efa12f39a961dad8b230f190a /meta/recipes-support/libgcrypt/files/0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch
parentde8475d206d6b17c6b7907ed06f73c6586cf4f48 (diff)
downloadpoky-31421cc447f15fdcd5ad023bebca451282764750.tar.gz
libgcrypt: update 1.8.7 -> 1.9.2
Drop backports. Add a patch that inserts missing spaces in Makefiles. Drop determinism.patch: upstream has moved the git stuff to an external script, which has a guard that checkes for presence of .git/ in source tree. License-Update: additional source file listed (From OE-Core rev: ad2eae801c7809db3f4830f19efdad78d1a62d59) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libgcrypt/files/0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch')
-rw-r--r--meta/recipes-support/libgcrypt/files/0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch21
1 files changed, 11 insertions, 10 deletions
diff --git a/meta/recipes-support/libgcrypt/files/0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch b/meta/recipes-support/libgcrypt/files/0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch
index 8622df3ea8..5bf0c7f8a3 100644
--- a/meta/recipes-support/libgcrypt/files/0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch
+++ b/meta/recipes-support/libgcrypt/files/0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch
@@ -1,7 +1,7 @@
1From e20dbdb0b8f0af840ef90b299c4e2277c52ddf87 Mon Sep 17 00:00:00 2001 1From cb06d218ee36e303a64f27c690f30040d5d87960 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com> 2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Sun, 12 Jun 2016 04:44:29 -0400 3Date: Sun, 12 Jun 2016 04:44:29 -0400
4Subject: [PATCH 4/4] tests/Makefile.am: fix undefined reference to 4Subject: [PATCH] tests/Makefile.am: fix undefined reference to
5 `pthread_create' 5 `pthread_create'
6 6
7Add missing '-lpthread' to CFLAGS 7Add missing '-lpthread' to CFLAGS
@@ -9,20 +9,21 @@ Add missing '-lpthread' to CFLAGS
9Upstream-Status: Pending 9Upstream-Status: Pending
10 10
11Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> 11Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
12
12--- 13---
13 tests/Makefile.am | 2 +- 14 tests/Makefile.am | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-) 15 1 file changed, 1 insertion(+), 1 deletion(-)
15 16
16diff --git a/tests/Makefile.am b/tests/Makefile.am 17diff --git a/tests/Makefile.am b/tests/Makefile.am
17index 1744ea7..04cf425 100644 18index ab201f0..1cf82d0 100644
18--- a/tests/Makefile.am 19--- a/tests/Makefile.am
19+++ b/tests/Makefile.am 20+++ b/tests/Makefile.am
20@@ -64,4 +64,4 @@ EXTRA_DIST = README rsa-16k.key cavs_tests.sh cavs_driver.pl \ 21@@ -75,7 +75,7 @@ t_mpi_bit_LDADD = $(standard_ldadd) @LDADD_FOR_TESTS_KLUDGE@
21 22 t_secmem_LDADD = $(standard_ldadd) @LDADD_FOR_TESTS_KLUDGE@
22 LDADD = $(standard_ldadd) $(GPG_ERROR_LIBS) 23 testapi_LDADD = $(standard_ldadd) @LDADD_FOR_TESTS_KLUDGE@
23 t_lock_LDADD = $(standard_ldadd) $(GPG_ERROR_MT_LIBS) 24 t_lock_LDADD = $(standard_ldadd) $(GPG_ERROR_MT_LIBS) @LDADD_FOR_TESTS_KLUDGE@
24-t_lock_CFLAGS = $(GPG_ERROR_MT_CFLAGS) 25-t_lock_CFLAGS = $(GPG_ERROR_MT_CFLAGS)
25+t_lock_CFLAGS = $(GPG_ERROR_MT_CFLAGS) -lpthread 26+t_lock_CFLAGS = $(GPG_ERROR_MT_CFLAGS) -lpthread
26-- 27 testdrv_LDADD = $(LDADD_FOR_TESTS_KLUDGE)
271.8.3.1 28
28 29 # Build a version of the test driver for the build platform.