summaryrefslogtreecommitdiff
path: root/net/pchar/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'net/pchar/patches/patch-aa')
-rw-r--r--net/pchar/patches/patch-aa15
1 files changed, 15 insertions, 0 deletions
diff --git a/net/pchar/patches/patch-aa b/net/pchar/patches/patch-aa
new file mode 100644
index 00000000000..ed16ae2cdbc
--- /dev/null
+++ b/net/pchar/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.5 2001/04/18 19:01:56 dmcmahill Exp $
+
+needed on alpha, sparc64.
+
+--- main.cc.orig Tue Apr 3 15:41:35 2001
++++ main.cc Wed Apr 18 14:55:48 2001
+@@ -1413,6 +1413,6 @@
+ }
+
+- fprintf(stdout, " Start time: %s", ctime(&(timeFirst.tv_sec)));
+- fprintf(stdout, " End time: %s", ctime(&(timeLast.tv_sec)));
++ fprintf(stdout, " Start time: %s", ctime((time_t *) &(timeFirst.tv_sec)));
++ fprintf(stdout, " End time: %s", ctime((time_t *) &(timeLast.tv_sec)));
+ }
+