diff options
Diffstat (limited to 'net/p5-Net-RawSock/files')
-rw-r--r-- | net/p5-Net-RawSock/files/patch-Makefile.PL | 17 | ||||
-rw-r--r-- | net/p5-Net-RawSock/files/patch-RawSock.pm | 11 | ||||
-rw-r--r-- | net/p5-Net-RawSock/files/patch-RawSock.xs | 21 |
3 files changed, 0 insertions, 49 deletions
diff --git a/net/p5-Net-RawSock/files/patch-Makefile.PL b/net/p5-Net-RawSock/files/patch-Makefile.PL deleted file mode 100644 index 7ad108f1595d..000000000000 --- a/net/p5-Net-RawSock/files/patch-Makefile.PL +++ /dev/null @@ -1,17 +0,0 @@ ---- ../../../Net-RawSock-1.0/Makefile.PL Thu Feb 21 14:05:26 2002 -+++ Makefile.PL Mon Feb 3 14:18:38 2003 -@@ -1,4 +1,5 @@ -- use ExtUtils::MakeMaker; -+use ExtUtils::MakeMaker; -+ - WriteMakefile( - NAME => 'Net::RawSock', - DISTNAME => 'Net-RawSock', -@@ -6,6 +7,7 @@ - LIBS => [''], # e.g., '-lm' - DEFINE => '', # e.g., '-DHAVE_SOMETHING' - INC => '', # e.g., '-I/usr/include/other' -+ PM => {'RawSock.pm' => '$(INST_LIBDIR)/RawSock.pm'}, - dist => { - 'COMPRESS' => "gzip -9f", - 'SUFFIX' => "gz" diff --git a/net/p5-Net-RawSock/files/patch-RawSock.pm b/net/p5-Net-RawSock/files/patch-RawSock.pm deleted file mode 100644 index ae80a3eda3ea..000000000000 --- a/net/p5-Net-RawSock/files/patch-RawSock.pm +++ /dev/null @@ -1,11 +0,0 @@ ---- RawSock.pm.orig Mon Feb 3 14:28:08 2003 -+++ RawSock.pm Mon Feb 3 14:28:30 2003 -@@ -41,7 +41,7 @@ - - =head1 AUTHOR - --Stephane Aubert E<lt>Stephane.Aubert@hsc-labs.frE<gt> -+Stephane Aubert E<lt>Stephane.Aubert@hsc-labs.comE<gt> - - =cut - diff --git a/net/p5-Net-RawSock/files/patch-RawSock.xs b/net/p5-Net-RawSock/files/patch-RawSock.xs deleted file mode 100644 index fee057163aa8..000000000000 --- a/net/p5-Net-RawSock/files/patch-RawSock.xs +++ /dev/null @@ -1,21 +0,0 @@ ---- RawSock.xs.orig Thu Jan 30 00:11:00 2003 -+++ RawSock.xs Thu Jan 30 09:58:31 2003 -@@ -15,6 +15,7 @@ - - #include <sys/types.h> - #include <sys/socket.h> -+#include <netinet/in.h> - #include <fcntl.h> - - -@@ -67,7 +68,9 @@ - RETVAL = 2; - } else { - len = ntohs(ip_hdr->tot_len); -- if (sendto(fd,(char *)pkt,len,0x0,(struct sockaddr *)&sa,sizeof(sa))<0) { -+ ip_hdr->tot_len = len; -+ if (sendto(fd, (void *)pkt, len, 0x0, -+ (struct sockaddr *)&sa, sizeof(sa)) < len) { - RETVAL = 3; - } else { - RETVAL = 0; |