SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
16
net/p5-Net-Patricia/patches/patch-t_01everything_t
Normal file
16
net/p5-Net-Patricia/patches/patch-t_01everything_t
Normal file
|
@ -0,0 +1,16 @@
|
|||
https://rt.cpan.org/Ticket/Display.html?id=146613
|
||||
Socket 2.031 uses getaddrinfo() instead of gethostbyname() to
|
||||
implement inet_aton(). This requires the four dotted octet syntax.
|
||||
|
||||
Index: t/01everything.t
|
||||
--- t/01everything.t.orig
|
||||
+++ t/01everything.t
|
||||
@@ -86,7 +86,7 @@ for my $o ({ name => "original", obj => $t }, { name =
|
||||
eval '$t->add_string("_")'; # invalid key
|
||||
like($@, qr/invalid/, 'adding "_"');
|
||||
|
||||
-ok($t->add_string("0/0"), "add 0/0");
|
||||
+ok($t->add_string("0.0.0.0/0"), "add 0.0.0.0/0");
|
||||
|
||||
$thawed = Storable::thaw(Storable::nfreeze($t));
|
||||
for my $o ({ name => "original", obj => $t }, { name => "thawed", obj => $thawed }) {
|
Loading…
Add table
Add a link
Reference in a new issue