Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Alexander Kanavin <alex.kanavin@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 09/11] libxml-parser-perl: update to 2.46
Date: Fri, 20 Dec 2019 17:23:49 +0100	[thread overview]
Message-ID: <20191220162351.94498-9-alex.kanavin@gmail.com> (raw)
In-Reply-To: <20191220162351.94498-1-alex.kanavin@gmail.com>

License-Update: readme no longer carries a copyright notice, so take it from a source file
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 ...ot-attempt-to-run-a-cross-executable.patch | 24 +++++++++++++++++++
 ...erl_2.44.bb => libxml-parser-perl_2.46.bb} | 11 +++++----
 2 files changed, 31 insertions(+), 4 deletions(-)
 create mode 100644 meta/recipes-devtools/perl/files/0001-CheckLib.pm-do-not-attempt-to-run-a-cross-executable.patch
 rename meta/recipes-devtools/perl/{libxml-parser-perl_2.44.bb => libxml-parser-perl_2.46.bb} (81%)

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 00000000000..c5bbe7888ed
--- /dev/null
+++ b/meta/recipes-devtools/perl/files/0001-CheckLib.pm-do-not-attempt-to-run-a-cross-executable.patch
@@ -0,0 +1,24 @@
+From a033c9ece12b6eead48eed63f106ccdec6159b0c Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin <alex.kanavin@gmail.com>
+Date: Fri, 20 Dec 2019 16:26:55 +0100
+Subject: [PATCH] CheckLib.pm: do not attempt to run a cross executable
+
+Upstream-Status: Inappropriate [oe-core specific]
+Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
+---
+ inc/Devel/CheckLib.pm | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/inc/Devel/CheckLib.pm b/inc/Devel/CheckLib.pm
+index 36a451a..b04acc1 100644
+--- a/inc/Devel/CheckLib.pm
++++ b/inc/Devel/CheckLib.pm
+@@ -330,7 +330,7 @@ sub assert_lib {
+         push @missing, $lib if $rv != 0 || !-x $exefile;
+         my $absexefile = File::Spec->rel2abs($exefile);
+         $absexefile = '"' . $absexefile . '"' if $absexefile =~ m/\s/;
+-        push @wrongresult, $lib if $rv == 0 && -x $exefile && system($absexefile) != 0;
++        push @wrongresult, $lib if $rv == 0 && -x $exefile && 0 != 0;
+         unlink $ofile if -e $ofile;
+         _cleanup_exe($exefile);
+     }
diff --git a/meta/recipes-devtools/perl/libxml-parser-perl_2.44.bb b/meta/recipes-devtools/perl/libxml-parser-perl_2.46.bb
similarity index 81%
rename from meta/recipes-devtools/perl/libxml-parser-perl_2.44.bb
rename to meta/recipes-devtools/perl/libxml-parser-perl_2.46.bb
index 7c9b7696a7a..bc154bbdc50 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"
 HOMEPAGE = "https://libexpat.github.io/"
 SECTION = "libs"
 LICENSE = "Artistic-1.0 | GPL-1.0+"
-LIC_FILES_CHKSUM = "file://README;beginline=2;endline=6;md5=c8767d7516229f07b26e42d1cf8b51f1"
+LIC_FILES_CHKSUM = "file://Parser.pm;beginline=1;endline=7;md5=d12cc778c80fc4c518f0e5dee29fd5fb"
 
 DEPENDS += "expat"
 
-SRC_URI = "http://www.cpan.org/modules/by-module/XML/XML-Parser-${PV}.tar.gz"
-SRC_URI[md5sum] = "af4813fe3952362451201ced6fbce379"
-SRC_URI[sha256sum] = "1ae9d07ee9c35326b3d9aad56eae71a6730a73a116b9fe9e8a4758b7cc033216"
+SRC_URI = "http://www.cpan.org/modules/by-module/XML/XML-Parser-${PV}.tar.gz \
+           file://ptest-perl/run-ptest \
+           file://0001-CheckLib.pm-do-not-attempt-to-run-a-cross-executable.patch \
+           "
+SRC_URI[md5sum] = "80bb18a8e6240fcf7ec2f7b57601c170"
+SRC_URI[sha256sum] = "d331332491c51cccfb4cb94ffc44f9cd73378e618498d4a37df9e043661c515d"
 
 S = "${WORKDIR}/XML-Parser-${PV}"
 
-- 
2.17.1



  parent reply	other threads:[~2019-12-20 16:24 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-20 16:23 [PATCH 01/11] elfutils: upgrade 0.177 -> 0.178 Alexander Kanavin
2019-12-20 16:23 ` [PATCH 02/11] acl/attr: restore the package split Alexander Kanavin
2019-12-20 16:23 ` [PATCH 03/11] recipetool: always use python 3 in recipe creation Alexander Kanavin
2019-12-20 16:23 ` [PATCH 04/11] core-image-testmaster: use Python 3 Alexander Kanavin
2019-12-20 16:23 ` [PATCH 05/11] ptest-packagelists: drop python 2.x Alexander Kanavin
2019-12-20 16:23 ` [PATCH 06/11] ltp: fix build with musl Alexander Kanavin
2019-12-20 16:23 ` [PATCH 07/11] diffstat: update to 1.63 Alexander Kanavin
2019-12-20 16:23 ` [PATCH 08/11] prelink: upgrade to latest revision (in the cross_prelink branch) Alexander Kanavin
2019-12-20 16:23 ` Alexander Kanavin [this message]
2019-12-20 16:23 ` [PATCH 10/11] libcap: update to 2.28 Alexander Kanavin
2019-12-29  9:22   ` Richard Purdie
2019-12-29  9:46     ` Alexander Kanavin
2019-12-20 16:23 ` [PATCH 11/11] kexec-tools: update to 2.0.20 Alexander Kanavin
2019-12-20 16:32 ` ✗ patchtest: failure for "elfutils: upgrade 0.177 -> 0.1..." and 10 more Patchwork
2019-12-29 17:18 ` [PATCH 01/11] elfutils: upgrade 0.177 -> 0.178 Richard Purdie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191220162351.94498-9-alex.kanavin@gmail.com \
    --to=alex.kanavin@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox