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/Params-Classify/files/
Date: Tue, 28 Apr 2020 07:08:56
Message-Id: 1588057553.e2702035597468865b525a6014990c432d2d4dc2.kentnl@gentoo
1 commit: e2702035597468865b525a6014990c432d2d4dc2
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Sat Apr 25 15:51:33 2020 +0000
4 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 28 07:05:53 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2702035
7
8 dev-perl/Params-Classify: remove unused patch(es)
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
12 Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
13
14 .../files/Params-Classify-0.13.0-no-dot-inc.patch | 101 ---------------------
15 .../files/Params-Classify-0.13.0-op_sibling.patch | 82 -----------------
16 2 files changed, 183 deletions(-)
17
18 diff --git a/dev-perl/Params-Classify/files/Params-Classify-0.13.0-no-dot-inc.patch b/dev-perl/Params-Classify/files/Params-Classify-0.13.0-no-dot-inc.patch
19 deleted file mode 100644
20 index 06cf4f49cbb..00000000000
21 --- a/dev-perl/Params-Classify/files/Params-Classify-0.13.0-no-dot-inc.patch
22 +++ /dev/null
23 @@ -1,101 +0,0 @@
24 -From d612219a1a3bfe14f0cd1de59709724b35d7f21c Mon Sep 17 00:00:00 2001
25 -From: Kent Fredric <kentfredric@×××××.com>
26 -Date: Tue, 20 Jun 2017 05:45:39 +1200
27 -Subject: [PATCH] Fix for '.' in @INC
28 -
29 ----
30 - t/blessed_pp.t | 4 ++--
31 - t/check_pp.t | 4 ++--
32 - t/classify_pp.t | 4 ++--
33 - t/error_pp.t | 4 ++--
34 - t/pod_cvg_pp.t | 4 ++--
35 - t/ref_pp.t | 4 ++--
36 - 6 files changed, 12 insertions(+), 12 deletions(-)
37 -
38 -diff --git a/t/blessed_pp.t b/t/blessed_pp.t
39 -index 84caf74..e6d1865 100644
40 ---- a/t/blessed_pp.t
41 -+++ b/t/blessed_pp.t
42 -@@ -1,7 +1,7 @@
43 - use warnings;
44 - use strict;
45 -
46 --do "t/setup_pp.pl" or die $@ || $!;
47 --do "t/blessed.t" or die $@ || $!;
48 -+do "./t/setup_pp.pl" or die $@ || $!;
49 -+do "./t/blessed.t" or die $@ || $!;
50 -
51 - 1;
52 -diff --git a/t/check_pp.t b/t/check_pp.t
53 -index ce2ef1d..5564360 100644
54 ---- a/t/check_pp.t
55 -+++ b/t/check_pp.t
56 -@@ -1,7 +1,7 @@
57 - use warnings;
58 - use strict;
59 -
60 --do "t/setup_pp.pl" or die $@ || $!;
61 --do "t/check.t" or die $@ || $!;
62 -+do "./t/setup_pp.pl" or die $@ || $!;
63 -+do "./t/check.t" or die $@ || $!;
64 -
65 - 1;
66 -diff --git a/t/classify_pp.t b/t/classify_pp.t
67 -index facdab2..1dd9cbc 100644
68 ---- a/t/classify_pp.t
69 -+++ b/t/classify_pp.t
70 -@@ -1,7 +1,7 @@
71 - use warnings;
72 - use strict;
73 -
74 --do "t/setup_pp.pl" or die $@ || $!;
75 --do "t/classify.t" or die $@ || $!;
76 -+do "./t/setup_pp.pl" or die $@ || $!;
77 -+do "./t/classify.t" or die $@ || $!;
78 -
79 - 1;
80 -diff --git a/t/error_pp.t b/t/error_pp.t
81 -index 6473533..a018e32 100644
82 ---- a/t/error_pp.t
83 -+++ b/t/error_pp.t
84 -@@ -1,7 +1,7 @@
85 - use warnings;
86 - use strict;
87 -
88 --do "t/setup_pp.pl" or die $@ || $!;
89 --do "t/error.t" or die $@ || $!;
90 -+do "./t/setup_pp.pl" or die $@ || $!;
91 -+do "./t/error.t" or die $@ || $!;
92 -
93 - 1;
94 -diff --git a/t/pod_cvg_pp.t b/t/pod_cvg_pp.t
95 -index 960bc4f..8503674 100644
96 ---- a/t/pod_cvg_pp.t
97 -+++ b/t/pod_cvg_pp.t
98 -@@ -1,7 +1,7 @@
99 - use warnings;
100 - use strict;
101 -
102 --do "t/setup_pp.pl" or die $@ || $!;
103 --do "t/pod_cvg.t" or die $@ || $!;
104 -+do "./t/setup_pp.pl" or die $@ || $!;
105 -+do "./t/pod_cvg.t" or die $@ || $!;
106 -
107 - 1;
108 -diff --git a/t/ref_pp.t b/t/ref_pp.t
109 -index f3b5941..55f487d 100644
110 ---- a/t/ref_pp.t
111 -+++ b/t/ref_pp.t
112 -@@ -1,7 +1,7 @@
113 - use warnings;
114 - use strict;
115 -
116 --do "t/setup_pp.pl" or die $@ || $!;
117 --do "t/ref.t" or die $@ || $!;
118 -+do "./t/setup_pp.pl" or die $@ || $!;
119 -+do "./t/ref.t" or die $@ || $!;
120 -
121 - 1;
122 ---
123 -2.13.1
124 -
125
126 diff --git a/dev-perl/Params-Classify/files/Params-Classify-0.13.0-op_sibling.patch b/dev-perl/Params-Classify/files/Params-Classify-0.13.0-op_sibling.patch
127 deleted file mode 100644
128 index a7c6adac0e9..00000000000
129 --- a/dev-perl/Params-Classify/files/Params-Classify-0.13.0-op_sibling.patch
130 +++ /dev/null
131 @@ -1,82 +0,0 @@
132 -https://rt.cpan.org/Ticket/Display.html?id=114490
133 -
134 -
135 ---- Params-Classify-0.013a/lib/Params/Classify.xs 2010-11-16 15:35:47.000000000 -0500
136 -+++ Params-Classify-0.013b/lib/Params/Classify.xs 2017-03-26 15:38:12.384693301 -0400
137 -@@ -41,6 +41,26 @@
138 - # define FPTR2DPTR(t,x) ((t)(UV)(x))
139 - #endif /* !FPTR2DPTR */
140 -
141 -+#ifndef OpHAS_SIBLING
142 -+# define OpHAS_SIBLING(o) (cBOOL((o)->op_sibling))
143 -+#endif
144 -+
145 -+#ifndef OpSIBLING
146 -+# define OpSIBLING(o) (0 + (o)->op_sibling)
147 -+#endif
148 -+
149 -+#ifndef OpMORESIB_set
150 -+# define OpMORESIB_set(o, sib) ((o)->op_sibling = (sib))
151 -+#endif
152 -+
153 -+#ifndef OpLASTSIB_set
154 -+# define OpLASTSIB_set(o, parent) ((o)->op_sibling = NULL)
155 -+#endif
156 -+
157 -+#ifndef OpMAYBESIB_set
158 -+# define OpMAYBESIB_set(o, sib, parent) ((o)->op_sibling = (sib))
159 -+#endif
160 -+
161 - #ifndef ptr_table_new
162 -
163 - struct q_ptr_tbl_ent {
164 -@@ -625,8 +645,8 @@
165 - OP *(*ppfunc)(pTHX);
166 - I32 cvflags;
167 - pushop = cUNOPx(op)->op_first;
168 -- if(!pushop->op_sibling) pushop = cUNOPx(pushop)->op_first;
169 -- for(cvop = pushop; cvop->op_sibling; cvop = cvop->op_sibling) ;
170 -+ if(!OpHAS_SIBLING(pushop)) pushop = cUNOPx(pushop)->op_first;
171 -+ for(cvop = pushop; OpHAS_SIBLING(cvop); cvop = OpSIBLING(cvop)) ;
172 - if(!(cvop->op_type == OP_RV2CV &&
173 - !(cvop->op_private & OPpENTERSUB_AMPER) &&
174 - (cv = rvop_cv(cUNOPx(cvop)->op_first)) &&
175 -@@ -635,20 +655,20 @@
176 - return nxck_entersub(aTHX_ op);
177 - cvflags = CvXSUBANY(cv).any_i32;
178 - op = nxck_entersub(aTHX_ op); /* for prototype checking */
179 -- aop = pushop->op_sibling;
180 -- bop = aop->op_sibling;
181 -+ aop = OpSIBLING(pushop);
182 -+ bop = OpSIBLING(aop);
183 - if(bop == cvop) {
184 - if(!(cvflags & PC_ALLOW_UNARY)) return op;
185 - unary:
186 -- pushop->op_sibling = bop;
187 -- aop->op_sibling = NULL;
188 -+ OpLASTSIB_set(pushop, bop);
189 -+ OpLASTSIB_set(aop, NULL);
190 - op_free(op);
191 - op = newUNOP(OP_NULL, 0, aop);
192 - op->op_type = OP_RAND;
193 - op->op_ppaddr = ppfunc;
194 - op->op_private = (U8)cvflags;
195 - return op;
196 -- } else if(bop && bop->op_sibling == cvop) {
197 -+ } else if(bop && OpSIBLING(op) == cvop) {
198 - if(!(cvflags & PC_ALLOW_BINARY)) return op;
199 - if(ppfunc == THX_pp_check_sclass &&
200 - (cvflags & PC_TYPE_MASK) == SCLASS_REF) {
201 -@@ -667,9 +687,9 @@
202 - cvflags &= ~PC_TYPE_MASK;
203 - ppfunc = THX_pp_check_dyn_battr;
204 - }
205 -- pushop->op_sibling = cvop;
206 -- aop->op_sibling = NULL;
207 -- bop->op_sibling = NULL;
208 -+ OpLASTSIB_set(pushop, cvop);
209 -+ OpLASTSIB_set(aop, NULL);
210 -+ OpLASTSIB_set(bop, NULL);
211 - op_free(op);
212 - op = newBINOP(OP_NULL, 0, aop, bop);
213 - op->op_type = OP_RAND;