summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorhe <he>2008-07-14 18:13:16 +0000
committerhe <he>2008-07-14 18:13:16 +0000
commit18ea3ca5536916dd27ab16e5d37744582698ddcd (patch)
treef36d2748140fc37d13e6d47679fc8e8251d2c273 /net
parent8211246386febb9ccc8ef181211ecb2fcf6a5a49 (diff)
downloadpkgsrc-18ea3ca5536916dd27ab16e5d37744582698ddcd.tar.gz
Update p5-IO-Interface from 1.03 to 1.05. Changes:
1.05 Fri Jun 6 11:53:21 EDT 2008 Fix from Mitsuru Yoshida to compile on FreeBSD. 1.04 Wed Dec 26 13:38:53 EST 2007 Fix from John Lightsey to avoid dmesg warnings on BSD systems. Also need a local patch because NetBSD doesn't set the address family on the "netmask" address, apparently this originates from ifconfig. Work around that by just setting the address family field after ioctl() and before checking it...
Diffstat (limited to 'net')
-rw-r--r--net/p5-IO-Interface/Makefile4
-rw-r--r--net/p5-IO-Interface/distinfo9
-rw-r--r--net/p5-IO-Interface/patches/patch-aa14
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