summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-devtools/perl/libdbi-perl/0001-Fix-building-on-Fedora-40-with-GCC-14.2.1.patch28
-rw-r--r--meta-oe/recipes-devtools/perl/libdbi-perl_1.646.bb (renamed from meta-oe/recipes-devtools/perl/libdbi-perl_1.644.bb)8
2 files changed, 3 insertions, 33 deletions
diff --git a/meta-oe/recipes-devtools/perl/libdbi-perl/0001-Fix-building-on-Fedora-40-with-GCC-14.2.1.patch b/meta-oe/recipes-devtools/perl/libdbi-perl/0001-Fix-building-on-Fedora-40-with-GCC-14.2.1.patch
deleted file mode 100644
index f29d6c4d8f..0000000000
--- a/meta-oe/recipes-devtools/perl/libdbi-perl/0001-Fix-building-on-Fedora-40-with-GCC-14.2.1.patch
+++ /dev/null
@@ -1,28 +0,0 @@
1From dc970a868a4c2d7e2051b533e0a3588ef1d35530 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Dani=C3=ABl=20van=20Eeden?= <git@myname.nl>
3Date: Mon, 26 Aug 2024 10:17:01 +0200
4Subject: [PATCH] Fix building on Fedora 40 with GCC 14.2.1
5
6Upstream-Status: Backport [https://github.com/perl5-dbi/dbi/commit/d6e2bf13ac6043f5b0a9a147805b4915bd70e631]
7
8Signed-off-by: Changqing Li <changqing.li@windriver.com>
9---
10 DBI.xs | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/DBI.xs b/DBI.xs
14index 747e341..9b1d136 100644
15--- a/DBI.xs
16+++ b/DBI.xs
17@@ -1106,7 +1106,7 @@ dbih_inner(pTHX_ SV *orv, const char *what)
18 if (!SvMAGICAL(ohv)) {
19 if (!what)
20 return NULL;
21- if (!hv_fetch(ohv,"_NO_DESTRUCT_WARN",17,0))
22+ if (!hv_fetch((HV*)ohv,"_NO_DESTRUCT_WARN",17,0))
23 sv_dump(orv);
24 croak("%s handle %s is not a DBI handle (has no magic)",
25 what, neatsvpv(orv,0));
26--
272.46.0
28
diff --git a/meta-oe/recipes-devtools/perl/libdbi-perl_1.644.bb b/meta-oe/recipes-devtools/perl/libdbi-perl_1.646.bb
index 7f6c9059d0..947353c17c 100644
--- a/meta-oe/recipes-devtools/perl/libdbi-perl_1.644.bb
+++ b/meta-oe/recipes-devtools/perl/libdbi-perl_1.646.bb
@@ -7,12 +7,10 @@ database interface independent of the actual database being used. \
7HOMEPAGE = "http://search.cpan.org/dist/DBI/" 7HOMEPAGE = "http://search.cpan.org/dist/DBI/"
8SECTION = "libs" 8SECTION = "libs"
9LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 9LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
10LIC_FILES_CHKSUM = "file://LICENSE;md5=8097b88c6165f0d43949441e6ea581cd" 10LIC_FILES_CHKSUM = "file://LICENSE;md5=65f65488c774efe1da488e36ad6c4a36"
11 11
12SRC_URI = "https://cpan.metacpan.org/authors/id/H/HM/HMBRAND/DBI-${PV}.tar.gz \ 12SRC_URI = "https://cpan.metacpan.org/authors/id/H/HM/HMBRAND/DBI-${PV}.tar.gz"
13 file://0001-Fix-building-on-Fedora-40-with-GCC-14.2.1.patch \ 13SRC_URI[sha256sum] = "53ab32ac8c30295a776dde658df22be760936cdca5a3c003a23bda6d829fa184"
14 "
15SRC_URI[sha256sum] = "2297b99de09e67086640b590699e0e982fb469da63a93fe28dc14782db7a53c8"
16 14
17S = "${WORKDIR}/DBI-${PV}" 15S = "${WORKDIR}/DBI-${PV}"
18 16