summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2019-12-20 17:23:49 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-12-30 08:47:13 +0000
commitc41316692415257c73e8403b001b14a0168ccf59 (patch)
treeeda4cc27e042ae2f86a2b40f9a2f2791225c733d /meta/recipes-devtools
parentde46026b3aaee413a129a6cef6134edc49a4f4fa (diff)
downloadpoky-c41316692415257c73e8403b001b14a0168ccf59.tar.gz
libxml-parser-perl: update to 2.46
License-Update: readme no longer carries a copyright notice, so take it from a source file (From OE-Core rev: 30fa7e5edb91512a0f5c00db6259f1dcaea4fb2d) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/perl/files/0001-CheckLib.pm-do-not-attempt-to-run-a-cross-executable.patch24
-rw-r--r--meta/recipes-devtools/perl/libxml-parser-perl_2.46.bb (renamed from meta/recipes-devtools/perl/libxml-parser-perl_2.44.bb)11
2 files changed, 31 insertions, 4 deletions
diff --git a/meta/recipes-devtools/perl/files/0001-CheckLib.pm-do-not-attempt-to-run-a-cross-executable.patch b/meta/recipes-devtools/perl/files/0001-CheckLib.pm-do-not-attempt-to-run-a-cross-executable.patch
new file mode 100644
index 0000000000..c5bbe7888e
--- /dev/null
+++ b/meta/recipes-devtools/perl/files/0001-CheckLib.pm-do-not-attempt-to-run-a-cross-executable.patch
@@ -0,0 +1,24 @@
1From a033c9ece12b6eead48eed63f106ccdec6159b0c Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Fri, 20 Dec 2019 16:26:55 +0100
4Subject: [PATCH] CheckLib.pm: do not attempt to run a cross executable
5
6Upstream-Status: Inappropriate [oe-core specific]
7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
8---
9 inc/Devel/CheckLib.pm | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/inc/Devel/CheckLib.pm b/inc/Devel/CheckLib.pm
13index 36a451a..b04acc1 100644
14--- a/inc/Devel/CheckLib.pm
15+++ b/inc/Devel/CheckLib.pm
16@@ -330,7 +330,7 @@ sub assert_lib {
17 push @missing, $lib if $rv != 0 || !-x $exefile;
18 my $absexefile = File::Spec->rel2abs($exefile);
19 $absexefile = '"' . $absexefile . '"' if $absexefile =~ m/\s/;
20- push @wrongresult, $lib if $rv == 0 && -x $exefile && system($absexefile) != 0;
21+ push @wrongresult, $lib if $rv == 0 && -x $exefile && 0 != 0;
22 unlink $ofile if -e $ofile;
23 _cleanup_exe($exefile);
24 }
diff --git a/meta/recipes-devtools/perl/libxml-parser-perl_2.44.bb b/meta/recipes-devtools/perl/libxml-parser-perl_2.46.bb
index 7c9b7696a7..bc154bbdc5 100644
--- a/meta/recipes-devtools/perl/libxml-parser-perl_2.44.bb
+++ b/meta/recipes-devtools/perl/libxml-parser-perl_2.46.bb
@@ -2,13 +2,16 @@ SUMMARY = "XML::Parser - A perl module for parsing XML documents"
2HOMEPAGE = "https://libexpat.github.io/" 2HOMEPAGE = "https://libexpat.github.io/"
3SECTION = "libs" 3SECTION = "libs"
4LICENSE = "Artistic-1.0 | GPL-1.0+" 4LICENSE = "Artistic-1.0 | GPL-1.0+"
5LIC_FILES_CHKSUM = "file://README;beginline=2;endline=6;md5=c8767d7516229f07b26e42d1cf8b51f1" 5LIC_FILES_CHKSUM = "file://Parser.pm;beginline=1;endline=7;md5=d12cc778c80fc4c518f0e5dee29fd5fb"
6 6
7DEPENDS += "expat" 7DEPENDS += "expat"
8 8
9SRC_URI = "http://www.cpan.org/modules/by-module/XML/XML-Parser-${PV}.tar.gz" 9SRC_URI = "http://www.cpan.org/modules/by-module/XML/XML-Parser-${PV}.tar.gz \
10SRC_URI[md5sum] = "af4813fe3952362451201ced6fbce379" 10 file://ptest-perl/run-ptest \
11SRC_URI[sha256sum] = "1ae9d07ee9c35326b3d9aad56eae71a6730a73a116b9fe9e8a4758b7cc033216" 11 file://0001-CheckLib.pm-do-not-attempt-to-run-a-cross-executable.patch \
12 "
13SRC_URI[md5sum] = "80bb18a8e6240fcf7ec2f7b57601c170"
14SRC_URI[sha256sum] = "d331332491c51cccfb4cb94ffc44f9cd73378e618498d4a37df9e043661c515d"
12 15
13S = "${WORKDIR}/XML-Parser-${PV}" 16S = "${WORKDIR}/XML-Parser-${PV}"
14 17