From 48e2dde053f243985bab25dbbb8220575e8bb872 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Fri, 4 Jun 2021 11:14:54 +0200 Subject: perl-cross: 1.3.5 -> 1.3.6 (From OE-Core rev: 1443553478e28de03dd6f86834095ca8d13fd5f5) Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- ...re_func_sel.sh-disable-thread_safe_nl_lan.patch | 27 +++++++++++++++ .../recipes-devtools/perl-cross/perlcross_1.3.5.bb | 38 --------------------- .../recipes-devtools/perl-cross/perlcross_1.3.6.bb | 39 ++++++++++++++++++++++ 3 files changed, 66 insertions(+), 38 deletions(-) create mode 100644 meta/recipes-devtools/perl-cross/files/0001-cnf-configure_func_sel.sh-disable-thread_safe_nl_lan.patch delete mode 100644 meta/recipes-devtools/perl-cross/perlcross_1.3.5.bb create mode 100644 meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb (limited to 'meta/recipes-devtools/perl-cross') 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 @@ +From d22f2bb5afcd278b68999f5ce0362328fc8c7723 Mon Sep 17 00:00:00 2001 +From: Alexander Kanavin +Date: Thu, 3 Jun 2021 18:50:56 +0200 +Subject: [PATCH] cnf/configure_func_sel.sh: disable thread_safe_nl_langinfo_l + +Upstream-Status: Submitted [https://github.com/arsv/perl-cross/pull/115] +Signed-off-by: Alexander Kanavin +--- + cnf/configure_func_sel.sh | 8 ++++++-- + 1 file changed, 6 insertions(+), 2 deletions(-) + +diff --git a/cnf/configure_func_sel.sh b/cnf/configure_func_sel.sh +index f48294f..90d350d 100644 +--- a/cnf/configure_func_sel.sh ++++ b/cnf/configure_func_sel.sh +@@ -97,5 +97,9 @@ else + result "irrelevant" + fi + +-# Assume nl_langinfo_l is threadsafe if available +-define d_thread_safe_nl_langinfo_l "$d_nl_langinfo_l" ++# thread_safe_nl_langinfo_l is not enabled by default ++# by upstream, and causes t/Langinfo.t to fail when it is ++# (starting from 5.34.0). This means the configuration is ++# either not well tested, or not at all tested, so we should ++# pick a safer option. ++define d_thread_safe_nl_langinfo_l "undef" diff --git a/meta/recipes-devtools/perl-cross/perlcross_1.3.5.bb b/meta/recipes-devtools/perl-cross/perlcross_1.3.5.bb deleted file mode 100644 index 0d81d4d0f1..0000000000 --- a/meta/recipes-devtools/perl-cross/perlcross_1.3.5.bb +++ /dev/null @@ -1,38 +0,0 @@ -SUMMARY = "Perl-cross build system" -HOMEPAGE = "https://github.com/arsv/perl-cross" -DESCRIPTION = "perl-cross provides configure script, top-level Makefile and some auxiliary files for perl, \ -with the primary emphasis on cross-compiling the source." -SECTION = "devel" -LICENSE = "Artistic-1.0 | GPL-1.0+" -# README.md is taken from https://github.com/arsv/perl-cross/blob/master/README.md -# but is not provided inside the release tarballs -LIC_FILES_CHKSUM = "file://${WORKDIR}/README.md;md5=252fcce2026b765fee1ad74d2fb07a3b" - -inherit allarch - -SRC_URI = "https://github.com/arsv/perl-cross/releases/download/${PV}/perl-cross-${PV}.tar.gz;name=perl-cross \ - file://README.md \ - file://0001-configure_tool.sh-do-not-quote-the-argument-to-comma.patch \ - file://0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch \ - file://0001-configure_path.sh-do-not-hardcode-prefix-lib-as-libr.patch \ - file://determinism.patch \ -" -UPSTREAM_CHECK_URI = "https://github.com/arsv/perl-cross/releases/" - -SRC_URI[perl-cross.sha256sum] = "91c66f6b2b99fccfd4fee14660b677380b0c98f9456359e91449798c2ad2ef25" - -S = "${WORKDIR}/perl-cross-${PV}" - -do_configure () { -} - -do_compile () { -} - -do_install_class-native() { - mkdir -p ${D}/${datadir}/perl-cross/ - cp -rf ${S}/* ${D}/${datadir}/perl-cross/ -} - -BBCLASSEXTEND = "native" - diff --git a/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb b/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb new file mode 100644 index 0000000000..b77bbd1fd4 --- /dev/null +++ b/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb @@ -0,0 +1,39 @@ +SUMMARY = "Perl-cross build system" +HOMEPAGE = "https://github.com/arsv/perl-cross" +DESCRIPTION = "perl-cross provides configure script, top-level Makefile and some auxiliary files for perl, \ +with the primary emphasis on cross-compiling the source." +SECTION = "devel" +LICENSE = "Artistic-1.0 | GPL-1.0+" +# README.md is taken from https://github.com/arsv/perl-cross/blob/master/README.md +# but is not provided inside the release tarballs +LIC_FILES_CHKSUM = "file://${WORKDIR}/README.md;md5=252fcce2026b765fee1ad74d2fb07a3b" + +inherit allarch + +SRC_URI = "https://github.com/arsv/perl-cross/releases/download/${PV}/perl-cross-${PV}.tar.gz;name=perl-cross \ + file://README.md \ + file://0001-configure_tool.sh-do-not-quote-the-argument-to-comma.patch \ + file://0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch \ + file://0001-configure_path.sh-do-not-hardcode-prefix-lib-as-libr.patch \ + file://determinism.patch \ + file://0001-cnf-configure_func_sel.sh-disable-thread_safe_nl_lan.patch \ + " +UPSTREAM_CHECK_URI = "https://github.com/arsv/perl-cross/releases/" + +SRC_URI[perl-cross.sha256sum] = "4010f41870d64e3957b4b8ce70ebba10a7c4a3e86c5551acb4099c3fcbb37ce5" + +S = "${WORKDIR}/perl-cross-${PV}" + +do_configure () { +} + +do_compile () { +} + +do_install_class-native() { + mkdir -p ${D}/${datadir}/perl-cross/ + cp -rf ${S}/* ${D}/${datadir}/perl-cross/ +} + +BBCLASSEXTEND = "native" + -- cgit v1.2.3-54-g00ecf