diff options
| -rw-r--r-- | meta-oe/recipes-devtools/perl/libdev-checklib-perl/0001-CheckLib.pm-don-t-execute-the-binary.patch | 20 | ||||
| -rw-r--r-- | meta-oe/recipes-devtools/perl/libdev-checklib-perl_1.16.bb (renamed from meta-oe/recipes-devtools/perl/libdev-checklib-perl_1.14.bb) | 3 |
2 files changed, 11 insertions, 12 deletions
diff --git a/meta-oe/recipes-devtools/perl/libdev-checklib-perl/0001-CheckLib.pm-don-t-execute-the-binary.patch b/meta-oe/recipes-devtools/perl/libdev-checklib-perl/0001-CheckLib.pm-don-t-execute-the-binary.patch index 78a7e63b9e..8d4920b390 100644 --- a/meta-oe/recipes-devtools/perl/libdev-checklib-perl/0001-CheckLib.pm-don-t-execute-the-binary.patch +++ b/meta-oe/recipes-devtools/perl/libdev-checklib-perl/0001-CheckLib.pm-don-t-execute-the-binary.patch | |||
| @@ -29,18 +29,18 @@ Signed-off-by: Mingli Yu <mingli.yu@windriver.com> | |||
| 29 | 1 file changed, 1 insertion(+), 1 deletion(-) | 29 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 30 | 30 | ||
| 31 | diff --git a/lib/Devel/CheckLib.pm b/lib/Devel/CheckLib.pm | 31 | diff --git a/lib/Devel/CheckLib.pm b/lib/Devel/CheckLib.pm |
| 32 | index e45cfb4..d228bb5 100644 | 32 | index 2e5a252..5c2f0b0 100644 |
| 33 | --- a/lib/Devel/CheckLib.pm | 33 | --- a/lib/Devel/CheckLib.pm |
| 34 | +++ b/lib/Devel/CheckLib.pm | 34 | +++ b/lib/Devel/CheckLib.pm |
| 35 | @@ -424,7 +424,7 @@ sub assert_lib { | 35 | @@ -403,7 +403,7 @@ sub assert_lib { |
| 36 | my $absexefile = File::Spec->rel2abs($exefile); | 36 | if ($execute) { |
| 37 | $absexefile = '"'.$absexefile.'"' if $absexefile =~ m/\s/; | 37 | my $retval = system($absexefile); |
| 38 | if (!$not_execute && system($absexefile) != 0) { | 38 | warn "# return value: $retval\n" if $args{debug}; |
| 39 | - push @wrongresult, $lib; | 39 | - push @wrongresult, $lib if $retval != 0; |
| 40 | + print "Checking the lib $lib\n"; | 40 | + print "Checking the lib $lib\n" if $retval != 0; |
| 41 | } | 41 | } |
| 42 | else { | 42 | push @wronganalysis, $lib |
| 43 | if ($analyze_binary) { | 43 | if $analyze_binary and !$analyze_binary->($lib, $exefile); |
| 44 | -- | 44 | -- |
| 45 | 2.17.1 | 45 | 2.25.1 |
| 46 | 46 | ||
diff --git a/meta-oe/recipes-devtools/perl/libdev-checklib-perl_1.14.bb b/meta-oe/recipes-devtools/perl/libdev-checklib-perl_1.16.bb index 0863bb862d..74a09e7bf8 100644 --- a/meta-oe/recipes-devtools/perl/libdev-checklib-perl_1.14.bb +++ b/meta-oe/recipes-devtools/perl/libdev-checklib-perl_1.16.bb | |||
| @@ -11,8 +11,7 @@ LIC_FILES_CHKSUM = "file://README;md5=7911cdbb572d25c5f2e2ea17f669efc2" | |||
| 11 | SRC_URI = "https://cpan.metacpan.org/modules/by-module/Devel/Devel-CheckLib-${PV}.tar.gz \ | 11 | SRC_URI = "https://cpan.metacpan.org/modules/by-module/Devel/Devel-CheckLib-${PV}.tar.gz \ |
| 12 | file://0001-CheckLib.pm-don-t-execute-the-binary.patch \ | 12 | file://0001-CheckLib.pm-don-t-execute-the-binary.patch \ |
| 13 | " | 13 | " |
| 14 | SRC_URI[md5sum] = "3519cbf9fe5ec3404449d5330ee5537f" | 14 | SRC_URI[sha256sum] = "869d38c258e646dcef676609f0dd7ca90f085f56cf6fd7001b019a5d5b831fca" |
| 15 | SRC_URI[sha256sum] = "f21c5e299ad3ce0fdc0cb0f41378dca85a70e8d6c9a7599f0e56a957200ec294" | ||
| 16 | 15 | ||
| 17 | S = "${WORKDIR}/Devel-CheckLib-${PV}" | 16 | S = "${WORKDIR}/Devel-CheckLib-${PV}" |
| 18 | 17 | ||
