summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl-cross
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2023-09-06 18:56:22 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-09-07 14:36:30 +0100
commit5b18d7a0c04832aa0881272ff53e6e9a69545b1b (patch)
tree5f3a53f705809899a56912c72a8cc211f089ee46 /meta/recipes-devtools/perl-cross
parent3b693d16747cecc98bd06cab5bce6a2423f3b796 (diff)
downloadpoky-5b18d7a0c04832aa0881272ff53e6e9a69545b1b.tar.gz
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 <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/perl-cross')
-rw-r--r--meta/recipes-devtools/perl-cross/files/0001-cnf-configure_pfmt.sh-add-32-bit-integer-format-defi.patch28
-rw-r--r--meta/recipes-devtools/perl-cross/perlcross_1.5.bb1
2 files changed, 29 insertions, 0 deletions
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 @@
1From 920abf3dc39c851a655b719622c76a6f0dc9981d Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de>
3Date: Tue, 5 Sep 2023 19:47:33 +0200
4Subject: [PATCH] cnf/configure_pfmt.sh: add 32 bit integer format definitions
5
6These started to matter in perl 5.38 where they are used to print
7line numbers.
8
9Upstream-Status: Submitted [https://github.com/arsv/perl-cross/pull/143]
10Signed-off-by: Alexander Kanavin <alex@linutronix.de>
11---
12 cnf/configure_pfmt.sh | 6 ++++++
13 1 file changed, 6 insertions(+)
14
15diff --git a/cnf/configure_pfmt.sh b/cnf/configure_pfmt.sh
16index 8f93da1..7bb4b6f 100644
17--- a/cnf/configure_pfmt.sh
18+++ b/cnf/configure_pfmt.sh
19@@ -52,3 +52,9 @@ else
20 define uvxformat '"lx"'
21 define uvXUformat '"lX"'
22 fi
23+
24+define i32dformat 'PRId32'
25+define u32uformat 'PRIu32'
26+define u32oformat 'PRIo32'
27+define u32xformat 'PRIx32'
28+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
15 file://0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch \ 15 file://0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch \
16 file://determinism.patch \ 16 file://determinism.patch \
17 file://0001-Makefile-check-the-file-if-patched-or-not.patch \ 17 file://0001-Makefile-check-the-file-if-patched-or-not.patch \
18 file://0001-cnf-configure_pfmt.sh-add-32-bit-integer-format-defi.patch \
18 " 19 "
19GITHUB_BASE_URI = "https://github.com/arsv/perl-cross/releases/" 20GITHUB_BASE_URI = "https://github.com/arsv/perl-cross/releases/"
20 21