summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/perl/perl/ext-ODBM_File-t-odbm.t-fix-the-path-of-dbmt_common.p.patch31
-rw-r--r--meta/recipes-devtools/perl/perl_5.22.0.bb1
2 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl/ext-ODBM_File-t-odbm.t-fix-the-path-of-dbmt_common.p.patch b/meta/recipes-devtools/perl/perl/ext-ODBM_File-t-odbm.t-fix-the-path-of-dbmt_common.p.patch
new file mode 100644
index 0000000000..6b05b877fb
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl/ext-ODBM_File-t-odbm.t-fix-the-path-of-dbmt_common.p.patch
@@ -0,0 +1,31 @@
1From b842e1de7798a1f7df770bb3f185ad3356e490e6 Mon Sep 17 00:00:00 2001
2From: Robert Yang <liezhi.yang@windriver.com>
3Date: Mon, 22 Jun 2015 20:06:56 -0700
4Subject: [PATCH] ext/ODBM_File/t/odbm.t: fix the path of dbmt_common.pl
5
6It should be lib/dbmt_common.pl when run by run-ptest.
7
8Fixed:
9Can't locate ../../t/lib/dbmt_common.pl in @INC
10
11Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
12---
13 ext/ODBM_File/t/odbm.t | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/ext/ODBM_File/t/odbm.t b/ext/ODBM_File/t/odbm.t
17index 079b9f1..250b991 100644
18--- a/ext/ODBM_File/t/odbm.t
19+++ b/ext/ODBM_File/t/odbm.t
20@@ -2,7 +2,7 @@
21
22 our $DBM_Class = 'ODBM_File';
23
24-require '../../t/lib/dbmt_common.pl';
25+require 'lib/dbmt_common.pl';
26
27 if ($^O eq 'hpux') {
28 print <<EOM;
29--
301.7.9.5
31
diff --git a/meta/recipes-devtools/perl/perl_5.22.0.bb b/meta/recipes-devtools/perl/perl_5.22.0.bb
index 7c7041475f..1aa97373e0 100644
--- a/meta/recipes-devtools/perl/perl_5.22.0.bb
+++ b/meta/recipes-devtools/perl/perl_5.22.0.bb
@@ -60,6 +60,7 @@ SRC_URI += " \
60 file://make_ext.pl-fix-regenerate-makefile-failed-while-cc-.patch \ 60 file://make_ext.pl-fix-regenerate-makefile-failed-while-cc-.patch \
61 file://t-run-switches.t-perl5-perl.patch \ 61 file://t-run-switches.t-perl5-perl.patch \
62 file://ext-ODBM_File-hints-linux.pl-link-libgdbm_compat.patch \ 62 file://ext-ODBM_File-hints-linux.pl-link-libgdbm_compat.patch \
63 file://ext-ODBM_File-t-odbm.t-fix-the-path-of-dbmt_common.p.patch \
63" 64"
64 65
65# Fix test case issues 66# Fix test case issues