summaryrefslogtreecommitdiff
path: root/dev-perl/Data-HexDump/files/Data-HexDump-0.20.0-signed-c.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-10 17:08:48 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-10 17:08:48 +0100
commit5b5704b62a0f04d93fd58986b426a31352fe2fd5 (patch)
tree0034259fd845f22388e30e34a06f2fe12537cd30 /dev-perl/Data-HexDump/files/Data-HexDump-0.20.0-signed-c.patch
parent77ffa9fa127c2f664cbb6aba05848662a904f2ff (diff)
gentoo resync : 10.10.2017
Diffstat (limited to 'dev-perl/Data-HexDump/files/Data-HexDump-0.20.0-signed-c.patch')
-rw-r--r--dev-perl/Data-HexDump/files/Data-HexDump-0.20.0-signed-c.patch28
1 files changed, 28 insertions, 0 deletions
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
new file mode 100644
index 000000000000..6c117334cf97
--- /dev/null
+++ b/dev-perl/Data-HexDump/files/Data-HexDump-0.20.0-signed-c.patch
@@ -0,0 +1,28 @@
+From 1eec10393fbf1123327858d127e1f6d9e50f5a85 Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentnl@gentoo.org>
+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
+