pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/p5-IO-Interface



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Mar 21 09:43:41 UTC 2026

Modified Files:
        pkgsrc/net/p5-IO-Interface: distinfo
        pkgsrc/net/p5-IO-Interface/patches: patch-aa

Log Message:
p5-IO-Interface: Fix on SunOS w/ recent gcc


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/net/p5-IO-Interface/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/net/p5-IO-Interface/patches/patch-aa

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/p5-IO-Interface/distinfo
diff -u pkgsrc/net/p5-IO-Interface/distinfo:1.11 pkgsrc/net/p5-IO-Interface/distinfo:1.12
--- pkgsrc/net/p5-IO-Interface/distinfo:1.11    Tue Oct 26 11:06:15 2021
+++ pkgsrc/net/p5-IO-Interface/distinfo Sat Mar 21 09:43:41 2026
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.11 2021/10/26 11:06:15 nia Exp $
+$NetBSD: distinfo,v 1.12 2026/03/21 09:43:41 nia Exp $
 
 BLAKE2s (IO-Interface-1.09.tar.gz) = 1f704c5248f464811709cc74e2579fe242d19bf152cdf1cb3080a1dd0b4176e4
 SHA512 (IO-Interface-1.09.tar.gz) = a23a4793e23ba0fbb0583c6692d7138e4a9b0a6959c9fa81489954090fa51ca6edfe79841a8f69ab7f7a52aec31a477cb01705f6d66d5c7e8b69f76301360cd5
 Size (IO-Interface-1.09.tar.gz) = 16414 bytes
-SHA1 (patch-aa) = ef565ac31332a52c4afc8fad0e9aafcadf7b6919
+SHA1 (patch-aa) = 34ff3905b1a9f7f1ad17570cdb44105da4538a44

Index: pkgsrc/net/p5-IO-Interface/patches/patch-aa
diff -u pkgsrc/net/p5-IO-Interface/patches/patch-aa:1.3 pkgsrc/net/p5-IO-Interface/patches/patch-aa:1.4
--- pkgsrc/net/p5-IO-Interface/patches/patch-aa:1.3     Fri Sep 16 08:47:48 2016
+++ pkgsrc/net/p5-IO-Interface/patches/patch-aa Sat Mar 21 09:43:41 2026
@@ -1,10 +1,18 @@
-$NetBSD: patch-aa,v 1.3 2016/09/16 08:47:48 jperkin Exp $
+$NetBSD: patch-aa,v 1.4 2026/03/21 09:43:41 nia Exp $
 
 Suport NetBSD and SunOS.
 
 --- lib/IO/Interface.xs.orig   2014-12-09 16:41:30.000000000 +0000
 +++ lib/IO/Interface.xs
-@@ -442,6 +442,9 @@ if_addr(sock, name, ...)
+@@ -9,6 +9,7 @@
+ 
+ #include <stdio.h>
+ #include <string.h>
++#include <strings.h>
+ 
+ /* socket definitions */
+ #include <sys/types.h>
+@@ -442,6 +443,9 @@ if_addr(sock, name, ...)
         operation = SIOCGIFADDR;
         }
         if (!Ioctl(sock,operation,&ifr)) XSRETURN_UNDEF;
@@ -14,7 +22,7 @@ Suport NetBSD and SunOS.
         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);
       }
-@@ -587,7 +590,7 @@ if_hwaddr(sock, name, ...)
+@@ -587,7 +591,7 @@ if_hwaddr(sock, name, ...)
       char           *newaddr,hwaddr[128];
       CODE:
     {
@@ -23,7 +31,7 @@ Suport NetBSD and SunOS.
       XSRETURN_UNDEF;
  #endif
  #if (defined(USE_GETIFADDRS) && defined(HAVE_SOCKADDR_DL_STRUCT))
-@@ -620,7 +623,7 @@ if_hwaddr(sock, name, ...)
+@@ -620,7 +624,7 @@ if_hwaddr(sock, name, ...)
       freeifaddrs(ifap);
  
       RETVAL = hwaddr;



Home | Main Index | Thread Index | Old Index