diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/p5-IO-Interface/Makefile | 4 | ||||
-rw-r--r-- | net/p5-IO-Interface/distinfo | 9 | ||||
-rw-r--r-- | net/p5-IO-Interface/patches/patch-aa | 14 |
3 files changed, 21 insertions, 6 deletions
diff --git a/net/p5-IO-Interface/Makefile b/net/p5-IO-Interface/Makefile index 93d61b549fa..5409d41b677 100644 --- a/net/p5-IO-Interface/Makefile +++ b/net/p5-IO-Interface/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.12 2008/06/12 02:14:39 joerg Exp $ +# $NetBSD: Makefile,v 1.13 2008/07/14 18:13:16 he Exp $ # -DISTNAME= IO-Interface-1.03 +DISTNAME= IO-Interface-1.05 PKGNAME= p5-${DISTNAME} SVR4_PKGNAME= p5ioi CATEGORIES= net perl5 diff --git a/net/p5-IO-Interface/distinfo b/net/p5-IO-Interface/distinfo index a73cb551d6e..63089861720 100644 --- a/net/p5-IO-Interface/distinfo +++ b/net/p5-IO-Interface/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.4 2007/11/13 08:43:46 hiramatsu Exp $ +$NetBSD: distinfo,v 1.5 2008/07/14 18:13:16 he Exp $ -SHA1 (IO-Interface-1.03.tar.gz) = 35754a63d26eabd00c43220a7dc7e1fe9b24cf05 -RMD160 (IO-Interface-1.03.tar.gz) = 1594d63a58fcf22b255cb0cf7f0266e1ce4937d5 -Size (IO-Interface-1.03.tar.gz) = 9630 bytes +SHA1 (IO-Interface-1.05.tar.gz) = 5b195518fbd87175a5bc4c71d426a2e360b99f98 +RMD160 (IO-Interface-1.05.tar.gz) = 540de54311e24619e748116a595c40efd3db3329 +Size (IO-Interface-1.05.tar.gz) = 10219 bytes +SHA1 (patch-aa) = e4c694f23813fefc9b8e4e83a5286e855a38e0f6 diff --git a/net/p5-IO-Interface/patches/patch-aa b/net/p5-IO-Interface/patches/patch-aa new file mode 100644 index 00000000000..06c4f3f4416 --- /dev/null +++ b/net/p5-IO-Interface/patches/patch-aa @@ -0,0 +1,14 @@ +$NetBSD: patch-aa,v 1.1 2008/07/14 18:13:16 he Exp $ + +--- Interface.xs.orig 2008-06-06 17:51:42.000000000 +0200 ++++ Interface.xs +@@ -511,6 +511,9 @@ if_netmask(sock, name, ...) + operation = SIOCGIFNETMASK; + } + if (!Ioctl(sock,operation,&ifr)) XSRETURN_UNDEF; ++#ifdef __NetBSD__ ++ ifr.ifr_addr.sa_family = AF_INET; ++#endif + if (ifr.ifr_addr.sa_family != AF_INET) croak ("Address is not in the AF_INET family.\n"); + RETVAL = inet_ntoa(((struct sockaddr_in*) &ifr.ifr_addr)->sin_addr); + #endif |