summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/perl/libdbi-perl/0001-Fix-building-on-Fedora-40-with-GCC-14.2.1.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-devtools/perl/libdbi-perl/0001-Fix-building-on-Fedora-40-with-GCC-14.2.1.patch')
-rw-r--r--meta-oe/recipes-devtools/perl/libdbi-perl/0001-Fix-building-on-Fedora-40-with-GCC-14.2.1.patch28
1 files changed, 0 insertions, 28 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