diff options
author | minskim <minskim@pkgsrc.org> | 2005-06-07 05:00:19 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2005-06-07 05:00:19 +0000 |
commit | 5457283c5d9a87b3694941ccbb4414e034b78f5d (patch) | |
tree | eda8a2ae1f9bf33265ceb262c3e56ef595bbd234 /games/nighthawk | |
parent | bc37c4f007bd9537dd9c3f69c6ee1ddeb9220735 (diff) | |
download | pkgsrc-5457283c5d9a87b3694941ccbb4414e034b78f5d.tar.gz |
Include time.h for time(3) and ctime(3).
Diffstat (limited to 'games/nighthawk')
-rw-r--r-- | games/nighthawk/distinfo | 4 | ||||
-rw-r--r-- | games/nighthawk/patches/patch-ac | 16 |
2 files changed, 14 insertions, 6 deletions
diff --git a/games/nighthawk/distinfo b/games/nighthawk/distinfo index 8537a86f9c6..e741735489e 100644 --- a/games/nighthawk/distinfo +++ b/games/nighthawk/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.5 2005/02/23 23:12:01 agc Exp $ +$NetBSD: distinfo,v 1.6 2005/06/07 05:00:19 minskim Exp $ SHA1 (nighthawk-2.1.tgz) = 117cd7d2c496a0d9e44b1b6d02523ad1cb0de1bf RMD160 (nighthawk-2.1.tgz) = 3973ff63c4525de65ae4dd3803d355c102968997 @@ -8,7 +8,7 @@ RMD160 (nighthawk-2.1a.patch) = 4b4bf8f7c4092ecc5ea231fab83de99977e77306 Size (nighthawk-2.1a.patch) = 8543 bytes SHA1 (patch-aa) = 34a11d0be9d7f83e341a85af986042013ad804ba SHA1 (patch-ab) = c1085e131ae6f4563e966c5bed8083b1c0e24f92 -SHA1 (patch-ac) = 27ed902d915bb8063aeb31ee1d34bb206d022293 +SHA1 (patch-ac) = e51ee631a604a38570328b2472f958a64e39f169 SHA1 (patch-ad) = e59c729c4700d36ca61809e40721f88d2d22c09d SHA1 (patch-ae) = 1699979e5013e86dc158722faef525b46ce30076 SHA1 (patch-ba) = c4669336ea8fdeb1352390e4109513c01915bd54 diff --git a/games/nighthawk/patches/patch-ac b/games/nighthawk/patches/patch-ac index 8aef91c0afa..d23aa1242bd 100644 --- a/games/nighthawk/patches/patch-ac +++ b/games/nighthawk/patches/patch-ac @@ -1,8 +1,16 @@ -$NetBSD: patch-ac,v 1.2 1999/02/10 15:09:56 frueauf Exp $ +$NetBSD: patch-ac,v 1.3 2005/06/07 05:00:19 minskim Exp $ ---- src/nighthawk.cc.BAK Sun Feb 7 01:01:57 1999 -+++ src/nighthawk.cc Sun Feb 7 01:02:10 1999 -@@ -85,7 +85,11 @@ +--- src/nighthawk.cc.orig 1998-06-22 06:28:05.000000000 -0500 ++++ src/nighthawk.cc +@@ -20,6 +20,7 @@ extern "C" { + #include <string.h> + #include <signal.h> + #include <pwd.h> ++#include <time.h> + #include <sys/types.h> + #include <sys/file.h> + #include <sys/stat.h> +@@ -85,7 +86,11 @@ FILE *lopen(char *filename,char *mode) FILE *fp; if((fp = fopen(filename,mode)) != NULL) |