diff options
author | hubertf <hubertf> | 2001-08-20 01:51:04 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2001-08-20 01:51:04 +0000 |
commit | 852109123cd4397c018742d64fed418ebe5ace99 (patch) | |
tree | 19133bf2fc1d28c2964a616c11eaa68a399a2549 /comms | |
parent | dcc76be5dc8e73286b5d1c86509a7bfe65987ca6 (diff) | |
download | pkgsrc-852109123cd4397c018742d64fed418ebe5ace99.tar.gz |
#include <stdio.h> on NetBSD. It seems there's some (NetBSD!) systems
out there where this compiles without that header, and some where it fails.
Diffstat (limited to 'comms')
-rw-r--r-- | comms/plptools/patches/patch-ac | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/comms/plptools/patches/patch-ac b/comms/plptools/patches/patch-ac index 11d1517fe1f..ac0bd87a9cc 100644 --- a/comms/plptools/patches/patch-ac +++ b/comms/plptools/patches/patch-ac @@ -1,8 +1,19 @@ -$NetBSD: patch-ac,v 1.3 2001/04/04 08:53:44 skrll Exp $ +$NetBSD: patch-ac,v 1.4 2001/08/20 01:51:04 hubertf Exp $ ---- plpftp/ftp.cc.orig Mon Jan 17 11:49:41 2000 -+++ plpftp/ftp.cc -@@ -335,7 +335,7 @@ +--- ftp.cc.orig Mon Jan 17 12:49:41 2000 ++++ ftp.cc Mon Aug 20 03:45:51 2001 +@@ -34,6 +34,10 @@ + #include <sys/stat.h> + #include <signal.h> + ++#ifdef __NetBSD__ ++#include <stdio.h> ++#endif ++ + #include "defs.h" + #include "ftp.h" + #include "rfsv.h" +@@ -335,7 +339,7 @@ // never used to do this char dateBuff[100]; struct tm *t; @@ -11,7 +22,7 @@ $NetBSD: patch-ac,v 1.3 2001/04/04 08:53:44 skrll Exp $ strftime(dateBuff, 100, "%c", t); cout << a.opAttr(attr); cout << " " << dec << setw(10) << setfill(' ') << size; -@@ -365,7 +365,7 @@ +@@ -365,7 +369,7 @@ else { char dateBuff[100]; struct tm *t; @@ -20,7 +31,7 @@ $NetBSD: patch-ac,v 1.3 2001/04/04 08:53:44 skrll Exp $ strftime(dateBuff, 100, "%c %Z", t); cout << dateBuff << endl; } -@@ -457,7 +457,7 @@ +@@ -457,7 +461,7 @@ long attr = s.getDWord(8); char dateBuff[100]; struct tm *t; |