diff options
-rw-r--r-- | net/p5-IO-Interface/Makefile | 2 | ||||
-rw-r--r-- | net/p5-IO-Interface/distinfo | 2 | ||||
-rw-r--r-- | net/p5-IO-Interface/files/patch-OSIOCGIFCONF | 24 |
3 files changed, 2 insertions, 26 deletions
diff --git a/net/p5-IO-Interface/Makefile b/net/p5-IO-Interface/Makefile index 3c11093de961..7671735b048f 100644 --- a/net/p5-IO-Interface/Makefile +++ b/net/p5-IO-Interface/Makefile @@ -6,7 +6,7 @@ # PORTNAME= IO-Interface -PORTVERSION= 0.94 +PORTVERSION= 0.97 CATEGORIES= net perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= IO diff --git a/net/p5-IO-Interface/distinfo b/net/p5-IO-Interface/distinfo index 36001a4dc38e..497210fdf181 100644 --- a/net/p5-IO-Interface/distinfo +++ b/net/p5-IO-Interface/distinfo @@ -1 +1 @@ -MD5 (IO-Interface-0.94.tar.gz) = 3488c7120239b1f257728793f092d903 +MD5 (IO-Interface-0.97.tar.gz) = b7e22f9e4e262e635cf9fd663952bf13 diff --git a/net/p5-IO-Interface/files/patch-OSIOCGIFCONF b/net/p5-IO-Interface/files/patch-OSIOCGIFCONF deleted file mode 100644 index 9c168ee1d8e7..000000000000 --- a/net/p5-IO-Interface/files/patch-OSIOCGIFCONF +++ /dev/null @@ -1,24 +0,0 @@ ---- Interface.xs.orig Wed Apr 25 15:45:43 2001 -+++ Interface.xs Wed Apr 25 15:47:13 2001 -@@ -13,6 +13,12 @@ - #include <sys/sockio.h> - #endif - -+#ifdef OSIOCGIFCONF -+#define MY_SIOCGIFCONF OSIOCGIFCONF -+#else -+#define MY_SIOCGIFCONF SIOCGIFCONF -+#endif -+ - #ifdef PerlIO - typedef PerlIO * InputStream; - #else -@@ -581,7 +587,7 @@ - croak("Couldn't malloc buffer for ioctl: %s",strerror(errno)); - ifc.ifc_len = len; - ifc.ifc_buf = buf; -- if (ioctl(PerlIO_fileno(sock),SIOCGIFCONF,&ifc) < 0) { -+ if (ioctl(PerlIO_fileno(sock),MY_SIOCGIFCONF,&ifc) < 0) { - if (errno != EINVAL || lastlen != 0) - XSRETURN_EMPTY; - } else { |