Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Convert-Binary-C/files/
Date: Thu, 26 Aug 2021 22:32:48
Message-Id: 1630017152.1c575442c1f356fe09bff788c12d20d2d63ef7ed.sam@gentoo
1 commit: 1c575442c1f356fe09bff788c12d20d2d63ef7ed
2 Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
3 AuthorDate: Wed Aug 25 14:37:49 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 26 22:32:32 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c575442
7
8 dev-perl/Convert-Binary-C: remove unused patch(es)
9
10 Package-Manager: Portage-3.0.22, Repoman-3.0.3
11 Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 .../files/Convert-Binary-C-0.780.0-perl-526.patch | 181 ---------------------
15 1 file changed, 181 deletions(-)
16
17 diff --git a/dev-perl/Convert-Binary-C/files/Convert-Binary-C-0.780.0-perl-526.patch b/dev-perl/Convert-Binary-C/files/Convert-Binary-C-0.780.0-perl-526.patch
18 deleted file mode 100644
19 index 2c61d6178bc..00000000000
20 --- a/dev-perl/Convert-Binary-C/files/Convert-Binary-C-0.780.0-perl-526.patch
21 +++ /dev/null
22 @@ -1,181 +0,0 @@
23 -From 26c2c60f11cf649f348a5af2c15f83525f02bf30 Mon Sep 17 00:00:00 2001
24 -From: Kent Fredric <kentfredric@×××××.com>
25 -Date: Wed, 20 Sep 2017 08:00:50 +1200
26 -Subject: Fix tests for Perl 5.26
27 -
28 -Bug: https://rt.cpan.org/Public/Bug/Display.html?id=121039
29 -Bug: https://bugs.gentoo.org/615106
30 -Bug: https://github.com/mhx/Convert-Binary-C/pull/6
31 ----
32 - bin/perltypes.PL | 3 ++-
33 - tests/206_parse.t | 4 ++--
34 - tests/209_sourcify.t | 2 +-
35 - tests/210_depend.t | 2 +-
36 - tests/211_clone.t | 2 +-
37 - tests/215_local.t | 2 +-
38 - tests/218_member.t | 2 +-
39 - tests/223_initializer.t | 2 +-
40 - tests/230_compiler.t | 2 +-
41 - tests/601_speed.t | 2 +-
42 - tests/602_threads.t | 2 +-
43 - 11 files changed, 13 insertions(+), 12 deletions(-)
44 -
45 -diff --git a/bin/perltypes.PL b/bin/perltypes.PL
46 -index 09ca5d2..be63ffd 100755
47 ---- a/bin/perltypes.PL
48 -+++ b/bin/perltypes.PL
49 -@@ -21,10 +21,11 @@ print OUT <<'!NO!SUBS!';
50 -
51 - use Convert::Binary::C;
52 - use Data::Dumper;
53 -+use File::Spec::Functions qw(rel2abs);
54 - use strict;
55 -
56 - my $base;
57 ---d "$_/include" and $base = "$_/include" and last for qw( tests ../tests );
58 -+-d "$_/include" and $base = rel2abs("$_/include") and last for qw( tests ../tests );
59 - defined $base or die <<MSG;
60 - Please run this script from either the 'examples' directory
61 - or the distribution base directory.
62 -diff --git a/tests/206_parse.t b/tests/206_parse.t
63 -index 6e34d63..a4c403f 100644
64 ---- a/tests/206_parse.t
65 -+++ b/tests/206_parse.t
66 -@@ -13,7 +13,7 @@ $^W = 1;
67 -
68 - BEGIN { plan tests => 116 }
69 -
70 --my $CCCFG = require 'tests/include/config.pl';
71 -+my $CCCFG = require './tests/include/config.pl';
72 -
73 - #===================================================================
74 - # create object (1 tests)
75 -@@ -140,7 +140,7 @@ ok($s1,329,"incorrect number of typedef identifiers");
76 - # check if all sizes are correct (1 big test)
77 - #===================================================================
78 -
79 --do 'tests/include/sizeof.pl';
80 -+do './tests/include/sizeof.pl';
81 - $max_size = 0;
82 - @fail = ();
83 - @success = ();
84 -diff --git a/tests/209_sourcify.t b/tests/209_sourcify.t
85 -index 3fbdae6..0f34e83 100644
86 ---- a/tests/209_sourcify.t
87 -+++ b/tests/209_sourcify.t
88 -@@ -13,7 +13,7 @@ $^W = 1;
89 -
90 - BEGIN { plan tests => 98 }
91 -
92 --my $CCCFG = require 'tests/include/config.pl';
93 -+my $CCCFG = require './tests/include/config.pl';
94 -
95 - eval {
96 - $orig = new Convert::Binary::C %$CCCFG;
97 -diff --git a/tests/210_depend.t b/tests/210_depend.t
98 -index b46fdf7..e2705fd 100644
99 ---- a/tests/210_depend.t
100 -+++ b/tests/210_depend.t
101 -@@ -13,7 +13,7 @@ $^W = 1;
102 -
103 - BEGIN { plan tests => 483 }
104 -
105 --my $CCCFG = require 'tests/include/config.pl';
106 -+my $CCCFG = require './tests/include/config.pl';
107 -
108 - eval {
109 - $c1 = new Convert::Binary::C Include => ['tests/include/files'];
110 -diff --git a/tests/211_clone.t b/tests/211_clone.t
111 -index 252554f..144de70 100644
112 ---- a/tests/211_clone.t
113 -+++ b/tests/211_clone.t
114 -@@ -13,7 +13,7 @@ $^W = 1;
115 -
116 - BEGIN { plan tests => 35 }
117 -
118 --my $CCCFG = require 'tests/include/config.pl';
119 -+my $CCCFG = require './tests/include/config.pl';
120 -
121 - eval {
122 - $orig = new Convert::Binary::C %$CCCFG;
123 -diff --git a/tests/215_local.t b/tests/215_local.t
124 -index dabf7fc..2f2dffe 100644
125 ---- a/tests/215_local.t
126 -+++ b/tests/215_local.t
127 -@@ -15,7 +15,7 @@ BEGIN {
128 - plan tests => 10;
129 - }
130 -
131 --my $CCCFG = require 'tests/include/config.pl';
132 -+my $CCCFG = require './tests/include/config.pl';
133 -
134 - eval {
135 - $c = new Convert::Binary::C;
136 -diff --git a/tests/218_member.t b/tests/218_member.t
137 -index e212160..7966e44 100644
138 ---- a/tests/218_member.t
139 -+++ b/tests/218_member.t
140 -@@ -15,7 +15,7 @@ BEGIN {
141 - plan tests => 1907;
142 - }
143 -
144 --my $CCCFG = require 'tests/include/config.pl';
145 -+my $CCCFG = require './tests/include/config.pl';
146 -
147 - %basic = ( char => 1, short => 1, int => 1,
148 - long => 1, signed => 1, unsigned => 1,
149 -diff --git a/tests/223_initializer.t b/tests/223_initializer.t
150 -index a80d741..f1d6b26 100644
151 ---- a/tests/223_initializer.t
152 -+++ b/tests/223_initializer.t
153 -@@ -13,7 +13,7 @@ $^W = 1;
154 -
155 - BEGIN { plan tests => 27 }
156 -
157 --my $CCCFG = require 'tests/include/config.pl';
158 -+my $CCCFG = require './tests/include/config.pl';
159 -
160 - $c = eval { new Convert::Binary::C %$CCCFG };
161 - ok($@,'',"failed to create Convert::Binary::C objects");
162 -diff --git a/tests/230_compiler.t b/tests/230_compiler.t
163 -index 1cc67f1..276275a 100644
164 ---- a/tests/230_compiler.t
165 -+++ b/tests/230_compiler.t
166 -@@ -37,7 +37,7 @@ for my $cur (sort keys %cc) {
167 - $bin =~ s/\s+//gms;
168 - $bin = pack "H*", $bin;
169 -
170 -- do $cc{$cur}{cfg};
171 -+ do "./$cc{$cur}{cfg}";
172 -
173 - my $c = new Convert::Binary::C %config;
174 - $c->parse_file('tests/compiler/test.h');
175 -diff --git a/tests/601_speed.t b/tests/601_speed.t
176 -index 27f1fc9..d399e38 100644
177 ---- a/tests/601_speed.t
178 -+++ b/tests/601_speed.t
179 -@@ -16,7 +16,7 @@ BEGIN {
180 - plan tests => 11;
181 - }
182 -
183 --my $CCCFG = require 'tests/include/config.pl';
184 -+my $CCCFG = require './tests/include/config.pl';
185 -
186 - eval { require Data::Dumper }; $Data_Dumper = $@;
187 - eval { require IO::File }; $IO_File = $@;
188 -diff --git a/tests/602_threads.t b/tests/602_threads.t
189 -index 8e45b0d..968939b 100644
190 ---- a/tests/602_threads.t
191 -+++ b/tests/602_threads.t
192 -@@ -17,7 +17,7 @@ BEGIN {
193 - plan tests => NUM_THREADS
194 - }
195 -
196 --my $CCCFG = require 'tests/include/config.pl';
197 -+my $CCCFG = require './tests/include/config.pl';
198 -
199 - #===================================================================
200 - # load appropriate threads module and start a couple of threads
201 ---
202 -2.14.1
203 -