From 8d4f382339546f123d21c1d346a3978a9c3ed78d Mon Sep 17 00:00:00 2001 From: Conrad Kostecki Date: Fri, 29 Oct 2021 23:45:46 +0200 Subject: dev-perl/Data-HexDump: remove unused patch(es) Closes: https://github.com/gentoo/gentoo/pull/22624 Signed-off-by: Michael Mair-Keimberger Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Conrad Kostecki --- .../files/Data-HexDump-0.20.0-hexdump-pl.patch | 59 ---------------------- .../files/Data-HexDump-0.20.0-lib-pm.patch | 28 ---------- .../files/Data-HexDump-0.20.0-signed-c.patch | 28 ---------- 3 files changed, 115 deletions(-) delete mode 100644 dev-perl/Data-HexDump/files/Data-HexDump-0.20.0-hexdump-pl.patch delete mode 100644 dev-perl/Data-HexDump/files/Data-HexDump-0.20.0-lib-pm.patch delete mode 100644 dev-perl/Data-HexDump/files/Data-HexDump-0.20.0-signed-c.patch diff --git a/dev-perl/Data-HexDump/files/Data-HexDump-0.20.0-hexdump-pl.patch b/dev-perl/Data-HexDump/files/Data-HexDump-0.20.0-hexdump-pl.patch deleted file mode 100644 index b44b5b0b24e2..000000000000 --- a/dev-perl/Data-HexDump/files/Data-HexDump-0.20.0-hexdump-pl.patch +++ /dev/null @@ -1,59 +0,0 @@ -From 7b70e4169faf4e2ec0fe570b02190e71bc168377 Mon Sep 17 00:00:00 2001 -From: Kent Fredric -Date: Tue, 10 Oct 2017 08:15:54 +1300 -Subject: Rename installed script to '.pl' - -Note: this must not happen in dist-root, or EUMM will also install this -as $INC[0]/Data/hexdump.pl - -Bug: https://rt.cpan.org/Ticket/Display.html?id=123224 ---- - MANIFEST | 2 +- - Makefile.PL | 2 +- - hexdump => bin/hexdump.pl | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - rename hexdump => bin/hexdump.pl (95%) - -diff --git a/MANIFEST b/MANIFEST -index 2e0843a..2f0c98b 100644 ---- a/MANIFEST -+++ b/MANIFEST -@@ -2,7 +2,7 @@ MANIFEST - MANIFEST.SKIP - Makefile.PL - README --hexdump -+bin/hexdump.pl - lib/Data/HexDump.pm - t/compare.t - t/data.t -diff --git a/Makefile.PL b/Makefile.PL -index 0ee62bf..091fa9d 100644 ---- a/Makefile.PL -+++ b/Makefile.PL -@@ -6,5 +6,5 @@ WriteMakefile(NAME => "Data::HexDump", - VERSION_FROM => "lib/Data/HexDump.pm", - dist => { COMPRESS => "gzip", SUFFIX => "gz" }, - clean => { FILES => '*.bak *.old mibs/*.dump lib/*/*~' }, -- EXE_FILES => [ qw(hexdump) ], -+ EXE_FILES => [ qw(bin/hexdump.pl) ], - ); -diff --git a/hexdump b/bin/hexdump.pl -similarity index 95% -rename from hexdump -rename to bin/hexdump.pl -index a2e28a1..9f86cd8 100755 ---- a/hexdump -+++ b/bin/hexdump.pl -@@ -5,7 +5,7 @@ use strict; - use Data::HexDump; - use FileHandle; - --my $prgname = "hexdump"; -+my $prgname = "hexdump.pl"; - my $file = shift; - my $fh; - --- -2.14.1 - diff --git a/dev-perl/Data-HexDump/files/Data-HexDump-0.20.0-lib-pm.patch b/dev-perl/Data-HexDump/files/Data-HexDump-0.20.0-lib-pm.patch deleted file mode 100644 index 7e7606ebc9f0..000000000000 --- a/dev-perl/Data-HexDump/files/Data-HexDump-0.20.0-lib-pm.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 36f61caaa95340817098b8b9f6631c9f2060a292 Mon Sep 17 00:00:00 2001 -From: Kent Fredric -Date: Tue, 10 Oct 2017 08:17:01 +1300 -Subject: Remove 'use lib lib' - -There's no sense in blindly adding lib based on wherever you currently -are to an installed program, its just a security problem asking to be -invented. - -Bug: https://rt.cpan.org/Ticket/Display.html?id=123225 ---- - bin/hexdump.pl | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/bin/hexdump.pl b/bin/hexdump.pl -index 9f86cd8..1ce8962 100755 ---- a/bin/hexdump.pl -+++ b/bin/hexdump.pl -@@ -1,6 +1,5 @@ - #!/usr/bin/perl -w - --use lib "lib"; - use strict; - use Data::HexDump; - use FileHandle; --- -2.14.1 - diff --git a/dev-perl/Data-HexDump/files/Data-HexDump-0.20.0-signed-c.patch b/dev-perl/Data-HexDump/files/Data-HexDump-0.20.0-signed-c.patch deleted file mode 100644 index 6c117334cf97..000000000000 --- a/dev-perl/Data-HexDump/files/Data-HexDump-0.20.0-signed-c.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 1eec10393fbf1123327858d127e1f6d9e50f5a85 Mon Sep 17 00:00:00 2001 -From: Kent Fredric -Date: Tue, 10 Oct 2017 08:17:59 +1300 -Subject: Don't use signed characters for 0-255 - -'c' == -127 to 127 - -Bug: https://rt.cpan.org/Ticket/Display.html?id=123226 ---- - t/compare.t | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/t/compare.t b/t/compare.t -index f03d73d..3c25803 100644 ---- a/t/compare.t -+++ b/t/compare.t -@@ -11,7 +11,7 @@ print "1..2\n"; - # data - my $org = ""; - for (my $i = 0; $i <= 255; $i++) { -- $org .= pack 'c', $i; -+ $org .= pack 'C', $i; - } - $org = $org x 17 . "more data"; - --- -2.14.1 - -- cgit v1.2.3-65-gdbad