]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
perl: update 5.36.0 -> 5.36.1
authorAlexander Kanavin <alex.kanavin@gmail.com>
Tue, 9 May 2023 17:23:30 +0000 (19:23 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 22 May 2023 09:53:44 +0000 (10:53 +0100)
Drop gcc 12 patch, as upstream rejected it, and then (presumably) fixed gcc 12 issues differently.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/recipes-devtools/perl/files/0001-Fix-build-with-gcc-12.patch [deleted file]
meta/recipes-devtools/perl/files/perl-configpm-switch.patch
meta/recipes-devtools/perl/perl_5.36.1.bb [moved from meta/recipes-devtools/perl/perl_5.36.0.bb with 99% similarity]

diff --git a/meta/recipes-devtools/perl/files/0001-Fix-build-with-gcc-12.patch b/meta/recipes-devtools/perl/files/0001-Fix-build-with-gcc-12.patch
deleted file mode 100644 (file)
index 1d98e13..0000000
+++ /dev/null
@@ -1,143 +0,0 @@
-From ee957eb9e4ec29a462cdbb2f3bbe29d4270534ef Mon Sep 17 00:00:00 2001
-From: Mingli Yu <mingli.yu@windriver.com>
-Date: Thu, 2 Jun 2022 13:01:37 +0800
-Subject: [PATCH] proto.h: Fix build with gcc-12
-
-Fixes:
-  In function 'dynprep',
-    inlined from 'S_sortsv_flags_impl' at pp_sort.c:358:20,
-    inlined from 'sortsv_amagic_i_ncmp' at pp_sort.c:572:5:
-    pp_sort.c:1232:1: error: inlining failed in call to 'always_inline' 'S_amagic_i_ncmp': function not considered for inlining
-  1232 | S_amagic_i_ncmp(pTHX_ SV *const a, SV *const b)
-
-Upstream-Status: Submitted [https://github.com/Perl/perl5/pull/19808]
-
-Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
----
- proto.h | 42 ++++++++++++++----------------------------
- 1 file changed, 14 insertions(+), 28 deletions(-)
-
-diff --git a/proto.h b/proto.h
-index faca6d1..3a76c04 100644
---- a/proto.h
-+++ b/proto.h
-@@ -5606,50 +5606,43 @@ STATIC SSize_t S_unpack_rec(pTHX_ struct tempsym* symptr, const char *s, const c
- #endif
- #if defined(PERL_IN_PP_SORT_C)
- #ifndef PERL_NO_INLINE_FUNCTIONS
--PERL_STATIC_FORCE_INLINE I32  S_amagic_cmp(pTHX_ SV *const str1, SV *const str2)
--                      __attribute__always_inline__;
-+PERL_STATIC_FORCE_INLINE I32  S_amagic_cmp(pTHX_ SV *const str1, SV *const str2);
- #define PERL_ARGS_ASSERT_AMAGIC_CMP   \
-       assert(str1); assert(str2)
- #endif
- #ifndef PERL_NO_INLINE_FUNCTIONS
--PERL_STATIC_FORCE_INLINE I32  S_amagic_cmp_desc(pTHX_ SV *const str1, SV *const str2)
--                      __attribute__always_inline__;
-+PERL_STATIC_FORCE_INLINE I32  S_amagic_cmp_desc(pTHX_ SV *const str1, SV *const str2);
- #define PERL_ARGS_ASSERT_AMAGIC_CMP_DESC      \
-       assert(str1); assert(str2)
- #endif
- #ifndef PERL_NO_INLINE_FUNCTIONS
--PERL_STATIC_FORCE_INLINE I32  S_amagic_i_ncmp(pTHX_ SV *const a, SV *const b)
--                      __attribute__always_inline__;
-+PERL_STATIC_FORCE_INLINE I32  S_amagic_i_ncmp(pTHX_ SV *const a, SV *const b);
- #define PERL_ARGS_ASSERT_AMAGIC_I_NCMP        \
-       assert(a); assert(b)
- #endif
- #ifndef PERL_NO_INLINE_FUNCTIONS
--PERL_STATIC_FORCE_INLINE I32  S_amagic_i_ncmp_desc(pTHX_ SV *const a, SV *const b)
--                      __attribute__always_inline__;
-+PERL_STATIC_FORCE_INLINE I32  S_amagic_i_ncmp_desc(pTHX_ SV *const a, SV *const b);
- #define PERL_ARGS_ASSERT_AMAGIC_I_NCMP_DESC   \
-       assert(a); assert(b)
- #endif
- #ifndef PERL_NO_INLINE_FUNCTIONS
--PERL_STATIC_FORCE_INLINE I32  S_amagic_ncmp(pTHX_ SV *const a, SV *const b)
--                      __attribute__always_inline__;
-+PERL_STATIC_FORCE_INLINE I32  S_amagic_ncmp(pTHX_ SV *const a, SV *const b);
- #define PERL_ARGS_ASSERT_AMAGIC_NCMP  \
-       assert(a); assert(b)
- #endif
- #ifndef PERL_NO_INLINE_FUNCTIONS
--PERL_STATIC_FORCE_INLINE I32  S_amagic_ncmp_desc(pTHX_ SV *const a, SV *const b)
--                      __attribute__always_inline__;
-+PERL_STATIC_FORCE_INLINE I32  S_amagic_ncmp_desc(pTHX_ SV *const a, SV *const b);
- #define PERL_ARGS_ASSERT_AMAGIC_NCMP_DESC     \
-       assert(a); assert(b)
- #endif
- #ifndef PERL_NO_INLINE_FUNCTIONS
--PERL_STATIC_FORCE_INLINE I32  S_cmp_desc(pTHX_ SV *const str1, SV *const str2)
--                      __attribute__always_inline__;
-+PERL_STATIC_FORCE_INLINE I32  S_cmp_desc(pTHX_ SV *const str1, SV *const str2);
- #define PERL_ARGS_ASSERT_CMP_DESC     \
-       assert(str1); assert(str2)
- #endif
-@@ -5671,51 +5664,44 @@ PERL_STATIC_FORCE_INLINE void  S_sortsv_flags_impl(pTHX_ SV** array, size_t num_e
- #endif
- #ifndef PERL_NO_INLINE_FUNCTIONS
--PERL_STATIC_FORCE_INLINE I32  S_sv_i_ncmp(pTHX_ SV *const a, SV *const b)
--                      __attribute__always_inline__;
-+PERL_STATIC_FORCE_INLINE I32  S_sv_i_ncmp(pTHX_ SV *const a, SV *const b);
- #define PERL_ARGS_ASSERT_SV_I_NCMP    \
-       assert(a); assert(b)
- #endif
- #ifndef PERL_NO_INLINE_FUNCTIONS
--PERL_STATIC_FORCE_INLINE I32  S_sv_i_ncmp_desc(pTHX_ SV *const a, SV *const b)
--                      __attribute__always_inline__;
-+PERL_STATIC_FORCE_INLINE I32  S_sv_i_ncmp_desc(pTHX_ SV *const a, SV *const b);
- #define PERL_ARGS_ASSERT_SV_I_NCMP_DESC       \
-       assert(a); assert(b)
- #endif
- #ifndef PERL_NO_INLINE_FUNCTIONS
--PERL_STATIC_FORCE_INLINE I32  S_sv_ncmp(pTHX_ SV *const a, SV *const b)
--                      __attribute__always_inline__;
-+PERL_STATIC_FORCE_INLINE I32  S_sv_ncmp(pTHX_ SV *const a, SV *const b);
- #define PERL_ARGS_ASSERT_SV_NCMP      \
-       assert(a); assert(b)
- #endif
- #ifndef PERL_NO_INLINE_FUNCTIONS
--PERL_STATIC_FORCE_INLINE I32  S_sv_ncmp_desc(pTHX_ SV *const a, SV *const b)
--                      __attribute__always_inline__;
-+PERL_STATIC_FORCE_INLINE I32  S_sv_ncmp_desc(pTHX_ SV *const a, SV *const b);
- #define PERL_ARGS_ASSERT_SV_NCMP_DESC \
-       assert(a); assert(b)
- #endif
- #  if defined(USE_LOCALE_COLLATE)
- #ifndef PERL_NO_INLINE_FUNCTIONS
--PERL_STATIC_FORCE_INLINE I32  S_amagic_cmp_locale(pTHX_ SV *const str1, SV *const str2)
--                      __attribute__always_inline__;
-+PERL_STATIC_FORCE_INLINE I32  S_amagic_cmp_locale(pTHX_ SV *const str1, SV *const str2);
- #define PERL_ARGS_ASSERT_AMAGIC_CMP_LOCALE    \
-       assert(str1); assert(str2)
- #endif
- #ifndef PERL_NO_INLINE_FUNCTIONS
--PERL_STATIC_FORCE_INLINE I32  S_amagic_cmp_locale_desc(pTHX_ SV *const str1, SV *const str2)
--                      __attribute__always_inline__;
-+PERL_STATIC_FORCE_INLINE I32  S_amagic_cmp_locale_desc(pTHX_ SV *const str1, SV *const str2);
- #define PERL_ARGS_ASSERT_AMAGIC_CMP_LOCALE_DESC       \
-       assert(str1); assert(str2)
- #endif
- #ifndef PERL_NO_INLINE_FUNCTIONS
--PERL_STATIC_FORCE_INLINE I32  S_cmp_locale_desc(pTHX_ SV *const str1, SV *const str2)
--                      __attribute__always_inline__;
-+PERL_STATIC_FORCE_INLINE I32  S_cmp_locale_desc(pTHX_ SV *const str1, SV *const str2);
- #define PERL_ARGS_ASSERT_CMP_LOCALE_DESC      \
-       assert(str1); assert(str2)
- #endif
--- 
-2.25.1
-
index f80de889748643a4e90476f297dd64cfcc49cf87..7ca7c7d12fe0b3b91ce7d63cf4926a26177dd020 100644 (file)
@@ -1,4 +1,4 @@
-From 055d4c31f41611b7d7fb6b0e38b3818a053de38d Mon Sep 17 00:00:00 2001
+From e789c1a0c9de5928a3b49f5b9d81b63636f5c7bb Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin <alex.kanavin@gmail.com>
 Date: Sun, 27 May 2007 21:04:11 +0000
 Subject: [PATCH] perl: 5.8.7 -> 5.8.8 (from OE)
similarity index 99%
rename from meta/recipes-devtools/perl/perl_5.36.0.bb
rename to meta/recipes-devtools/perl/perl_5.36.1.bb
index b8dba00f188b6bf41a6cf735750e8ebddfa074ba..f7d66e6ed9061719561678aaac6bac77d946ea7f 100644 (file)
@@ -17,7 +17,6 @@ SRC_URI = "https://www.cpan.org/src/5.0/perl-${PV}.tar.gz;name=perl \
            file://0002-Constant-Fix-up-shebang.patch \
            file://determinism.patch \
            file://0001-cpan-Sys-Syslog-Makefile.PL-Fix-_PATH_LOG-for-determ.patch \
-           file://0001-Fix-build-with-gcc-12.patch \
            "
 SRC_URI:append:class-native = " \
            file://perl-configpm-switch.patch \
@@ -26,7 +25,7 @@ SRC_URI:append:class-target = " \
            file://encodefix.patch \
 "
 
-SRC_URI[perl.sha256sum] = "e26085af8ac396f62add8a533c3a0ea8c8497d836f0689347ac5abd7b7a4e00a"
+SRC_URI[perl.sha256sum] = "68203665d8ece02988fc77dc92fccbb297a83a4bb4b8d07558442f978da54cc1"
 
 B = "${WORKDIR}/perl-${PV}-build"