summaryrefslogtreecommitdiff
path: root/mail/mmr
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-02-20 20:51:45 +0000
committerSteve Price <steve@FreeBSD.org>2000-02-20 20:51:45 +0000
commiteba14b4985f2c0aa7ddc1fc22fac40f66094c3a5 (patch)
tree7b1f9763f1bb30fd8549eb7dada0b5dadf29d9bd /mail/mmr
parentThe one and only argument to time(3) is a time_t*. This fixes builds on (diff)
Fix compile-time errors on -current.
Notes
Notes: svn path=/head/; revision=26054
Diffstat (limited to 'mail/mmr')
-rw-r--r--mail/mmr/files/patch-ae20
1 files changed, 20 insertions, 0 deletions
diff --git a/mail/mmr/files/patch-ae b/mail/mmr/files/patch-ae
new file mode 100644
index 000000000000..145e91067c70
--- /dev/null
+++ b/mail/mmr/files/patch-ae
@@ -0,0 +1,20 @@
+--- mailmsg.cc.orig Sat Feb 19 21:38:48 2000
++++ mailmsg.cc Sat Feb 19 21:39:24 2000
+@@ -190,7 +190,7 @@
+ continue;
+ }
+ schar =
+- ((*status == ' ') ? "R" : status);
++ ((*status == ' ') ? (char *)"R" : status);
+ *sptr = *schar;
+ NewField("Status", schar);
+ status_written = 1;
+@@ -208,7 +208,7 @@
+ char *schar;
+ sptr = new char[strlen("Status: ")+2+1];
+ strcpy(sptr, "Status: ");
+- schar = ((*status == ' ') ? "R" : status);
++ schar = ((*status == ' ') ? (char *)"R" : status);
+ strcat(sptr, schar); strcat(sptr, "\n");
+ QueueRing(ringbuf, sptr, strlen(sptr));
+ delete[] sptr;