make this build on alpha

This commit is contained in:
pooka 2000-10-10 12:12:10 +00:00
parent 7fd99b3097
commit f9bd4ded6d
3 changed files with 29 additions and 1 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: patch-sum,v 1.2 1999/12/06 02:19:25 sakamoto Exp $
$NetBSD: patch-sum,v 1.3 2000/10/10 12:12:10 pooka Exp $
MD5 (patch-aa) = 1ded8b0ec9aab309561da3efa7188d08
MD5 (patch-ab) = 6a280e177bd7f2fae32df3e35b81f9b2
@ -6,3 +6,5 @@ MD5 (patch-ac) = 949619283ad2bbc69d28239ca863dd39
MD5 (patch-ad) = e39c58df55c2b97383e4786a18f608a9
MD5 (patch-ae) = 55ea3fa09b4e72c60715acfff83c9c4d
MD5 (patch-af) = e1b18c090348602847cbefaf4d320136
MD5 (patch-ag) = 44f3e7cded91bb590bb6864abcb2a785
MD5 (patch-ah) = 299f5d25f4658a7e3b21019fcae27abe

View file

@ -0,0 +1,13 @@
$NetBSD: patch-ag,v 1.1 2000/10/10 12:12:10 pooka Exp $
--- rfsv/rfsv16.cc.orig Wed Nov 3 00:01:01 1999
+++ rfsv/rfsv16.cc Tue Oct 10 15:06:29 2000
@@ -113,7 +113,7 @@
if (version != 2) return 1;
int status = a.getWord(2);
long size = a.getDWord(4);
- long date = a.getDWord(8);
+ time_t date = a.getDWord(8);
const char *s = a.getString(16);
a.discardFirstBytes(17+strlen(s));

View file

@ -0,0 +1,13 @@
$NetBSD: patch-ah,v 1.1 2000/10/10 12:12:10 pooka Exp $
--- rfsv/rfsv32.cc.orig Tue Nov 2 23:12:47 1999
+++ rfsv/rfsv32.cc Tue Oct 10 15:07:34 2000
@@ -183,7 +183,7 @@
us += modLow;
us /= 1000000;
us -= (1970*365 + 490)*60*60*24;
- long date = us;
+ time_t date = us;
char dateBuff[100];
struct tm *t;
t = gmtime(&date);