diff options
Diffstat (limited to 'meta/recipes-devtools/perl-cross/files/0001-cnf-configure_func_sel.sh-disable-thread_safe_nl_lan.patch')
-rw-r--r-- | meta/recipes-devtools/perl-cross/files/0001-cnf-configure_func_sel.sh-disable-thread_safe_nl_lan.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl-cross/files/0001-cnf-configure_func_sel.sh-disable-thread_safe_nl_lan.patch b/meta/recipes-devtools/perl-cross/files/0001-cnf-configure_func_sel.sh-disable-thread_safe_nl_lan.patch new file mode 100644 index 0000000000..744e4e09c3 --- /dev/null +++ b/meta/recipes-devtools/perl-cross/files/0001-cnf-configure_func_sel.sh-disable-thread_safe_nl_lan.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From d22f2bb5afcd278b68999f5ce0362328fc8c7723 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Thu, 3 Jun 2021 18:50:56 +0200 | ||
4 | Subject: [PATCH] cnf/configure_func_sel.sh: disable thread_safe_nl_langinfo_l | ||
5 | |||
6 | Upstream-Status: Submitted [https://github.com/arsv/perl-cross/pull/115] | ||
7 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
8 | --- | ||
9 | cnf/configure_func_sel.sh | 8 ++++++-- | ||
10 | 1 file changed, 6 insertions(+), 2 deletions(-) | ||
11 | |||
12 | diff --git a/cnf/configure_func_sel.sh b/cnf/configure_func_sel.sh | ||
13 | index f48294f..90d350d 100644 | ||
14 | --- a/cnf/configure_func_sel.sh | ||
15 | +++ b/cnf/configure_func_sel.sh | ||
16 | @@ -97,5 +97,9 @@ else | ||
17 | result "irrelevant" | ||
18 | fi | ||
19 | |||
20 | -# Assume nl_langinfo_l is threadsafe if available | ||
21 | -define d_thread_safe_nl_langinfo_l "$d_nl_langinfo_l" | ||
22 | +# thread_safe_nl_langinfo_l is not enabled by default | ||
23 | +# by upstream, and causes t/Langinfo.t to fail when it is | ||
24 | +# (starting from 5.34.0). This means the configuration is | ||
25 | +# either not well tested, or not at all tested, so we should | ||
26 | +# pick a safer option. | ||
27 | +define d_thread_safe_nl_langinfo_l "undef" | ||