diff options
author | demon <demon@FreeBSD.org> | 2011-01-31 22:51:25 +0800 |
---|---|---|
committer | demon <demon@FreeBSD.org> | 2011-01-31 22:51:25 +0800 |
commit | 4cc0bef13e10ae1189c259b82894ffe999a35fe2 (patch) | |
tree | 42e4161de5c28847c9de4a163ce3ef6771c3b8bb /net-mgmt | |
parent | f4749126921f143f4bf3d71c71b4b581a00cd6ef (diff) | |
download | freebsd-ports-gnome-4cc0bef13e10ae1189c259b82894ffe999a35fe2.tar.gz freebsd-ports-gnome-4cc0bef13e10ae1189c259b82894ffe999a35fe2.tar.zst freebsd-ports-gnome-4cc0bef13e10ae1189c259b82894ffe999a35fe2.zip |
Update to 1.13;
Add a patch http://oss.oetiker.ch/mrtg-trac/changeset/330 to
eliminate a warning regarding IPv6;
PR: 154367 154411
Feature safe: yes
Submitted by:
Reviewed by:
Approved by:
Obtained from:
MFC after:
Security:
Feature safe:
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/p5-SNMP_Session/files/patch-SNMP_Session.pm | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/net-mgmt/p5-SNMP_Session/files/patch-SNMP_Session.pm b/net-mgmt/p5-SNMP_Session/files/patch-SNMP_Session.pm new file mode 100644 index 000000000000..e842e11b5dae --- /dev/null +++ b/net-mgmt/p5-SNMP_Session/files/patch-SNMP_Session.pm @@ -0,0 +1,21 @@ +--- lib/SNMP_Session.pm.orig 2011-01-31 14:10:12.000000000 +0600 ++++ lib/SNMP_Session.pm 2011-01-31 14:11:20.000000000 +0600 +@@ -146,7 +146,7 @@ + + if (eval {local $SIG{__DIE__};require Socket6;} && + eval {local $SIG{__DIE__};require IO::Socket::INET6; IO::Socket::INET6->VERSION("1.26");}) { +- import Socket6; ++ Socket6->import(qw(pack_sockaddr_in6 inet_pton getaddrinfo)); + $ipv6_addr_len = length(pack_sockaddr_in6(161, inet_pton(AF_INET6(), "::1"))); + $SNMP_Session::ipv6available = 1; + } +@@ -601,7 +601,7 @@ + BEGIN { + if($SNMP_Session::ipv6available) { + import IO::Socket::INET6; +- import Socket6; ++ Socket6->import(qw(pack_sockaddr_in6 inet_pton getaddrinfo)); + } + } + + |