diff options
author | hubertf <hubertf@pkgsrc.org> | 2000-04-26 11:59:16 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2000-04-26 11:59:16 +0000 |
commit | b9fb70abda49f8d0fb0f3c78a7e4046def853d9c (patch) | |
tree | 4438a8e29295dd137ebdf9e8065f6a2f977cca41 /sysutils/toshutils/patches | |
parent | 1f0322c72dd7b818b2e9e5f6181872ed395503a5 (diff) | |
download | pkgsrc-b9fb70abda49f8d0fb0f3c78a7e4046def853d9c.tar.gz |
Pull in some prototypes & headers to make this actually compile
Diffstat (limited to 'sysutils/toshutils/patches')
-rw-r--r-- | sysutils/toshutils/patches/patch-ae | 29 |
1 files changed, 25 insertions, 4 deletions
diff --git a/sysutils/toshutils/patches/patch-ae b/sysutils/toshutils/patches/patch-ae index 3b884d42b42..aaaad2f555a 100644 --- a/sysutils/toshutils/patches/patch-ae +++ b/sysutils/toshutils/patches/patch-ae @@ -1,8 +1,29 @@ -$NetBSD: patch-ae,v 1.1.1.1 1999/12/20 03:05:16 hubertf Exp $ +$NetBSD: patch-ae,v 1.2 2000/04/26 11:59:17 hubertf Exp $ ---- src/parsetime.y.orig Fri Dec 17 14:07:03 1999 -+++ src/parsetime.y Mon Dec 20 03:33:32 1999 -@@ -305,10 +305,24 @@ +--- src/parsetime.y.BAK Wed Apr 26 13:54:25 2000 ++++ src/parsetime.y Wed Apr 26 13:54:35 2000 +@@ -1,6 +1,9 @@ + %{ + #include <time.h> + #include <stdlib.h> ++#ifdef __NetBSD__ ++#include <stdio.h> ++#endif + #include <string.h> + #include "parsetime.h" + +@@ -290,6 +293,10 @@ + + + time_t parsetime(int, char **); ++#ifdef __NetBSD__ ++int yyparse __P((void)); ++#endif ++ + + time_t + parsetime(int argc, char **argv) +@@ -305,10 +312,24 @@ if (yyparse() == 0) { exectime = mktime(&exectm); if (isgmt) { |