diff options
author | heinz <heinz> | 2007-10-02 20:23:07 +0000 |
---|---|---|
committer | heinz <heinz> | 2007-10-02 20:23:07 +0000 |
commit | 400944502c4698c7db753fb600ca1c0a4b4345e4 (patch) | |
tree | 17d34197840870a4406128798bcdc4f08f56c855 /net/yale-tftpd/patches/patch-aj | |
parent | 40374aaccfef3f14938898cfd0db4144aae436fc (diff) | |
download | pkgsrc-400944502c4698c7db753fb600ca1c0a4b4345e4.tar.gz |
Added compatibility fixes for NetBSD/FreeBSD/Linux/Solaris provided by
Yakovetsky Vladimir in PR pkg/36942.
Shut up warning by pkglint (PLIST).
Introduced PKGMANDIR in software Makefile.
Diffstat (limited to 'net/yale-tftpd/patches/patch-aj')
-rw-r--r-- | net/yale-tftpd/patches/patch-aj | 14 |
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; |