public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-analyzer/mrtg/files: mrtg-2.17.4-socket6.patch
@ 2014-05-10 17:22 Jeroen Roovers (jer)
  0 siblings, 0 replies; only message in thread
From: Jeroen Roovers (jer) @ 2014-05-10 17:22 UTC (permalink / raw
  To: gentoo-commits

jer         14/05/10 17:22:18

  Added:                mrtg-2.17.4-socket6.patch
  Log:
  Fix SNMP_Session::pack_sockaddr_in redefinition (bug #509986 by Sven).
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)

Revision  Changes    Path
1.1                  net-analyzer/mrtg/files/mrtg-2.17.4-socket6.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/mrtg/files/mrtg-2.17.4-socket6.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/mrtg/files/mrtg-2.17.4-socket6.patch?rev=1.1&content-type=text/plain

Index: mrtg-2.17.4-socket6.patch
===================================================================
--- a/bin/mrtg
+++ b/bin/mrtg
@@ -300,7 +300,7 @@ sub main {
     if ($cfg{enableipv6} eq 'yes') {
         if ( eval {local $SIG{__DIE__};require Socket; require Socket6; require IO::Socket::INET6;}) {
             import Socket;
-            import Socket6;
+            Socket6->import(qw(inet_pton getaddrinfo));
             debug('base', "IPv6 libraries found, IPv6 enabled.");
         } else {
             warn "$NOW: WARNING: IPv6 libraries not found, IPv6 disabled.\n";





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-05-10 17:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-10 17:22 [gentoo-commits] gentoo-x86 commit in net-analyzer/mrtg/files: mrtg-2.17.4-socket6.patch Jeroen Roovers (jer)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox