summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alex@linutronix.de>2024-08-27 07:23:42 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-08-28 09:14:27 +0100
commit102b9a09df0f3058b5c0a7de728b8ae58430bcb6 (patch)
tree55adb9cae7464fd90b72e18af2f567954407be2e
parentb773b1ca8a2bb047543ac8d0f0ae9e04832bf8e5 (diff)
downloadpoky-102b9a09df0f3058b5c0a7de728b8ae58430bcb6.tar.gz
p11-kit: update 0.25.3 -> 0.25.5
(From OE-Core rev: f7b3e0d91d68459e45f57338ca5a4b85219824cd) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-support/p11-kit/files/fix-parallel-build-failures.patch33
-rw-r--r--meta/recipes-support/p11-kit/p11-kit_0.25.5.bb (renamed from meta/recipes-support/p11-kit/p11-kit_0.25.3.bb)3
2 files changed, 1 insertions, 35 deletions
diff --git a/meta/recipes-support/p11-kit/files/fix-parallel-build-failures.patch b/meta/recipes-support/p11-kit/files/fix-parallel-build-failures.patch
deleted file mode 100644
index 47df027106..0000000000
--- a/meta/recipes-support/p11-kit/files/fix-parallel-build-failures.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1It fails occasionally with missing generated header files:
2
3| ../git/common/asn1.c:42:10: fatal error: openssl.asn.h: No such file or directory
4| 42 | #include "openssl.asn.h"
5| | ^~~~~~~~~~~~~~~
6| compilation terminated.
7
8According to meson manual page:
9
10https://mesonbuild.com/Wrap-best-practices-and-tips.html#declare-generated-headers-explicitly
11
12'asn_h_dep' should be a dependency of static_library target 'libp11_asn1' to
13make sure that required header files generated before compile common/asn1.c.
14
15Upstream-Status: Submitted [https://github.com/p11-glue/p11-kit/pull/619]
16
17Signed-off-by: Kai Kang <kai.kang@windriver.com>
18---
19 common/meson.build | 1 +
20 1 file changed, 1 insertion(+)
21
22diff --git a/common/meson.build b/common/meson.build
23index dc86d7b..cc3ec48 100644
24--- a/common/meson.build
25+++ b/common/meson.build
26@@ -113,6 +113,7 @@ if with_asn1
27 'p11-asn1', libp11_asn1_sources,
28 gnu_symbol_visibility: 'hidden',
29 include_directories: configinc,
30+ dependencies: asn_h_dep,
31 )
32
33 libp11_asn1_dep = declare_dependency(
diff --git a/meta/recipes-support/p11-kit/p11-kit_0.25.3.bb b/meta/recipes-support/p11-kit/p11-kit_0.25.5.bb
index 2ede38deba..8c2f56be44 100644
--- a/meta/recipes-support/p11-kit/p11-kit_0.25.3.bb
+++ b/meta/recipes-support/p11-kit/p11-kit_0.25.5.bb
@@ -11,9 +11,8 @@ DEPENDS = "libtasn1 libtasn1-native libffi"
11DEPENDS:append = "${@' glib-2.0' if d.getVar('GTKDOC_ENABLED') == 'True' else ''}" 11DEPENDS:append = "${@' glib-2.0' if d.getVar('GTKDOC_ENABLED') == 'True' else ''}"
12 12
13SRC_URI = "gitsm://github.com/p11-glue/p11-kit;branch=master;protocol=https \ 13SRC_URI = "gitsm://github.com/p11-glue/p11-kit;branch=master;protocol=https \
14 file://fix-parallel-build-failures.patch \
15 " 14 "
16SRCREV = "917e02a3211dabbdea4b079cb598581dce84fda1" 15SRCREV = "0dd113361057e477f40ff4d8788f3e7e400af5f9"
17S = "${WORKDIR}/git" 16S = "${WORKDIR}/git"
18 17
19PACKAGECONFIG ??= "" 18PACKAGECONFIG ??= ""