- update to 0.98
- fix ioctl calls to work on 64 bit arches ok sturm@
This commit is contained in:
parent
e9e94674b1
commit
992b404c98
@ -1,15 +1,16 @@
|
|||||||
# $OpenBSD: Makefile,v 1.3 2004/01/17 15:58:09 naddy Exp $
|
# $OpenBSD: Makefile,v 1.4 2006/01/11 20:12:45 steven Exp $
|
||||||
|
|
||||||
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
|
SHARED_ONLY= Yes
|
||||||
|
|
||||||
COMMENT= "module for access to network card configuration information"
|
COMMENT= "module for access to network card configuration information"
|
||||||
|
|
||||||
DISTNAME= IO-Interface-0.97
|
DISTNAME= IO-Interface-0.98
|
||||||
PKGNAME= p5-${DISTNAME}
|
PKGNAME= p5-${DISTNAME}
|
||||||
CATEGORIES= net perl5
|
CATEGORIES= net perl5
|
||||||
|
|
||||||
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
||||||
|
|
||||||
|
# Artistic/GPL
|
||||||
PERMIT_PACKAGE_CDROM= Yes
|
PERMIT_PACKAGE_CDROM= Yes
|
||||||
PERMIT_PACKAGE_FTP= Yes
|
PERMIT_PACKAGE_FTP= Yes
|
||||||
PERMIT_DISTFILES_CDROM= Yes
|
PERMIT_DISTFILES_CDROM= Yes
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
MD5 (IO-Interface-0.97.tar.gz) = b7e22f9e4e262e635cf9fd663952bf13
|
MD5 (IO-Interface-0.98.tar.gz) = 91d5029a32302aa02414c9c8e3353cec
|
||||||
RMD160 (IO-Interface-0.97.tar.gz) = 7663f453ef271978e6726e6a4cce7639e1b80c8f
|
RMD160 (IO-Interface-0.98.tar.gz) = ecc608088a490690f225df0b2e9b0cb5f5b2c950
|
||||||
SHA1 (IO-Interface-0.97.tar.gz) = 860b15cf496c91c06665fe4ee8677c17e89ca133
|
SHA1 (IO-Interface-0.98.tar.gz) = 0e379bfb7acf5880006325e27765d45b77132ee3
|
||||||
SIZE (IO-Interface-0.97.tar.gz) = 6895
|
SIZE (IO-Interface-0.98.tar.gz) = 7203
|
||||||
|
67
net/p5-IO-Interface/patches/patch-Interface_xs
Normal file
67
net/p5-IO-Interface/patches/patch-Interface_xs
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
$OpenBSD: patch-Interface_xs,v 1.1 2006/01/11 20:12:45 steven Exp $
|
||||||
|
--- Interface.xs.orig Wed Jan 11 08:24:31 2006
|
||||||
|
+++ Interface.xs Wed Jan 11 08:25:51 2006
|
||||||
|
@@ -317,7 +317,7 @@ not_there:
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
-int Ioctl (InputStream sock,int operation,void* result) {
|
||||||
|
+int Ioctl (InputStream sock,unsigned long operation,void* result) {
|
||||||
|
int fd = PerlIO_fileno(sock);
|
||||||
|
return ioctl(fd,operation,result) == 0;
|
||||||
|
}
|
||||||
|
@@ -383,7 +383,7 @@ if_addr(sock, name, ...)
|
||||||
|
PROTOTYPE: $$;$
|
||||||
|
PREINIT:
|
||||||
|
STRLEN len;
|
||||||
|
- int operation;
|
||||||
|
+ unsigned long operation;
|
||||||
|
struct ifreq ifr;
|
||||||
|
char* newaddr;
|
||||||
|
CODE:
|
||||||
|
@@ -421,7 +421,7 @@ if_broadcast(sock, name, ...)
|
||||||
|
PROTOTYPE: $$;$
|
||||||
|
PREINIT:
|
||||||
|
STRLEN len;
|
||||||
|
- int operation;
|
||||||
|
+ unsigned long operation;
|
||||||
|
struct ifreq ifr;
|
||||||
|
char* newaddr;
|
||||||
|
CODE:
|
||||||
|
@@ -455,7 +455,7 @@ if_netmask(sock, name, ...)
|
||||||
|
PROTOTYPE: $$;$
|
||||||
|
PREINIT:
|
||||||
|
STRLEN len;
|
||||||
|
- int operation;
|
||||||
|
+ unsigned long operation;
|
||||||
|
struct ifreq ifr;
|
||||||
|
char* newaddr;
|
||||||
|
CODE:
|
||||||
|
@@ -489,7 +489,7 @@ if_dstaddr(sock, name, ...)
|
||||||
|
PROTOTYPE: $$;$
|
||||||
|
PREINIT:
|
||||||
|
STRLEN len;
|
||||||
|
- int operation;
|
||||||
|
+ unsigned long operation;
|
||||||
|
struct ifreq ifr;
|
||||||
|
char* newaddr;
|
||||||
|
CODE:
|
||||||
|
@@ -523,7 +523,7 @@ if_hwaddr(sock, name, ...)
|
||||||
|
PROTOTYPE: $$;$
|
||||||
|
PREINIT:
|
||||||
|
STRLEN len;
|
||||||
|
- int operation;
|
||||||
|
+ unsigned long operation;
|
||||||
|
struct ifreq ifr;
|
||||||
|
char *newaddr,hwaddr[128];
|
||||||
|
CODE:
|
||||||
|
@@ -555,7 +555,8 @@ if_flags(sock, name, ...)
|
||||||
|
char* name
|
||||||
|
PROTOTYPE: $$;$
|
||||||
|
PREINIT:
|
||||||
|
- int operation,flags;
|
||||||
|
+ unsigned long operation;
|
||||||
|
+ int flags;
|
||||||
|
struct ifreq ifr;
|
||||||
|
CODE:
|
||||||
|
{
|
Loading…
Reference in New Issue
Block a user