Gentoo Archives: gentoo-commits

From: Kent Fredric <kentnl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Convert-ASN1/, dev-perl/Convert-ASN1/files/
Date: Sat, 30 Sep 2017 14:37:13
Message-Id: 1506782170.e01729648ce1d959542ae9b707222bc08b2d9435.kentnl@gentoo
1 commit: e01729648ce1d959542ae9b707222bc08b2d9435
2 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 30 14:35:16 2017 +0000
4 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 30 14:36:10 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0172964
7
8 dev-perl/Convert-ASN1: Fix test failures without '.' in @INC bug #613638
9
10 Closes: https://bugs.gentoo.org/613638
11 Package-Manager: Portage-2.3.8, Repoman-2.3.3
12
13 dev-perl/Convert-ASN1/Convert-ASN1-0.270.0.ebuild | 3 +
14 .../files/Convert-ASN1-0.270.0-perl-526.patch | 307 +++++++++++++++++++++
15 2 files changed, 310 insertions(+)
16
17 diff --git a/dev-perl/Convert-ASN1/Convert-ASN1-0.270.0.ebuild b/dev-perl/Convert-ASN1/Convert-ASN1-0.270.0.ebuild
18 index 8bf449cb606..4d5d0099daf 100644
19 --- a/dev-perl/Convert-ASN1/Convert-ASN1-0.270.0.ebuild
20 +++ b/dev-perl/Convert-ASN1/Convert-ASN1-0.270.0.ebuild
21 @@ -21,5 +21,8 @@ DEPEND="${RDEPEND}
22 >=virtual/perl-Test-Simple-0.900.0
23 )
24 "
25 +PATCHES=(
26 + "${FILESDIR}/${P}-perl-526.patch"
27 +)
28
29 SRC_TEST=do
30
31 diff --git a/dev-perl/Convert-ASN1/files/Convert-ASN1-0.270.0-perl-526.patch b/dev-perl/Convert-ASN1/files/Convert-ASN1-0.270.0-perl-526.patch
32 new file mode 100644
33 index 00000000000..da6a54b35f5
34 --- /dev/null
35 +++ b/dev-perl/Convert-ASN1/files/Convert-ASN1-0.270.0-perl-526.patch
36 @@ -0,0 +1,307 @@
37 +From a174f9ced333da8dda20255bd97c075d690da2f8 Mon Sep 17 00:00:00 2001
38 +From: Kent Fredric <kentnl@g.o>
39 +Date: Sun, 1 Oct 2017 03:17:03 +1300
40 +Subject: Fix test failures under Perl 5.26+ without '.' in @INC
41 +
42 +Bug: https://github.com/gbarr/perl-Convert-ASN1/issues/33
43 +Bug: https://bugs.gentoo.org/613638
44 +Bug: https://github.com/gbarr/perl-Convert-ASN1/pull/36
45 +---
46 + t/00prim.t | 2 +-
47 + t/01tag.t | 2 +-
48 + t/02seq.t | 2 +-
49 + t/03seqof.t | 2 +-
50 + t/04opt.t | 2 +-
51 + t/05time.t | 2 +-
52 + t/06bigint.t | 2 +-
53 + t/08set.t | 2 +-
54 + t/09contr.t | 2 +-
55 + t/10choice.t | 2 +-
56 + t/11explicit.t | 2 +-
57 + t/11indef.t | 2 +-
58 + t/12der.t | 2 +-
59 + t/13utf8.t | 2 +-
60 + t/14any.t | 2 +-
61 + t/15extseq.t | 2 +-
62 + t/16extset.t | 2 +-
63 + t/17extchoice.t | 2 +-
64 + t/18tagdefault.t | 2 +-
65 + t/99misc.t | 2 +-
66 + t/x509.t | 2 +-
67 + 21 files changed, 21 insertions(+), 21 deletions(-)
68 +
69 +diff --git a/t/00prim.t b/t/00prim.t
70 +index 904c9c6..e5468f7 100644
71 +--- a/t/00prim.t
72 ++++ b/t/00prim.t
73 +@@ -8,7 +8,7 @@ use Convert::ASN1 qw(:all);
74 +
75 + print "1..186\n";
76 +
77 +-BEGIN { require 't/funcs.pl' }
78 ++BEGIN { require './t/funcs.pl' }
79 +
80 + ntest 1, 129, asn_tag(ASN_CONTEXT, 1);
81 + ntest 2, 0x201f, asn_tag(ASN_UNIVERSAL, 32);
82 +diff --git a/t/01tag.t b/t/01tag.t
83 +index 40e28a0..0a44729 100644
84 +--- a/t/01tag.t
85 ++++ b/t/01tag.t
86 +@@ -5,7 +5,7 @@
87 + #
88 +
89 + use Convert::ASN1;
90 +-BEGIN { require 't/funcs.pl' }
91 ++BEGIN { require './t/funcs.pl' }
92 +
93 + print "1..21\n";
94 +
95 +diff --git a/t/02seq.t b/t/02seq.t
96 +index bc21712..4585195 100644
97 +--- a/t/02seq.t
98 ++++ b/t/02seq.t
99 +@@ -5,7 +5,7 @@
100 + #
101 +
102 + use Convert::ASN1;
103 +-BEGIN { require 't/funcs.pl' }
104 ++BEGIN { require './t/funcs.pl' }
105 +
106 + print "1..18\n";
107 +
108 +diff --git a/t/03seqof.t b/t/03seqof.t
109 +index 66683b6..9f85c48 100644
110 +--- a/t/03seqof.t
111 ++++ b/t/03seqof.t
112 +@@ -4,7 +4,7 @@
113 + # Test that the primitive operators are working
114 + #
115 +
116 +-BEGIN { require 't/funcs.pl' }
117 ++BEGIN { require './t/funcs.pl' }
118 +
119 + use Convert::ASN1;
120 +
121 +diff --git a/t/04opt.t b/t/04opt.t
122 +index 7f23fca..ba2f958 100644
123 +--- a/t/04opt.t
124 ++++ b/t/04opt.t
125 +@@ -5,7 +5,7 @@
126 + #
127 +
128 + use Convert::ASN1;
129 +-BEGIN { require 't/funcs.pl' }
130 ++BEGIN { require './t/funcs.pl' }
131 +
132 + print "1..16\n"; # This testcase needs more tests
133 +
134 +diff --git a/t/05time.t b/t/05time.t
135 +index f444e7f..082b4e7 100644
136 +--- a/t/05time.t
137 ++++ b/t/05time.t
138 +@@ -10,7 +10,7 @@ use Convert::ASN1 qw(:all);
139 +
140 + print "1..24\n";
141 +
142 +-BEGIN { require 't/funcs.pl' }
143 ++BEGIN { require './t/funcs.pl' }
144 +
145 + my $t = 1;
146 +
147 +diff --git a/t/06bigint.t b/t/06bigint.t
148 +index f9aeba3..bde99f6 100644
149 +--- a/t/06bigint.t
150 ++++ b/t/06bigint.t
151 +@@ -5,7 +5,7 @@
152 + #
153 +
154 + use Convert::ASN1;
155 +-BEGIN { require 't/funcs.pl' }
156 ++BEGIN { require './t/funcs.pl' }
157 +
158 + $^W=0 if $] < 5.005; # BigInt in 5.004 has undef issues
159 +
160 +diff --git a/t/08set.t b/t/08set.t
161 +index b35a7ba..ee6af6e 100644
162 +--- a/t/08set.t
163 ++++ b/t/08set.t
164 +@@ -5,7 +5,7 @@
165 + #
166 +
167 + use Convert::ASN1;
168 +-BEGIN { require 't/funcs.pl' }
169 ++BEGIN { require './t/funcs.pl' }
170 +
171 + print "1..13\n";
172 +
173 +diff --git a/t/09contr.t b/t/09contr.t
174 +index 2213c7e..47cb280 100644
175 +--- a/t/09contr.t
176 ++++ b/t/09contr.t
177 +@@ -5,7 +5,7 @@
178 + #
179 +
180 + use Convert::ASN1;
181 +-BEGIN { require 't/funcs.pl' }
182 ++BEGIN { require './t/funcs.pl' }
183 +
184 + print "1..4\n";
185 +
186 +diff --git a/t/10choice.t b/t/10choice.t
187 +index 6ceeb6d..5e0a050 100644
188 +--- a/t/10choice.t
189 ++++ b/t/10choice.t
190 +@@ -5,7 +5,7 @@
191 + #
192 +
193 + use Convert::ASN1;
194 +-BEGIN { require 't/funcs.pl' }
195 ++BEGIN { require './t/funcs.pl' }
196 +
197 + print "1..10\n";
198 +
199 +diff --git a/t/11explicit.t b/t/11explicit.t
200 +index 7e24506..8c60493 100644
201 +--- a/t/11explicit.t
202 ++++ b/t/11explicit.t
203 +@@ -1,6 +1,6 @@
204 + #!/usr/local/bin/perl
205 +
206 +-BEGIN { require 't/funcs.pl' }
207 ++BEGIN { require './t/funcs.pl' }
208 +
209 + use Convert::ASN1;
210 +
211 +diff --git a/t/11indef.t b/t/11indef.t
212 +index 7c3886d..4a33eec 100644
213 +--- a/t/11indef.t
214 ++++ b/t/11indef.t
215 +@@ -4,7 +4,7 @@
216 + # Test that indefinite length encodings can be decoded
217 + #
218 +
219 +-BEGIN { require 't/funcs.pl' }
220 ++BEGIN { require './t/funcs.pl' }
221 +
222 + use Convert::ASN1;
223 + my @zz = ( 0, 0 );
224 +diff --git a/t/12der.t b/t/12der.t
225 +index b7d1b79..f2f9716 100644
226 +--- a/t/12der.t
227 ++++ b/t/12der.t
228 +@@ -5,7 +5,7 @@
229 + #
230 +
231 + use Convert::ASN1;
232 +-BEGIN { require 't/funcs.pl' }
233 ++BEGIN { require './t/funcs.pl' }
234 +
235 + print "1..18\n";
236 +
237 +diff --git a/t/13utf8.t b/t/13utf8.t
238 +index 1f62042..6fdb596 100644
239 +--- a/t/13utf8.t
240 ++++ b/t/13utf8.t
241 +@@ -5,7 +5,7 @@
242 + #
243 +
244 + use Convert::ASN1;
245 +-BEGIN { require 't/funcs.pl' }
246 ++BEGIN { require './t/funcs.pl' }
247 +
248 + if ($] < 5.007) {
249 + print "1..0\n";
250 +diff --git a/t/14any.t b/t/14any.t
251 +index 4147764..05370ba 100644
252 +--- a/t/14any.t
253 ++++ b/t/14any.t
254 +@@ -4,7 +4,7 @@
255 + # Check whether the ANY DEFINED BY syntax is working
256 + #
257 +
258 +-BEGIN { require 't/funcs.pl'}
259 ++BEGIN { require './t/funcs.pl'}
260 +
261 + use Convert::ASN1;
262 +
263 +diff --git a/t/15extseq.t b/t/15extseq.t
264 +index 6060793..2b98854 100644
265 +--- a/t/15extseq.t
266 ++++ b/t/15extseq.t
267 +@@ -5,7 +5,7 @@
268 + #
269 +
270 + use Convert::ASN1;
271 +-BEGIN { require 't/funcs.pl' }
272 ++BEGIN { require './t/funcs.pl' }
273 +
274 + print "1..27\n";
275 +
276 +diff --git a/t/16extset.t b/t/16extset.t
277 +index c57ac0c..cd2caa2 100644
278 +--- a/t/16extset.t
279 ++++ b/t/16extset.t
280 +@@ -5,7 +5,7 @@
281 + #
282 +
283 + use Convert::ASN1;
284 +-BEGIN { require 't/funcs.pl' }
285 ++BEGIN { require './t/funcs.pl' }
286 +
287 + print "1..27\n";
288 +
289 +diff --git a/t/17extchoice.t b/t/17extchoice.t
290 +index 66bd9c5..7528d72 100644
291 +--- a/t/17extchoice.t
292 ++++ b/t/17extchoice.t
293 +@@ -5,7 +5,7 @@
294 + #
295 +
296 + use Convert::ASN1;
297 +-BEGIN { require 't/funcs.pl' }
298 ++BEGIN { require './t/funcs.pl' }
299 +
300 + print "1..19\n";
301 +
302 +diff --git a/t/18tagdefault.t b/t/18tagdefault.t
303 +index 6a1fa3b..a589920 100644
304 +--- a/t/18tagdefault.t
305 ++++ b/t/18tagdefault.t
306 +@@ -5,7 +5,7 @@
307 + #
308 +
309 + use Convert::ASN1;
310 +-BEGIN { require 't/funcs.pl' }
311 ++BEGIN { require './t/funcs.pl' }
312 +
313 + print "1..25\n";
314 +
315 +diff --git a/t/99misc.t b/t/99misc.t
316 +index 4b67aba..c06bd8e 100644
317 +--- a/t/99misc.t
318 ++++ b/t/99misc.t
319 +@@ -5,7 +5,7 @@
320 + #
321 +
322 + use Convert::ASN1;
323 +-BEGIN { require 't/funcs.pl' }
324 ++BEGIN { require './t/funcs.pl' }
325 +
326 + print "1..2\n";
327 +
328 +diff --git a/t/x509.t b/t/x509.t
329 +index 3fd5ba0..0b9bfeb 100644
330 +--- a/t/x509.t
331 ++++ b/t/x509.t
332 +@@ -2,7 +2,7 @@
333 +
334 + print "1..26\n";
335 +
336 +-BEGIN { require 't/funcs.pl' }
337 ++BEGIN { require './t/funcs.pl' }
338 +
339 + use Convert::ASN1;
340 +
341 +--
342 +2.14.1
343 +