summaryrefslogtreecommitdiff
path: root/net/yale-tftpd/patches/patch-aj
diff options
context:
space:
mode:
Diffstat (limited to 'net/yale-tftpd/patches/patch-aj')
-rw-r--r--net/yale-tftpd/patches/patch-aj14
1 files changed, 9 insertions, 5 deletions
diff --git a/net/yale-tftpd/patches/patch-aj b/net/yale-tftpd/patches/patch-aj
index c84c5b105da..719cb56cdb5 100644
--- a/net/yale-tftpd/patches/patch-aj
+++ b/net/yale-tftpd/patches/patch-aj
@@ -1,10 +1,14 @@
-$NetBSD: patch-aj,v 1.1 2003/09/21 09:15:31 jmc Exp $
+$NetBSD: patch-aj,v 1.2 2007/10/02 20:23:08 heinz Exp $
---- tftpsubs.c.orig 2003-09-21 04:09:09.000000000 +0000
-+++ tftpsubs.c 2003-09-21 04:10:08.000000000 +0000
-@@ -39,11 +39,11 @@
+--- tftpsubs.c.orig 1994-10-05 06:20:49.000000000 +0100
++++ tftpsubs.c
+@@ -38,12 +38,15 @@ static char sccsid[] = "@(#)tftpsubs.c 5
+ #include <netinet/in.h>
#include <arpa/tftp.h>
#include <stdio.h>
++#ifdef __sun
++#include <sys/filio.h>
++#endif
-#define PKTSIZE SEGSIZE+4 /* should be moved to tftp.h */
+#define BUF_PKTSIZE SEGSIZE+4 /* should be moved to tftp.h */
@@ -16,7 +20,7 @@ $NetBSD: patch-aj,v 1.1 2003/09/21 09:15:31 jmc Exp $
} bfs[2];
/* Values for bf.counter */
-@@ -233,7 +233,7 @@
+@@ -233,7 +236,7 @@ synchnet(f)
int f; /* socket to flush */
{
int i, j = 0;