summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.2.bb (renamed from meta/recipes-devtools/perl-cross/perlcross_1.5.bb)3
2 files changed, 1 insertions, 30 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
deleted file mode 100644
index 4de4a5b955..0000000000
--- a/meta/recipes-devtools/perl-cross/files/0001-cnf-configure_pfmt.sh-add-32-bit-integer-format-defi.patch
+++ /dev/null
@@ -1,28 +0,0 @@
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.2.bb
index 7ca4977b97..b41c182fad 100644
--- a/meta/recipes-devtools/perl-cross/perlcross_1.5.bb
+++ b/meta/recipes-devtools/perl-cross/perlcross_1.5.2.bb
@@ -15,11 +15,10 @@ 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 \
19 " 18 "
20GITHUB_BASE_URI = "https://github.com/arsv/perl-cross/releases/" 19GITHUB_BASE_URI = "https://github.com/arsv/perl-cross/releases/"
21 20
22SRC_URI[perl-cross.sha256sum] = "d744a390939e2ebb9a12f6725b4d9c19255a141d90031eff90ea183fdfcbf211" 21SRC_URI[perl-cross.sha256sum] = "584dc54c48dca25e032b676a15bef377c1fed9de318b4fc140292a5dbf326e90"
23 22
24S = "${WORKDIR}/perl-cross-${PV}" 23S = "${WORKDIR}/perl-cross-${PV}"
25 24