From 400944502c4698c7db753fb600ca1c0a4b4345e4 Mon Sep 17 00:00:00 2001 From: heinz Date: Tue, 2 Oct 2007 20:23:07 +0000 Subject: 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. --- net/yale-tftpd/patches/patch-aj | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'net/yale-tftpd/patches/patch-aj') 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 #include #include ++#ifdef __sun ++#include ++#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; -- cgit v1.2.3