summaryrefslogtreecommitdiff
path: root/mail/arrow/files/patch-ae
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-09-18 00:40:20 +0000
committerSteve Price <steve@FreeBSD.org>2000-09-18 00:40:20 +0000
commite8dbbb9d588122d46573c10c51aa694475c316b7 (patch)
tree5c0c2caf4a054697835e0111fcc7f27512dbd5c7 /mail/arrow/files/patch-ae
parentAdding codemedic version 1.0.4. (diff)
Adding arrow version 1.0.8.
A mail reader for X that lets you view, compose, and organize your mail. It groks PGP, GnuPG, POP, and APOP. PR: 19287 Submitted by: Mario S F Ferreira <lioux@linf.unb.br>
Notes
Notes: svn path=/head/; revision=32791
Diffstat (limited to 'mail/arrow/files/patch-ae')
-rw-r--r--mail/arrow/files/patch-ae34
1 files changed, 34 insertions, 0 deletions
diff --git a/mail/arrow/files/patch-ae b/mail/arrow/files/patch-ae
new file mode 100644
index 000000000000..58308bdbd32f
--- /dev/null
+++ b/mail/arrow/files/patch-ae
@@ -0,0 +1,34 @@
+--- programs/arrow/code/SMTPMessage.cc.orig Wed Jun 14 14:15:43 2000
++++ programs/arrow/code/SMTPMessage.cc Wed Jun 14 14:37:44 2000
+@@ -42,7 +42,7 @@
+ #include <ace/LSOCK_Connector.h>
+ #include <ace/LSOCK_Stream.h>
+
+-#include <sys/timeb.h>
++#include <sys/time.h>
+ #include <sys/utsname.h>
+ #include <fstream.h>
+ #include <strstream.h>
+@@ -395,9 +395,22 @@
+ itsFrom->Print(*itsOutboxStream);
+ *itsOutboxStream << " ";
+
++/* This is obsolete on FreeBSD
++ Try the replacemente below
+ struct timeb tp;
+ ftime(&tp);
+ JString date(ctime(&(tp.time)));
++*/
++
++/* BEGIN of ftime replacement */
++ struct timeval t;
++ struct timezone tz;
++
++ gettimeofday(&t, &tz);
++ JString date(ctime(&(t.tv_sec)));
++
++/* END of ftime replacement */
++
+ date.Print(*itsOutboxStream);
+
+ jistrstream(is, date.GetCString(), date.GetLength());