From 5b18d7a0c04832aa0881272ff53e6e9a69545b1b Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Wed, 6 Sep 2023 18:56:22 +0200 Subject: perl: update 5.36.1 -> 5.38.0 Rebase perl-configpm-switch.patch. Add a patch to perl-cross to unbreak perl's line numbers printing. (From OE-Core rev: f90922cdeef5a6a4b711c5be2156c05bdb20d5b5) Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- ...re_pfmt.sh-add-32-bit-integer-format-defi.patch | 28 ++++++++++++++++++++++ meta/recipes-devtools/perl-cross/perlcross_1.5.bb | 1 + 2 files changed, 29 insertions(+) create mode 100644 meta/recipes-devtools/perl-cross/files/0001-cnf-configure_pfmt.sh-add-32-bit-integer-format-defi.patch (limited to 'meta/recipes-devtools/perl-cross') diff --git a/meta/recipes-devtools/perl-cross/files/0001-cnf-configure_pfmt.sh-add-32-bit-integer-format-defi.patch b/meta/recipes-devtools/perl-cross/files/0001-cnf-configure_pfmt.sh-add-32-bit-integer-format-defi.patch new file mode 100644 index 0000000000..4de4a5b955 --- /dev/null +++ b/meta/recipes-devtools/perl-cross/files/0001-cnf-configure_pfmt.sh-add-32-bit-integer-format-defi.patch @@ -0,0 +1,28 @@ +From 920abf3dc39c851a655b719622c76a6f0dc9981d Mon Sep 17 00:00:00 2001 +From: Alexander Kanavin +Date: Tue, 5 Sep 2023 19:47:33 +0200 +Subject: [PATCH] cnf/configure_pfmt.sh: add 32 bit integer format definitions + +These started to matter in perl 5.38 where they are used to print +line numbers. + +Upstream-Status: Submitted [https://github.com/arsv/perl-cross/pull/143] +Signed-off-by: Alexander Kanavin +--- + cnf/configure_pfmt.sh | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/cnf/configure_pfmt.sh b/cnf/configure_pfmt.sh +index 8f93da1..7bb4b6f 100644 +--- a/cnf/configure_pfmt.sh ++++ b/cnf/configure_pfmt.sh +@@ -52,3 +52,9 @@ else + define uvxformat '"lx"' + define uvXUformat '"lX"' + fi ++ ++define i32dformat 'PRId32' ++define u32uformat 'PRIu32' ++define u32oformat 'PRIo32' ++define u32xformat 'PRIx32' ++define u32XUformat 'PRIX32' diff --git a/meta/recipes-devtools/perl-cross/perlcross_1.5.bb b/meta/recipes-devtools/perl-cross/perlcross_1.5.bb index d17945480e..7ca4977b97 100644 --- a/meta/recipes-devtools/perl-cross/perlcross_1.5.bb +++ b/meta/recipes-devtools/perl-cross/perlcross_1.5.bb @@ -15,6 +15,7 @@ SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/perl-cross-${PV}.tar.gz;name=perl-c file://0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch \ file://determinism.patch \ file://0001-Makefile-check-the-file-if-patched-or-not.patch \ + file://0001-cnf-configure_pfmt.sh-add-32-bit-integer-format-defi.patch \ " GITHUB_BASE_URI = "https://github.com/arsv/perl-cross/releases/" -- cgit v1.2.3-54-g00ecf